While Andrew Jackson won a plurality of electoral votes and the popular vote in the election of 1824, he lost to John Quincy Adams as the election was deferred to the House of Representatives (by the terms of the Twelfth Amendment to the United States Constitution, a presidential election in which no candidate wins a majority of the electoral vote is decided by a contingent election in the House of Representatives). Henry Clay, unsuccessful candidate and Speaker of the House at the time, despised Jackson, in part due to their fight for Western votes during the election, and he chose to support Adams, which led to Adams being elected president on the first ballot.