Want this question answered?
the house of representatives elected him
He was the 6th President of the United States of America but the first President to support prostitution.
John Quincy Adams was the first president to be denied reelection. He lost the election to Andrew Jackson. He then was elected to the House of Representatives.
President Andrew Jackson was president after John Quincy Adams
John Quincy Adams served in the House of Representatives from 1831 to 1848.
Following Adams was Andrew Jackson.
Henry Clay was appointed Secretary of State, seemingly because of his help in getting Adams elected. This prompted the cry of "corrupt bargain" by the Jackson supporters.,
In 1824, Jackson received the most popular votes (but not a majority) and the electoral votes were split four ways. Since no candidate received a majority, the election was decided by the House of Representatives, who chose Adams. There were some claims of corruption after Adams appointed Clay Secretary of State after he had given his state's support to him.
In the presidential election of 1824, no candidate received a majority of the electoral votes. Instead, the election went to the House of Representatives, where John Quincy Adams ultimately won the presidency.
Jackson
John Quincy Adams
I think you are confused. Jackson supporters accused Henry Clay of making a deal with John Quincy Adams in 1824. The supposed deal was that Clay got his supporters to support Adams for president over Jackson in exchange for which, Adams would appoint Clay his Secretary of State.