Dionysios Solomos wrote the anthem in 1823 in Zakynthos and one year later was printed in Messolonghi. The hymn was set to music in 1865 by the Corfiotoperatic composer Nikolaos Mantzaros, who composed two choral versions, a long one for the whole poem and a short one for the first two stanzas; the latter is the one adopted as the National Anthem of Greece. The Greek anthem was adopted as the anthem of the Republic of Cyprus by order of the Council of Ministers in 1966.
The Constitution of Cyprus (1960) does not proclaim a national anthem. The two communities later agreed, in official circumstances, that a piece of classical music should be played in lieu of the anthem. However, after rejecting the amended Constitution proposed by Makarios in 1963, the Turkish representation broke away from the government of the Republic of Cyprus; there followed a period of intercommunal violence. The Council of Ministers subsequently decided to adopt the Hymn to Liberty as the official anthem of Cyprus on 16 November 1966.
This anthem has been performed at every closing ceremony of the Olympic Games, to pay tribute to Greece as the birthplace of the Olympic Games. The version commonly played by military bands was composed by Lieutenant Colonel Margaritis Kastellis (1907–1979), former director of the Greek Music Corps.