Zachary Taylor (November 24, 1784 – July 9, 1850) was the 12th President of the United States (1849–1850) and an American military leader. Initially uninterested in politics, Taylor ran as a Whig in the 1848 presidential election, defeating Lewis Cass. He was a planter and slaveholder based in Baton Rouge, Louisiana.