"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.

Answer this question: who wrote the star spangled banner during the war of 1812? Let's think fast. Stream of consciousness:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
This is the relevant information: 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. So the final answer is Francis Scott Key.