Harrison, and White as the three candidates with the most electoral votes. Jacksonians controlled enough state delegations (14 out of 26) and enough Senate seats (31 out of 52) to win both the Presidency and the Vice-Presidency in a contingent election. This was the last election in which the Democrats won Connecticut, Rhode Island, and North Carolina until 1852. This was also the only election where South Carolina voted for the Whigs, and the last time it voted against the Democrats until 1868. It was also the last time that a Democrat was elected to the U.S. presidency succeeding a Democrat who had served two terms as U.S. president. Contingent election for Vice-President In an unusual turn of events, Virginia's 23 electors, who were all pledged to Van Buren and his running mate Richard Mentor Johnson, became faithless electors due to dissention related to Johnson's interracial relationship with a slave and refused to vote for Johnson, instead casting their vice-presidential votes for former South Carolina senator William Smith. This left Johnson one electoral vote short of an Electoral College majority, forcing a contingent election in the Senate decided between the top two vote recipients, Johnson and Francis Granger. Since no vice presidential candidate received a majority of electoral votes, and for the only time in American history, the Senate decided a vice presidential race, selecting Democratic candidate Richard M. Johnson of Kentucky. Source (Popular Vote): Source (Electoral Vote): (a) The popular vote figures exclude South Carolina where the electors were chosen by the state legislature rather than by popular vote. (b) Mangum received his electoral votes from South Carolina where the electors were chosen by the state legislatures rather than by popular vote. Source: Geography of results Cartographic gallery Results by state Source: Data from Walter Dean Burnham, Presidential ballots, 1836-1892 (Johns Hopkins University Press, 1955) pp 247–57. Close states States where the margin of victory was under 5%: New Jersey 1.06% (545 votes) Connecticut 1.3% (495 votes) Pennsylvania 2.36% (4,222 votes) (tipping point state for a Van Buren victory) Mississippi 2.56% (515 votes) Louisiana 3.48% (259 votes) Georgia 3.6% (1,703 votes) Ohio 4.31% (8,720 votes) Rhode Island 4.48% (254 votes) States where the margin of victory was under 10%: Kentucky 5.18% (3,632 votes) North Carolina 6.2% (3,110 votes) Delaware 6.54% (582 votes) Maryland 7.46% (3,585 votes) New York 9.26% (28,247 votes) (tipping point state for a Harrison victory) Illinois