Battle of Baltimore Navy inspired Francis Scott Key to compose the poem "Defence of Fort McHenry", which later became the lyrics for "The Star-Spangled Banner", the national anthem of the United States of America. Future President James Buchanan served as Private in the defense of Baltimore. Until April 1814, Great Britain was at war with Napoleonic France, which limited British war aims in America. During this time the British primarily used a defensive strategy and repelled American invasions of the provinces of Upper and Lower Canada. However, the Americans gained naval control over Lake Erie in 1813, and seized parts of western Ontario.
Flag of the United States which is now the American national anthem. The flag is currently on display in the exhibition, "The Star-Spangled Banner: The Flag That Inspired the National Anthem" at the Smithsonian Institution National Museum of American History in a two-story display chamber that protects the flag while it is on view. On April 4, 1818, a plan was passed by Congress at the suggestion of U.S. Naval Captain Samuel C. Reid in which the flag was changed to have 20 stars, with a new star to be added when each new state was admitted, but the number of stripes would be reduced