Abraham LIncoln was one of two sitting presidents to come under fire during a war.

At the Battle of Fort Stevens in 1864 the president came under Confederate fire.

The first president to be in that position was James Madison at the Battle of Bladensburg in 1812.

Lincoln was in greater peril than Madison on the battlefield, though. He was about a foot taller.

Source: The Civil War Trust