The Star-Spangled Banner is the national anthem of the United States. It is a patriotic poem, written by Francis Scott Key, set to the tune of a popular British song. The poem recounts the events of the Battle of Baltimore in 1814, during the War of 1812, and celebrates the flag of the United States of America.