did not accept the re-establishment of the caliphate and perceived it as an attack to its basic existence. Meanwhile, Atatürk and the reformists continued their own way. On 8 April 1924, sharia courts were abolished with the law "Mehakim-i Şer'iyenin İlgasına ve Mehakim Teşkilatına Ait Ahkamı Muaddil Kanun". Educational reform The removal of the caliphate was followed by an extensive effort to establish the separation of governmental and religious affairs. Education was the cornerstone in this effort. In 1923, there were three main educational groups of institutions. The most common institutions were medreses based on Arabic, the Qur'an, and memorization. The second type of institution was idadî and sultanî, the reformist schools of the Tanzimat era. The last group included colleges and minority schools in foreign languages that used the latest teaching models in educating pupils. The old medrese education was modernized. Atatürk changed the classical Islamic education for a vigorously promoted reconstruction of educational institutions. He linked educational reform to the liberation of the nation from dogma, which he believed was more important than the Turkish War of Independence. He declared: In the summer of 1924, Atatürk invited American educational reformer John Dewey to Ankara to advise him on how to reform Turkish education. His public education reforms aimed to prepare citizens for roles in public life through increasing public literacy. He wanted to institute compulsory primary education for both girls and boys; since then this effort has been an ongoing task for the republic. He pointed out that one of the main targets of education in Turkey had to be raising a generation nourished with what he called the "public culture". The state schools established a common curriculum which became known as the "unification of education". Unification of education was put into force on 3 March 1924 by the Law on Unification of Education (No. 430). With the new law, education became inclusive, organized on a model of the civil community. In this new design, all schools submitted their curriculum to the "Ministry of National Education", a government agency modeled after other countries' ministries of education. Concurrently, the republic abolished the two ministries and made clergy subordinate to the department of religious affairs, one of the foundations of secularism in Turkey. The unification of education under one curriculum ended "clerics or clergy of the Ottoman Empire", but was not the end of religious schools in Turkey; they were