The city was the site of the Battle of Baltimore during the War of 1812 .
During the War of 1812 , the Battle of Baltimore happened in the city .