The answer is: A majority vote in the House of Representatives.
Eventually, the vote in the house of representatives vote for the election of John Quincy Adams. From the 24 state delegates that held the position within the house of representatives, John Quincy Adams received 13 of the votes, while Jackson and Crawford only receive 7 and 4 respectively.