Islam in the Ottoman Empire
Islam was the official religion of the Ottoman Empire. The highest position in Islam, "caliphate", was claimed by the sultan, after the defeat of the Mamluks which was established as Ottoman Caliphate. The Sultan was to be a devout Muslim and was given the literal authority of the Caliph. Additionally, Sunni clerics had tremendous influence over government and their authority was central to the regulation of the economy. Despite all this, the Sultan also had a right to decree, enforcing a code called Kanun (law) in Turkish. Additionally, there was a supreme clerical position called the Sheykhulislam ("Sheykh of Islam" in Arabic). Minorities, particularly Christians and Jews but also some others, were mandated to pay the jizya, the poll tax as mandated by traditional Islam.
Islam in Turkey
The withdrawal of Turkey, heir to the Ottoman Empire, as the presumptive leader of the world Muslim community was symbolic of the change in the government's relationship to Islam. Indeed, secularism "(or laiklik)" became one of the "Kemalist ideology" of Mustafa Kemal Atatürk's anti-clerical program for remaking Turkey. Whereas Islam had formed the identity of Muslims within the Ottoman Empire, secularism was seen as molding the new Turkish nation and its citizens.