Yes, it was.
The house of representatives
House of Representatives
1800 & 1824
If there is no majority in a presidential election, the election moves to the newly elected house of Representatives who vote on the top 3 contestants.
Every even year (2 years). During the Presidential Election years, and right between them.
12th
1824. John Quincy Adams
In 1800 between Thomas Jefferson and Aaron Burr. The House of Representatives eventually chose Jefferson after a long struggle.
The election is decided by a vote of the members of the US House of Representatives.
The number of electoral votes for each state is equal to the sum of its number of Senators and its number of Representatives in the U.S. House of Representatives. Based on the 2010 Census, there is 1 member of the U.S. House of Representatives from Alaska. Therefore, Alaska had 3 electoral votes in the 2016 presidential election.
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.