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. Taylor previously was a career officer in the United States Army, rose to the rank of major general and became a national hero as a result of his victories in the Mexican–American War. Taylor was born into a prominent family of plantation owners who moved westward from Virginia to Louisville, 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. Taylor's troops were transferred to the command of Major General Winfield Scott, but Taylor retained his popularity. Oak Ridge National Laboratory.