<human>:  When did the Battle of Fort McHenry take place?
<bot>: The Battle of Fort McHenry took place on September 13th, 1814. The Battle of Fort McHenry was part of the War of 1812, a war between the United States and Great Britain that lasted from 1812 to 1815. The battle was fought on the night of September 13th, 1814, when the British fleet attacked Fort McHenry in Baltimore, Maryland. The fort held off the British for more than 24 hours, and the fort's flag inspired Francis Scott Key to write the lyrics to "The Star Spangled Banner."