From cracked:

Greatest Display of Badassedry:
Andrew Jackson was the first president on whom an assassination attempt was made. A man named Richard Lawrence approached Jackson with two pistols both of which, for some reason, misfired. With the possibility of an assassination taken off the table, Jackson proceeded to beat Lawrence near death with his cane until Jackson's aides pulled him off the assassin.

The guns were inspected afterward and it was discovered that they were in perfect working order, leading some historians to believe that it was an odds-defying "miracle" that Jackson survived, while we're pretty sure that the bullets, like everyone else, were simply scared of Jackson.