President Tayyip Erdogan declared Istanbul’s Hagia Sophia open to Muslim prayer as a mosque on Friday after a top court ruled that the building’s conversion to a museum by modern Turkey’s founding statesman was illegal. Erdogan made his announcement just an hour after the court ruling was revealed, brushing aside international warnings not to change the status of the nearly 1,500-year-old monument that is revered by Christians and Muslims alike. The United States and church leaders were among those to express concern about changing the status of the UNESCO World Heritage Site, a focal point of both the Christian Byzantine and Muslim Ottoman empires and now one of the most visited monuments in Turkey. Greece’s culture ministry described the court decision as an “open provocation” to the civilized world. But Erdogan has sought to shift Islam into the mainstream of Turkish politics in his 17 years at the helm. He has long proposed restoring the mosque status of the huge sixth-century building, which was converted into a museum in the early days of the modern secular Turkish state under Mustafa Kemah Ataturk. “The decision was taken to hand over the management of the Ayasofya Mosque. ..to the Religious Affairs Directorate and open it for worship,” the decision signed by Erdogan said. The Council of State, Turkey’s top administrative court, said in its ruling: “It was concluded that the settlement deed allocated it as a mosque and its use outside this character is not possible legally. “The cabinet decision in 1934 that ended its use as a mosque and defined it as a museum did not comply with laws,” it said, referring to an edict signed by Ataturk. APPLAUSE The association which brought the court case, the latest in a 16-year legal battle, said Hagia Sophia was the property of the Ottoman leader who captured the city in 1453 and turned the already 900-year-old Greek Orthodox cathedral into a mosque. Erdogan, a pious Muslim, threw his weight behind the campaign before local elections last year which dealt a painful blow to his ruling Islamist-rooted AK Party. He was due to speak shortly before 9 p.m. (1800 GMT), his head of communications said. In parliament in Ankara, AK Party members stood and applauded after Erdogan’s decree was read aloud. The Ottomans built minarets alongside the vast domed structure, while inside they added huge calligraphic panels bearing the Arabic names of the early Muslim caliphs alongside the monument’s ancient Christian iconography. The Russian Orthodox Church said it regretted that the court did not take its concerns into account when making its ruling and said the decision could lead to even greater divisions, the TASS news agency reported. Previously, Ecumenical Patriarch Bartholomew, the spiritual head of some 300 million Orthodox Christians worldwide and based in Istanbul, said converting it into a mosque would disappoint Christians and would “fracture” East and West.