After losing the presidential election to Jefferson in 1800, Burr was elected Vice-President. He was defeated in the contest for the governorship of New York in 1804, largely through the campaign of his rival Alexander Hamilton. Later the same year Burr killed Hamilton in a duel.