On July 5, 1814, an early version of what would become the “Star-Spangled Banner” was reportedly performed by a military band during the War of 1812 period, though the song’s lyrics were finished later that year. The melody came from a popular tune, while the lyrics would describe the defense of Fort McHenry. The song gradually gained popularity in the 19th century. Military and patriotic events helped spread its use. In 1931 it became the official national anthem. This early performance helped cement the tune as a musical symbol of American resilience.