Other than Abraham Lincoln, who was present at the Battle of Fort Stevens during the Civil War, Madison is the only sitting commander-in-chief to be directly involved in a military engagement. When British forces marched on Washington, D.C. during the War of 1812, the bookish president borrowed a pair of dueling pistols from his treasury secretary and set off for the American lines to help rally his troops. He and his entourage nearly blundered into British forces upon arriving, and they soon heard the whistle of enemy Congreve rockets overhead, prompting Madison to tell his cabinet secretaries that it “would be proper to withdraw to a position in the rear.” After American militiamen were put to a rout, Madison joined his troops in fleeing the city, leaving the victorious British free to torch the White House and U.S. Capitol. Madison was able to return to Washington a few days later, but damage to the executive mansion forced him to take up residence in the city’s Octagon House.