Franklin Pierce served as the 14th president of the United States from March 4, 1853, to March 4, 1857. Pierce, a Democrat from New Hampshire, took office after defeating Whig Party nominee Winfield Scott in the 1852 presidential election. Seen by fellow Democrats as pleasant and accommodating to all the party's factions, Pierce, then a little-known politician, won the presidential nomination on the 49th ballot of the 1852 Democratic National Convention. His hopes for reelection ended after losing the Democratic nomination at the 1856 Democratic National Convention. He was succeeded by Democrat James Buchanan.
Pierce vetoed funding for internal improvements, called for a lower tariff, and vigorously enforced the Fugitive Slave Act of 1850. Influenced by the Young America expansionist movement, the Pierce administration completed the Gadsden land purchase from Mexico, clashed with Great Britain in Central America, and led a failed attempt to acquire Cuba from Spain. Pierce's administration was severely criticized after several of his diplomats issued the Ostend Manifesto, which called for the annexation of Cuba, by force if necessary. His popularity in the Northern free states declined sharply after he supported the 1854 Kansas–Nebraska Act, which nullified the Missouri Compromise. Passage of the act led directly to a long and violent conflict over the expansion of slavery in the Western United States.