When was Andrew Jackson President?

Andrew Jackson was our seventh president of the United States. He was a military governor in Florida and a led the American troops during the Battle of New Orleans.