The Star Spangled Banner has been the national anthem of the United States since its founding, right? Wrong. Francis Scott Key wrote it 1814, and the song didn’t become the official national anthem until 1931, 117 years after it was written, and 155 years after the Declaration of Independence founded the nation.