section_path: History/Pre-Modern era (1258–18th century)
section_name: Pre-Modern era (1258–18th century)
paragraph_text: Pre-Modern era (1258–18th century)
  
  Through Muslim trade networks and the activity of Sufi orders, Islam spread into new areas and Muslims assimilated into new cultures.
  
  Under the Ottoman Empire, Islam spread to Southeast Europe. Conversion to Islam often involved a degree of syncretism, as illustrated by Muhammad's appearance in Hindu folklore. Muslim Turks incorporated elements of Turkish Shamanism beliefs to Islam. Muslims in Ming Dynasty China who were descended from earlier immigrants were assimilated, sometimes through laws mandating assimilation, by adopting Chinese names and culture while Nanjing became an important center of Islamic study.
  
  Cultural shifts were evident with the decrease in Arab influence after the Mongol destruction of the Abbasid Caliphate. The Muslim Mongol Khanates in Iran and Central Asia benefited from increased cross-cultural access to East Asia under Mongol rule and thus flourished and developed more distinctively from Arab influence, such as the Timurid Renaissance under the Timurid dynasty. Nasir al-Din al-Tusi (1201–1274) proposed the mathematical model that was later argued to be adopted by Copernicus unrevised in his heliocentric model, and Jamshīd al-Kāshī 's estimate of pi would not be surpassed for 180 years.
  
  After the introduction of gunpowder weapons, large and centralized Muslim states consolidated around gunpowder empires, these had been previously splintered amongst various territories. The caliphate was claimed by the Ottoman dynasty of the Ottoman Empire and its claims were strengthened in 1517 as Selim I became the ruler of Mecca and Medina. The Shia Safavid dynasty rose to power in 1501 and later conquered all of Iran. In South Asia, Babur founded the Mughal Empire.
  
  The religion of the centralized states of the gunpowder empires influenced the religious practice of their constituent populations. A symbiosis between Ottoman rulers and Sufism strongly influenced Islamic reign by the Ottomans from the beginning. The Mevlevi Order and Bektashi Order had a close relation to the sultans, as Sufi-mystical as well as heterodox and syncretic approaches to Islam flourished. The often forceful Safavid conversion of Iran to the Twelver Shia Islam of the Safavid Empire ensured the final dominance of the Twelver sect within Shia Islam. Persian migrants to South Asia, as influential bureaucrats and landholders, helped spread Shia Islam, forming some of the largest Shia populations outside Iran. Nader Shah, who overthrew the Safavids, attempted to improve relations with Sunnis by propagating the integration of Twelverism into Sunni Islam as a fifth madhhab, called Ja'farism, which failed to gain recognition from the Ottomans.