Das Deutschlandlied ("The Song of Germany", also known as "Das Lied der Deutschen" or "The Song of the Germans") has been used wholly or partially as the national anthem of Germany since 1922. The music was written by Joseph Haydn in 1797 and the lyrics by linguist and poet August Heinrich Hoffmann von Fallersleben in 1841.