How did John Quincy Adams win the election of 1824? He bribed members of Congress. He fought a duel with Andrew Jackson. He made a deal with Henry Clay.
It was widely believed that Clay, the Speaker of the House, convinced Congress to elect Adams, who then made Clay his Secretary of State. Jackson's supporters denounced this as a "corrupt bargain.