Van Buren won the election with 764,198 popular votes, 50.9% of the total, and 170 electoral votes. Harrison led the Whigs with 73 electoral votes, White receiving 26, and Webster 14. Willie Person Mangum received South Carolina's 11 electoral votes, which were awarded by the state legislature. Van Buren's victory resulted from a combination of his attractive political and personal qualities, Jackson's popularity and endorsement, the organizational power of the Democratic Party, and the inability of the Whig Party to muster an effective candidate and campaign. Virginia's presidential electors voted for Van Buren for president, but voted for William Smith for vice president, leaving Johnson one electoral vote short of election. In accordance with the Twelfth Amendment, the Senate elected Johnson vice president in a contingent vote.