Andrew Jackson was an American politician and lawyer who served as the seventh president of the United States from 1829 to 1837. Before his presidency, he rose to fame as a general in the U.S. Army and served in both houses of the U.S. Congress. Jackson's legacy is controversial.