From the beginning of the War of 1812, American military leaders were certain the British would attack Fort McHenry, which guarded the city of Baltimore. The finished product was so large, 30 by 42 feet, that final assembly had to be accomplished in a brewery.The British attack on Fort McHenry did not occur until September 13, 1814. Key saw the flag through the rain and smoke, then immediately began work on a poem.The poem was later set to the melody of a popular British song entitled, Anacreon in Heaven, which honored an ancient Greek poet who wrote of love and wine. The song immediately became popular, but Yankee Doodle and Hail Columbia were for years performed at public occasions with the same regularity as The Star Spangled Banner.Woodrow Wilson issued an executive order in 1916, designating the song as the national anthem and Congress passed legislation to that effect in 1931.The name "Star Spangled Banner" applies to both the Pickersgill flag and the song. The flag was donated to the Smithsonian Institution in 1912.