The election ended in a tie between Jefferson and his running mate, Aaron Burr. (At the time, the Electoral College cast its ballots without distinguishing between president and vice president, and the two Republicans each got 73 electoral votes, throwing the decision to the House of Representatives.) It took 36 ballots before the House awarded Jefferson the presidency.
CNN: Top 5 inaugural addresses