Hakeem Jeffries fick en demokratisk nominering för att leda representanthuset efter en sluten omröstning med 251 röster för och 11 röster emot.