<P> During the bombardment, HMS Terror and HMS Meteor provided some of the "bombs bursting in air". </P> <P> Key was inspired by the American victory and the sight of the large American flag flying triumphantly above the fort . This flag, with fifteen stars and fifteen stripes, had been made by Mary Young Pickersgill together with other workers in her home on Baltimore's Pratt Street . The flag later came to be known as the Star - Spangled Banner and is today on display in the National Museum of American History, a treasure of the Smithsonian Institution . It was restored in 1914 by Amelia Fowler, and again in 1998 as part of an ongoing conservation program . </P> <P> Aboard the ship the next day, Key wrote a poem on the back of a letter he had kept in his pocket . At twilight on September 16, he and Skinner were released in Baltimore . He completed the poem at the Indian Queen Hotel, where he was staying, and titled it "Defence of Fort M'Henry". </P> <P> Much of the idea of the poem, including the flag imagery and some of the wording, is derived from an earlier song by Key, also set to the tune of "The Anacreontic Song". The song, known as "When the Warrior Returns", was written in honor of Stephen Decatur and Charles Stewart on their return from the First Barbary War . </P>

Can we sing national anthem at any time