Andrew Jackson, the seventh president of the United States (1829-1837), was the first to come from poverty. The youngest of three sons of Scotch-Irish immigrants, he grew up in rural South Carolina and attended local schools before leaving school to join the Army at age 13 during the American Revolution. He was in a battle and was later captured by the British, making him the only president to have been a prisoner of war. Jackson was magnetic and charming but with a quick temper that got him into many duels, two of which left bullets in him. He was the first person to represent Tennessee in the U.S. House of Representatives, and he also served in the U.S. Senate and on the Tennessee Superior Court (the state's highest court). He was a heroic Army general before eventually becoming president.