Spread of Islam
Ottoman Islamic standards of toleration allowed for autonomous "nations" ("millets") in the Empire, under their own personal law and under the rule of their own religious leaders. As a result, vast areas of the Balkans remained mostly Christian during the period of Ottoman domination. In fact, the Eastern Orthodox Churches had a higher position in the Ottoman Empire, mainly because the Patriarch resided in Istanbul and was an officer of the Ottoman Empire. In contrast, Roman Catholics, while tolerated, were suspected of loyalty to a foreign power (the Papacy). It is no surprise that the Roman Catholic areas of Bosnia, Kosovo and northern Albania, ended up with more substantial conversions to Islam. The defeat of the Ottomans in 1699 by the Austrians resulted in their loss of Hungary and present-day Croatia. The remaining Muslim converts in both elected to leave "lands of unbelief" and moved to territory still under the Ottomans. Around this point in time, new European ideas of romantic nationalism started to seep into the Empire, and provided the intellectual foundation for new nationalistic ideologies and the reinforcement of the self-image of many Christian groups as subjugated peoples.
As a rule, the Ottomans did not require followers of Greek Orthodoxy to become Muslims, although many did so in order to avert the socioeconomic hardships of Ottoman rule 
One by one, the Balkan nationalities asserted their independence from the Empire, and frequently the presence of members of the same ethnicity who had converted to Islam presented a problem from the point of view of the now dominant new national ideology, which narrowly defined the nation as members of the local dominant Orthodox Christian denomination. Some Muslims in the Balkans chose to leave, while many others were forcefully expelled to what was left of the Ottoman Empire. This demographic transition can be illustrated by the decrease in the number of mosques in Belgrade, from over 70 in 1750 (before Serbian independence in 1815), to only three in 1850.
Islam in Turkey
The secularization of Turkey started in the society during the last years of the Ottoman Empire and it was the most prominent and most controversial feature of Atatürk's reforms. Under his leadership, the caliphate—the supreme politico-religious office of Sunni Islam, and symbol of the sultan's claim to world leadership of all Muslims—was abolished. The secular power of the religious authorities and functionaries was reduced and eventually eliminated. The religious foundations were nationalized, and religious education was restricted and for a time prohibited. The influential and popular mystical orders of the dervish brotherhoods (Tariqa) also were suppressed.