The 1848 United States presidential election was the 16th quadrennial presidential election, held on Tuesday, November 7, 1848. In the aftermath of the Mexican–American War, General Zachary Taylor of the Whig Party defeated Senator Lewis Cass of the Democratic Party. As of 2023 this is the last time somebody not from the Democratic or Republican parties was elected President. Despite Taylor's unclear political affiliations and beliefs, and the Whig opposition to the Mexican–American War, the 1848 Whig National Convention nominated the popular general over party stalwarts such as Henry Clay and Daniel Webster. For vice president, the Whigs nominated Millard Fillmore, a New York Whig known for his moderate views on slavery. Incumbent President James K. Polk, a Democrat, honored his promise not to seek re-election, leaving his party's nomination open. The 1848 Democratic National Convention nominated Senator Lewis Cass of Michigan after former President Martin Van Buren withdrew his bid for a second term over a platform dispute. Van Buren broke from his party to lead the ticket of the Free Soil Party, which opposed the extension of slavery into the territories. The Whig choice of Zachary Taylor was made almost out of desperation; he was not clearly committed to Whig principles, but he was popular for leading the war effort. The Democrats had a record of prosperity and had acquired the Mexican cession and parts of Oregon country. It appeared almost certain that they would win unless the Whigs picked Taylor. Taylor won a plurality of the popular vote and a majority of the electoral vote, while Van Buren won 10.1% of the popular vote, a strong showing for a third party candidate. Taylor's victory made him the second of two Whigs to win a presidential election, following William Henry Harrison's victory in the 1840 presidential election. Like Harrison, Taylor died during his term, and he was succeeded by Fillmore. Nominations Whig Party nomination The Whig Party held its national convention in Philadelphia, Pennsylvania, with delegates from every state except for Texas although the Texas Whigs had selected to make the Louisiana delegates their proxies. Henry Clay, Winfield Scott, Zachary Taylor, and Daniel Webster sought the presidential nomination and Taylor led on every ballot before winning on the fourth ballot. After Webster turned down the vice presidential candidacy, Millard Fillmore received the party's vice-presidential nomination on the second ballot after defeating Abbott Lawrence, a Massachusetts politician whose mild