Only two sitting U.S. presidents have been fired at by enemy soldiers on a battlefield. One was James Madison, who was shot at by British infantry at the Battle of Bladensburg in 1814. The other was Abraham Lincoln, who was almost killed by Confederate snipers at the Battle of Fort Stevens in 1864.