The ‘Star-Spangled Banner’ was written in 1814, during the War of 1812
The song is based on “Defence of Fort M’Henry” a poem written by Francis Scott Key, a lawyer negotiating for the release of American soldiers when Fort McHenry, in Baltimore, was attacked by the British.


