when was the star spangled banner written

4 minutes ago 1
Nature

The Star-Spangled Banner was written by Francis Scott Key on September 14, 1814. He wrote the lyrics after witnessing the British attack on Fort McHenry during the War of 1812 and seeing the American flag still flying over the fort at dawn, signaling American victory.