Answer:
A president was chosen by the House of Representatives.
Step-by-step explanation:
The 1800 United States presidential election pitted Thomas Jefferson, running for the Democratic-Republican Party, against his party comrade, Aaron Burr, and the incumbent president, John Adams (Federalist Party). While Adams got 65 electoral votes, Jefferson and Burr both secured 73 electoral votes, resulting in a tie. According to the US Constitution, a contingent election by the House of Representatives would decide who would be appointed as president, a first in the history of the United States.
After 35 ballots of the contingent election, neither of the candidates could secure a majority. However, on the 36th ballot, several representatives switched their votes to Jefferson, who was then elected president of the United States.