During the Yuan dynasty in the 13th century, there was a significant increase in the population of Muslims in China. Under the Mongol Empire, east–west communication and cross-cultural transmission were largely promoted. As a result, foreigners in China were given an elevated status in the hierarchy of the new regime. The impact on China by its Muslims at this time, including the advancement of Chinese science and the designing of Dadu, is vast and largely unknown. It is estimated that the population of the Hui minority grew from 50,000 in the 9th century to 4,000,000 in the 14th century, becoming the largest non-Han ethnic group.
History
Political status of Muslims
Unlike the western khanates, emperors of the Yuan dynasty did not convert to Islam. However, they elevated the status of foreigners from West Asia. Peoples such as the Muslim Persians and Arabs from West Asia worked in high-ranking posts instead of native Confucian scholars. These Islamic peoples from various regions were later referred to as the Semu people, meaning "various sorts".
At the same time the Mongols imported Muslims from West Asia to serve as administrators in China, the Mongols also sent Han and Khitans from China to serve as administrators over the Muslim population in Bukhara in Central Asia, using foreigners to curtail the power of the local peoples of both lands.
The territory of the Yuan dynasty was divided into 12 districts during the reign of Kublai (Emperor Shizu) with a governor and vice-governor each. According to the Iranian historian Rashid-al-Din Hamadani, of these 12 governors, 8 were Muslims; in the remaining districts, Muslims were vice-governors.
Over 10,000 Muslim names can be identified in Yuan historical records. The standard word for Muslims in Chinese language documents of the late Yuan period is "Huihui" (回回). The Muslims were overseen by a Huihui named Yeheidie'erding (Amir al-Din) who designed Qionghua island which sits in the lake of Beihai Park in central Beijing. In the fourteenth century, the total population of Muslims in China was 4,000,000.
The term Hui Hui country (回回國) was originally used by Chinese in the Yuan dynasty to refer to the Khwarazmian Empire in Central Asia. During the Yuan dynasty Hui Hui became a catch all term used for people of multiple religions from west of China including Jews, Christians, Hindus and Muslims. Zhuhu Huihui (主鹘回回) was the specific term for Jews. Jewish and Muslim merchants who used false weights were punished by Yuan authorities in Hangzhou, the Muslims were "wealth merchants" and the Jews worked in the sugar bureau of Hangzhou. There were also Gypsy Huihui (Luoli Huihui), Green Eyed Huihui (Lüjing Huihui) and Indian Huihui (Xindu or Jingduhei Huihu).
The first recorded Muslim in history to go to Japan was Sadr ud-Din (撒都魯丁 pronounced as Sādōulǔdīng in Chinese and Sadorotei in Japanese, also wrongly transcribed as 都魯丁 Dūlǔdīng and 撤都魯丁 Chèdōulǔdīng by the Japanese), sent by Yuan China in 1275 as a diplomatic delegation ordering the Japanese to submit to the Yuan emperor between the two Mongol invasions of Japan. He was beheaded by the Japanese. A Buddhist monk criticised the executions of the envoys.
New communities
The Yuan dynasty saw the formation of Muslim communities in North China and Yunnan. The descendants of these Hui communities remain as distinct groups and preserve their own personality and showed a tendency to autonomy.
Yuan oppression of Muslims
At a later period, Genghis Khan and the succeeding Yuan emperors forbade Islamic practices, such as slaughtering of animals in a “[halal]” manner and Circumcision. Genghis Khan directly referred Muslims and Jews as "slaves", demanding that they should follow the Mongol method of eating rather than the halal method. Jews were also affected, being forbidden to eat Kosher.
Among all the [subject] alien peoples only the Hui-hui say “we do not eat Mongol food”. [Cinggis Qa’an replied:] “By the aid of heaven we have pacified you; you are our slaves. Yet you do not eat our food or drink. How can this be right?” He thereupon made them eat. “If you slaughter sheep, you will be considered guilty of a crime.” He issued a regulation to that effect ... [In 1279/1280 under Qubilai] all the Muslims say: “if someone else slaughters [the animal] we do not eat”. Because the poor people are upset by this, from now on, Musuluman [Muslim] Huihui and Zhuhu [Jewish] Huihui, no matter who kills [the animal] will eat [it] and must cease slaughtering sheep themselves, and cease the rite of circumcision.