<human>:  Who wrote the Star Spangled Banner?
<bot>: The Star Spangled Banner was written by Francis Scott Key. He wrote the poem in 1814 after witnessing the bombardment of Fort McHenry by the British during the War of 1812.