The Star-Spangled Banner was written by Francis Scott Key.