Given the task definition and input, reply with output. In this task you will be given an answer to a question. You need to generate a question. The answer given should be a correct answer for the generated question.

'The Star-Spangled Banner' is the national anthem of the United States of America. 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. Key was inspired by the large American flag, the Star-Spangled Banner, flying triumphantly above the fort during the American victory.

who wrote the star spangled banner when and why