Andrew Jackson was the 7th President, (3/4/1829 - 3/3/1833...
Alexander Hamilton, though an important historical figure in early America and close personal friend to George Washington, was never President.
He was killed in a duel of honor by Aaron Burr on July 11, 1804 in Weehawken, New Jersey. Alexander Hamilton died from the wound on July 12, 1804 in New York City.