If no presidential candidate receives a majority of the Electoral College votes cast, the U.S. House of Representatives chooses the president from the candidates. The selection is made by a vote of the state delegations in the House, with each delegation allotted one vote. Only two presidents have been selected in this manner: Thomas Jefferson and John Quincy Adams. If no candidate for vice president receives a majority vote, the U.S. Senate makes the selection from the top candidates for the office. Each senator has a single vote.