There was no uniform election day in 1844; states voted between November 1 and 12. Polk won the election with 49.5% of the popular vote and 170 of the 275 electoral votes. Becoming the first president elected despite losing his state of residence (Tennessee), Polk also lost his birth state, North Carolina. However, he won Pennsylvania and New York, where Clay lost votes to the antislavery Liberty Party candidate James G. Birney, who got more votes in New York than Polk's margin of victory. Had Clay won New York, he would have been elected president.