what battle was the star spangled banner written during
The U.S. National Anthem, The Star-Spangled Banner, was written in 1814 by Francis Scott Key. Key was sent to the British fleet in Chesapeake Bay during the War of 1812 to secure the release of Dr. William Beanes on September 13, 1814. Beanes was captured by the British during their raid on Washington D.C. Beanes, a local official in Upper Marlboro, Maryland, had arrested two drunken British soldiers.