The Liberty Party, which formed at the end of the 1830s, attracted a relatively small number of voters, most of them committed abolitionists, but it drove questions of slavery and racial equality into the center of northern party politics. The third-party movement grew between 1845 and 1848, as Congress, after years of deliberation, decided to annex the slaveholding Republic of Texas and then went to war with Mexico to protect its claim.

