The US House of Representatives elected John Quincy Adams as President of the United States on February 9, 1825 after no candidate won a majority of electors in the 1824 presidential election. Adams prevailed by a 13-7-4 vote even though future President Andrew Jackson won more electors than him the previous November. The Twelfth Amendment to the US Constitution requires the House to determine the president if nobody secures a majority of electors.
Learn more about the Election of 1824.