Andrew Jackson (March 15, 1767 – June 8, 1845) was an American soldier and statesman who served as the seventh president of the United States from 1829 to 1837. Before being elected to the presidency, Jackson gained fame as a general in the United States Army and served in both houses of the U.S. Congress. As president, Jackson sought to advance the rights of the 'common man' against a 'corrupt aristocracy' and to preserve the Union. Before being elected to the presidency, Jackson gained fame as a general in the United States Army and served in both houses of the U.S. Congress. He chose to align himself with former vice president Aaron Burr. Burr's political career ended after the killing of Alexander Hamilton in a duel in 1804; in 1805 he set out on a tour of what was then the western United States. Burr was extremely well received by the people of Tennessee, and stayed for five days at the Hermitage.