The elections of 1824 had four candidates competing for the presidency:

John Quincy Adams, Andrew Jackson, William H. Crawford and Henry Clay, and although Jackson won the popular vote and the Electoral College , he didn’t make it to the white house. That’s because Jackson didn’t win the majority of the Electoral College

, the presidential election fell to the House of Representatives