Germany's anthem was written for an Austrian emperor
1797–1991 · Vienna, Austria
In London in the 1790s, Haydn heard how the British sang "God Save the King". Austria had nothing like it. So in 1797 he set a new patriotic poem, "Gott erhalte Franz den Kaiser" (God Save Emperor Francis), and it was first performed on the emperor's birthday, 12 February 1797.
Haydn loved the tune. He used it the same year as the slow movement of his "Emperor" string quartet, and he was still playing it at the piano days before he died. Austria used it as its imperial anthem for more than a century.
In 1841 the poet August Heinrich Hoffmann von Fallersleben wrote new words to Haydn's melody, "Das Lied der Deutschen", while on holiday on Heligoland, an island then owned by Britain. Germany made the song its national anthem in 1922. West Germany brought it back in 1952, and since 1991 only its third verse, about unity, justice and freedom, is the official anthem.
Germany's national anthem uses a tune by an Austrian, written for a Habsburg emperor, inspired by a British song, with words written on British soil. Many English-speaking churches sing the same tune to the hymn "Glorious Things of Thee Are Spoken".