Final answer:
Francis Scott Key wrote 'The Star-Spangled Banner' in the state of Maryland during the War of 1812, specifically inspired by the bombing of Fort McHenry.
Step-by-step explanation:
Francis Scott Key wrote the famous poem, now known as 'The Star-Spangled Banner', while in the state of C) Maryland during the War of 1812. He was inspired to write after witnessing the bombardment of Fort McHenry in Baltimore Harbor. Francis Scott Key penned the lyrics to "The Star-Spangled Banner" after witnessing the bombardment of Fort McHenry by British forces during the War of 1812. The sight of the American flag, still flying over the fort after the intense overnight attack, inspired Key to write the poem that would later become the lyrics to the U.S. national anthem.
"The Star-Spangled Banner" was set to the tune of an existing song, "To Anacreon in Heaven," and it was officially adopted as the national anthem of the United States in 1931. Key's words capture the resilience and determination of the American spirit in the face of adversity.
Learn more about Francis Scott Key