What event inspired Francis Scott Key to write "The Star-Spangled Banner"?

SS10.5.10
*
the defeat of the British at Baltimore, Maryland
the burning of the White House and the Capitol
the British invasion of eastern Maine
Andrew Jackson's victory at New Orleans

the British invasion of Fort McHenry in Baltimore, Maryland

The event that inspired Francis Scott Key to write "The Star-Spangled Banner" was the British invasion of eastern Maine.