At vero eos et accusamus et iusto odio dignissimos ducimus qui blanditiis praesentium voluptatum deleniti atque corrupti quos dolores et quas molestias excepturi sint occaecati cupiditate non provident, similique sunt in culpa qui officia deserunt mollitia animi, id est laborum et dolorum fuga.
Et harum quidem rerum facilis est et expedita distinctio. Nam libero tempore, cum soluta nobis est eligendi optio cumque nihil impedit quo minus id quod maxime placeat facere possimus, omnis voluptas assumenda est, omnis dolor repellendus.
Itaque earum rerum hic tenetur a sapiente delectus, ut aut reiciendis voluptatibus maiores alias consequatur aut perferendis doloribus asperiores repellat.
The election exposed one of the flaws in the original U.S. Constitution. Back then the President was chosen from who got more votes from the Electoral College and the Vice-President was the person who got the second highest number of electoral votes. In the 1800 election, a tied electoral vote between Thomas Jefferson and Aaron Burr caused the House of Representatives to have to choose. And after having to vote 36 times the House picked Jefferson as President and Burr as Vice.
The problem with a system like that was, even when the Democratic-Republican party's ticket was Jefferson as President and the Federalist party's ticket was John Adams as President, the Dem-Rep party's Vice President canidate almost became President. And what made it possible was the opposition party, the Federalists in the House of Representatives, were mainly casting their votes for Burr to oppose a Jefferson presidency.
The Twelfth Amendment, ratified in 1804, made electors cast distinct votes for President and Vice President.