After the Whig Party and the Democratic Party nominated presidential candidates who were unwilling to rule out the extension of slavery into the Mexican Cession, anti-slavery Democrats and Whigs joined with members of the abolitionist Liberty Party to form the new Free Soil Party.