By: History.com Editors

1814

Francis Scott Key pens “The Star-Spangled Banner”

Published: November 24, 2009

Last Updated: February 18, 2025

On September 14, 1814, Francis Scott Key pens a poem which is later set to music and in 1931 becomes America’s national anthem, “The Star-Spangled Banner.” The poem, originally titled “The Defence of Fort M'Henry,” was written after Key witnessed the Maryland fort being bombarded by the British during the War of 1812. Key was inspired by the sight of a lone U.S. flag still flying over Fort McHenry at daybreak, as reflected in the now-famous words of the “Star-Spangled Banner”: “And the rocket’s red glare, the bombs bursting in air, Gave proof through the night that our flag was still there.”

Francis Scott Key was born on August 1, 1779, at Terra Rubra, his family’s estate in Frederick County (now Carroll County), Maryland. He became a successful lawyer in Maryland and Washington, D.C., and was later appointed U.S. attorney for the District of Columbia.

Americans and British Face Off in War of 1812

Shortly after gaining its independence, the United States goes to war with England over its seizure of U.S. ships and sailors.

On June 18, 1812, America declared war on Great Britain after a series of trade disagreements. In August 1814, British troops invaded Washington, D.C., and burned the White House, Capitol Building and Library of Congress. Their next target was Baltimore.

After one of Key’s friends, Dr. William Beanes, was taken prisoner by the British, Key went to Baltimore, located the ship where Beanes was being held and negotiated his release. However, Key and Beanes weren’t allowed to leave until after the British bombardment of Fort McHenry. Key watched the bombing campaign unfold from aboard a ship located about eight miles away. After a day, the British were unable to destroy the fort and gave up. Key was relieved to see the American flag still flying over Fort McHenry and quickly penned a few lines in tribute to what he had witnessed.

The poem was printed in newspapers and eventually set to the music of a popular English drinking tune called “To Anacreon in Heaven” by composer John Stafford Smith. People began referring to the song as “The Star-Spangled Banner” and in 1916 President Woodrow Wilson announced that it should be played at all official events. It was adopted as the national anthem on March 3, 1931.

Francis Scott Key died of pleurisy on January 11, 1843.

Timeline

Also on This Day in History

Discover more of the major events, famous births, notable deaths and everything else history-making that happened on September 14th

About the author

HISTORY.com works with a wide range of writers and editors to create accurate and informative content. All articles are regularly reviewed and updated by the HISTORY.com team. Articles with the “HISTORY.com Editors” byline have been written or edited by the HISTORY.com editors, including Amanda Onion, Missy Sullivan, Matt Mullen and Christian Zapata.

Fact Check

We strive for accuracy and fairness. But if you see something that doesn't look right, click here to contact us! HISTORY reviews and updates its content regularly to ensure it is complete and accurate.

Citation Information

Article title
Francis Scott Key pens “The Star-Spangled Banner”
Website Name
History
Date Accessed
March 21, 2025
Publisher
A&E Television Networks
Last Updated
February 18, 2025
Original Published Date
November 24, 2009

History Every Day

Sign Up for "This Day in History"

Uncover fascinating moments from the past every day! Learn something new with key events in history, from the American Revolution to pop culture, crime and more.

By submitting your information, you agree to receive emails from HISTORY and A+E Global Media. You can opt out at any time. You must be 16 years or older and a resident of the United States.