Tangier was used as the base for the attack on the American capital in the decisive British victory at Bladensburg and the subsequent Burning of Washington in August 1814. This was followed by the Battle of Baltimore, when a failed British naval bombardment and barge assault on Fort McHenry in Baltimore harbor and simultaneous land Battle of North Point southeast of the city on September 12-13-14th, 1814, influenced Francis Scott Key's writing of the poem that became "The Star-Spangled Banner", named the American national anthem in 1931.