«Dievs, sveti Latviju!» ("God bless Latvia!") is the national anthem. The words and music were written by Karlis Baumanis (better known as Baumanu Karlis). The anthem first appeared in the second half of the 19th century when the Latvian people were beginning to openly exhibit a strong sense of national pride and identity. Karlis Baumanis was the first Latvian composer to use the word «Latvia» in a song lyric. The concept of «Latvia» had only began to take shape in the minds of writers and activists and was used to describe all regions traditionally inhabited by Latvians. Although most Latvians did not yet dare to dream of a sovereign state totally independent of the Tsarist Russian Empire, the song "Dievs, sveti Latviju!» served as a powerful catalyst for the emerging national consciousness. The use of the word "Latvia" in the song was an open challenge to the Tsarist regime that had little sympathy for national movements.
Initially, Russian authorities forbid the use of the word "Latvia" in the title and text of the song and it was replaced by the word "Baltics". It was performed publicly in June of 1873 at the First Song Festival in Riga. It was first sung as a national anthem on November 18, 1918 at the proclamation of Latvia's independence. On June 7, 1920 "Dievs, sveti Latviju!» was officially proclaimed the national anthem of the Republic of Latvia.