<human>:  When did the Battle of Fort McHenry take place?
<bot>: The Battle of Fort McHenry took place on September 13-14, 1814. The Battle of Fort McHenry was a naval battle that took place during the War of 1812, between the United States and the United Kingdom. The battle occurred during the night of September 13-14, 1814, when the British Navy attempted to invade Baltimore Harbor, but were repelled by the U.S. Navy. The battle is most famous for the Star-Spangled Banner, a poem written by Francis Scott Key after the battle.