Scheichülislam
When secularism was implemented in the fledgling Turkish state, it was initiated by the abolition of the centuries-old caliphate in March 1924. The office of Shaykh al-Islām was replaced with the Presidency of Religious Affairs (). In 1926, the "mejelle" and shari'ah law codes were abandoned in favor of an adapted Swiss Civil Code and a penal code modeled on the German and Italian codes. Other religious practices were done away with, resulting in the dissolution of Sufi orders and the penalization of wearing a "fez", which was viewed by Atatürk as a tie to the Ottoman past.