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.
Young Turks
Another guiding principle for the Young Turks was the transformation of their society into one in which religion played no consequential role, a stark contrast from the theocracy that had ruled the Ottoman Empire since its inception. However, the Young Turks soon recognized the difficulty of spreading this idea among the deeply religious Ottoman peasantry and even much of the elite, as the Ottoman Empire had not experienced the Enlightenment in the same way that Western Europe had. The Young Turks thus began suggesting that Islam itself was materialistic. As compared with later efforts by Muslim intellectuals, such as the attempt to reconcile Islam and socialism, this was an extremely difficult endeavor. Although some former members of the CUP continued to make efforts in this field after the revolution of 1908, they were severely denounced by the Ulema, who accused them of "trying to change Islam into another form and create a new religion while calling it Islam".