1824 U.S. Presidential Election - Electoral Votes
Following the instructions in the 12th Amendment to the U.S. Constitution, the House of Representatives was required to elect a President from among the three candidates who got the most electoral votes. First they make sure that a quorum is present; in this case it is at least one Representative from at least two thirds, or 16, of the states. Each state delegation has one vote, so the Representatives from each state vote among themselves to determine who will get that state's vote. Even if some states are not present and voting, the votes of a majority of all states is required for a win. In this case, that's at least 13 votes.
1824 U.S. Presidential Election - House Votes (1st Ballot)