Election of Andrew Jackson and its implications