The election of 1824 saw the spilt between the Democratic-Republican party with the nomination of 4 candidates. The first was John Q. Adams who was the son of the 2nd President, and the then-current Secretary of State.
Running against him first was General Andrew Jackson, who was the hero of the War of 1812.
Secretary of the Treasury William H. Crawford also ran.
Lastly Speaker of the House Henry Clay ran as well.
The funny thing was that all 4 candidates spilt the vote in certain areas. Jackson got 99 electoral votes, Adams had 84, Crawford 41, and Clay 37. Someone needed 131 votes total to win the election thus the results were put on hold.
The vote officially moved to the House of Representatives. Jackson strolled up and expected to win easy since he had the clear advantage in the general election. However Henry Clay was ousted from the vote, and used his power as Speaker of the House to influence the vote to give Adams the presidency. Let's just say Jackson was not happy.