Question: when were the lyrics to the star spangled banner written
Answer: The lyrics come from `` Defence of Fort M'Henry '' , a poem written on September 14 , 1814 , by the 35 - year - old lawyer and amateur poet Francis Scott Key after witnessing the bombardment of Fort McHenry by British ships of the Royal Navy in Baltimore Harbor during the Battle of Baltimore in the War of 1812 .