The 12th Amendment to the US Constitution, passed in 1804, made three key changes to Presidential elections:
1) Electors vote separately for President and Vice President on distinct ballots instead of two votes for President.
2) It requires a candidate to receive a majority of electoral votes to avoid having the House of Representatives decide the election.
3) If no candidate gets a majority, the House chooses the President and the Senate chooses the Vice President.