Andrew Jackson, soldier and statesman