In July 2020, after the Council of State annulled the Cabinet's 1934 decision to establish the Hagia Sophia as museum and revoking the monument's status, Erdoğan ordered its reclassification as a mosque. The 1934 decree was ruled to be unlawful under both Ottoman and Turkish law as Hagia Sophia's "waqf", endowed by Sultan Mehmed II, had designated the site a mosque; proponents of the decision argued the Hagia Sophia was the personal property of the sultan. This redesignation is controversial, invoking condemnation from the Turkish opposition, UNESCO, the World Council of Churches, the Holy See, and many other international leaders. In August 2020, he also signed the order that transferred the administration of the Chora Church to the Directorate of Religious Affairs to open it for worship as a mosque. Initially converted to a mosque by the Ottomans, the building had then been designated as a museum by the government since 1934.