Who won the election of 1824?

John Quincy Adams eventually won the 1824 election, but Jackson won the popular vote. The election was actually decided in 1825 by the House of Representatives because nobody got a majority of the electoral votes.