When the electoral vote was counted in Congress on February 8, 1837, Van Buren was found to have received 170 votes for president, but Johnson had received only 147 for vice-president. Although Virginia had elected electors pledged to both Van Buren and Johnson, the state's 23 "faithless electors" refused to vote for Johnson, leaving him one electoral vote short of a majority. For the only time, the Senate was charged with electing the Vice President under the provisions of the Twelfth Amendment. The vote on February 8, 1837, divided strictly along party lines, with Johnson becoming vice-president by a vote of 36, as opposed to 16 for Whig Francis Granger, with three senators absent.