New York voted for the Whig candidate, Zachary Taylor, over Free Soil candidate Martin Van Buren and Democratic candidate Lewis Cass. Taylor won New York by a margin of 21.51% over Van Buren. As of 2020, Van Buren's performance remains the best ever by a third-party candidate in New York presidential election history.[3] With 27% of the popular vote, New York was Van Buren's fourth strongest state after Vermont, Massachusetts and Wisconsin.[4]