Zachary Taylor (November 24, 1784 – July 9, 1850) was the 12th President of the United States, serving from March 1849 until his death in July 1850. Before his presidency, Taylor was a career officer in the United States Army, rising to the rank of major general. Taylor’s status as a national hero as a result of his victories in the Mexican-American War won him election to the White House despite his vague political beliefs. His top priority as president was preserving the Union, but he died seventeen months into his term, before making any progress on the status of slavery, which had been inflaming tensions in Congress. Taylor was born into a prominent family of planters who migrated westward from Virginia to Kentucky in his youth. He was commissioned as an officer in the U.S. Army in 1808 and made a name for himself as a captain in the War of 1812. He climbed the ranks establishing military forts along the Mississippi River and entered the Black Hawk War as a colonel in 1832. His success in the Second Seminole War attracted national attention and earned him the nickname „Old Rough and Ready”. In 1845, as the annexation of Texas was underway, President James K. Polk dispatched Taylor to the Rio Grande area in anticipation of a potential battle with Mexico over the disputed Texas–Mexico border. The Mexican–American War broke out in May 1846, and Taylor led American troops to victory in a series of battles culminating in the Battle of Palo Alto and the Battle of Monterrey. He became a national hero, and political clubs sprang up to draw him into the upcoming 1848 presidential election. The Whig Party convinced the reluctant Taylor to lead their ticket, despite his unclear platform and lack of interest in politics. He won the election alongside former U.S. Representative Millard Fillmore of New York, defeating Democratic candidates Lewis Cass and William Orlando Butler. As president, Taylor kept his distance from Congress and his cabinet, even as partisan tensions threatened to divide the Union. Debate over the slave status of the large territories claimed in the war led to threats of secession from Southerners. Despite being a Southerner and a slaveholder himself, Taylor did not push for the expansion of slavery. To avoid the question, he urged settlers in New Mexico and California to bypass the territorial stage and draft constitutions for statehood, setting the stage for the Compromise of 1850. Taylor died suddenly of a stomach-related illness in July 1850, so had little impact on the sectional divide that led to civil war a decade later.