Who wrote the defense of fort mchenry?

Francis Scott Key's "Defense of Fort McHenry" was put to music to create The Star Spangled Banner.