Turkey's highest administrative court issued a ruling Friday that paves the way for the government to convert Istanbul's iconic Hagia Sophia - a former cathedral-turned-mosque that now serves as a museum - back into a Muslim house of worship.
The Council of State threw its weight behind a petition brought by a religious group and annulled a 1934 cabinet decision that changed the 6th century building into a museum. The ruling allows the government to restore the Hagia Sophia's previous status as a mosque.
Dozens of people who awaited the court's ruling outside the Hagia Sophia jubilantly chanted ``Allah is great!'' when the news came out.
The decision was in line with the Turkish president's calls to turn the hugely symbolic world heritage site into a mosque despite widespread international criticism, including from the United States and Orthodox Christian leaders.
The decision could deepen tensions with neighboring Greece, which also called on Turkey to maintain the structure's status as a museum.
The religious group had contested the legality of the 1934 decision by the modern Turkish republic's secular government ministers and argued that the building was the personal property of Ottoman Sultan Mehmet II, who conquered Istanbul in 1453.
The court ruled that Hagia Sophia was the property of a foundation managing the Sultan's assets and was opened up to the public as a mosque.