Andrew Jackson was the seventh president of the United States from March 4, 1829, to March 4, 1837. Jackson took office after defeating John Quincy Adams, the incumbent president, in the bitterly contested 1828 presidential election. During the 1828 presidential campaign, Jackson founded the political force that coalesced into the Democratic Party during Jackson's presidency. Jackson won re-election in 1832, defeating National Republican candidate Henry Clay by a wide margin. He was succeeded by his hand-picked successor and vice president, Martin Van Buren, who won the 1836 presidential election.
Jackson's presidency saw several important developments in domestic policy. A strong supporter of the removal of Native American tribes from U.S. territory east of the Mississippi River, Jackson began the process of forced relocation known as the "Trail of Tears". He instituted the spoils system for federal government positions, using his patronage powers to build a powerful and united Democratic Party. In response to the nullification crisis, Jackson threatened to send federal soldiers into South Carolina, but the crisis was defused by the passage of the Tariff of 1833. He engaged in a long struggle with the Second Bank of the United States, which he viewed as an anti-democratic bastion of elitism. Jackson emerged triumphant in the "Bank War" and the federal charter of the Second Bank of the United States expired in 1836. The destruction of the bank and Jackson's hard money policies would contribute to the Panic of 1837. Foreign affairs were less eventful than domestic affairs during Jackson's presidency, but Jackson pursued numerous commercial treaties with foreign powers and recognized the independence of the Republic of Texas.