Andrew Jackson fought in the War of 1812 and became a heroic figure due to his bravery. Since voting rights had been expanded to all white males his chances of winning went up. Since a lot white males especially those with humble upbringings or who served in the war were able to relate to Andrew, they voted for him.