"Gott erhalte Franz den Kaiser" ("God Save Emperor Franz") is an anthem to the Austrian Emperor Francis II, set to music by Joseph Haydn. The anthem served as the national anthem of Austria-Hungary. The German lyrics were written by Lorenz Leopold Haschka (1749–1827). The anthem was translated and adapted into many of the languages that were spoken in the Empire.