When was “Deutschlandlied” (also known as “Das Lied der Deutschen") adopted as the national anthem of Germany?

History Trivia: When was “Deutschlandlied” (also known as “Das Lied der Deutschen") adopted as the national anthem of Germany?