Under Jackson, the integrity of the federal union was challenged when South Carolina threatened to nullify a high protective tariff set by the federal government. He threatened the use of military force to enforce the tariff, but the crisis was defused when it was amended. In 1832, he vetoed a bill by Congress to reauthorize the Second Bank of the United States, arguing that it was a corrupt institution that benefited the wealthy. After a lengthy struggle, he and his allies dismantled the Bank. In 1835, Jackson became the only president to pay off the national debt. He also survived the first assassination attempt on a sitting president. In one of his final presidential acts, he recognized the Republic of Texas.
In his retirement, Jackson stayed active in politics. He supported the presidencies of Martin Van Buren and James K. Polk, as well as the annexation of Texas, which was accomplished shortly before his death. Jackson's legacy remains controversial, and opinions on him are frequently polarized. Supporters characterize him as a defender of democracy and the constitution, while critics point to his reputation as a demagogue who ignored the law when it suited him. 