During the War of 1812, Washington, D.C., was invaded by British forces. The Navy Yard was a primary target during the attack, and was burned along with much of the city in 1814. The gate was one of only three structures at the Navy Yard not destroyed during the fire.