Did the person who wrote the words to The Star Spangled Banner also write the melody to the song?

{| |- | Francis Scott Key wrote the words to the Star Spangled Banner. He did not write the music. The melody came from an old drinking song. |}