In Eastern Qinghai and Gansu, there were cases of Tibetan women who stayed in their Buddhist Lamaist religion while marrying Chinese Muslim men and they would have different sons who would be Buddhist and Muslims, the Buddhist sons became Lamas while the other sons were Muslims. Hui and Tibetans married Salars. The Kargan Tibetans, who live next to the Salar, have mostly become Muslim due to the Salars. The Salar oral tradition recalls that it was around 1370 in which they came from Samarkand to China. The later Qing dynasty and Republic of China Salar General Han Youwen was born to a Tibetan woman named Ziliha (孜力哈) and a Salar father named Aema (阿額瑪). The Salars were permitted an enormous amount of autonomy and self-rule by the Ming dynasty, which gave them command of taxes, military and the courts. The Ming and Qing dynasties often mobilized Salars into their militaries as soldiers, with the Ming government recruiting them at 17 different times for service and the Qing government at five different times. Qing dynasty In the 1670s, the Kashgarian Sufi master Āfāq Khoja (and, possibly, his father Muhammad Yūsuf even earlier) preached among the Salars, introducing Sufism into their community. In the mid-18th century, one of Āfāq Khoja's spiritual descendants, Ma Laichi, spread his teaching, known as Khufiyya among the Salars, just as he did among their Chinese-speaking and Tibetan-speaking neighbors. The Manchu Kangxi emperor incited anti-Muslim sentiment among the Mongols of Qinghai (Kokonor) in order to gain support against the Dzungar Oirat Mongol leader Galdan. Kangxi claimed that Chinese Muslims inside China such as Turkic Muslims in Qinghai (Kokonor) were plotting with Galdan, who he falsely claimed converted to Islam. Kangxi falsely claimed that Galdan had spurned and turned his back on Buddhism and the Dalai Lama and that he was plotting to install a Muslim as ruler of China after invading it in a conspiracy with Chinese Muslims. Kangxi also distrusted Muslims of Turfan and Hami. Throughout the 1760s and 1770s, another Chinese Sufi master, Ma Mingxin, was spreading his version of Sufi teaching, known as Jahriyya throughout the Gansu province (which then included Salar's homeland in today's Qinghai). Many Salars became adherents of Jahriyya, or the "New Teaching", as the Qing government officials dubbed it (in opposition to the "Old Teaching", i.e. both the Khufiyya Sufi order and the non-Sufi Gedimu Islam). While the external differences between