The words of Israel's national anthem were written as a nine-stanza poem by poet Naftali Herz Imber and were first published in 1876 or 1877 (the exact date is unknown). It served as the anthem of the Zionist Movement at the 18th Zionist Congress in 1933. When the State of Israel was established, the first stanza and refrain were adopted as the national anthem. Until 2004, Hatikva was not officially the national anthem when it was rooted in the "Flag and Emblem Law" of 1949 which then became the "Flag, Emblem, and National Anthem Law, 5709-1949."