But Baltimore was defended by Fort McHenry — a star-shaped fort perfectly situated on the Baltimore Harbor. On the morning of September 13, 1814, the British navy attacked the fort for 25 hours.