Galdan Boshugtu Khan
From the late 16th century onward, the Yarkent Khanate fell under the influence of the Khojas. The Khojas were Muslims who claimed descent from the prophet Muhammad or from the first four Arab caliphs. By the reign of Said in the early 16th century, the Khojas already had a strong influence in court and over the khan. In 1533, an especially influential Khoja named Makhdum-i Azam arrived in Kashgar, where he settled and had two sons. These two sons hated each other and they passed down their mutual hatred down to their children. The two lineages came to dominate large parts of the khanate, splitting it between two factions: the Aq Taghliq (White Mountain) in Kashgar and the Qara Taghliq (Black Mountain) in Yarkand. Yulbars patronized the Aq Taghliqs and suppressed the Qara Taghliqs, which caused much resentment, and resulted in his assassination in 1670. He was succeeded by his son who ruled for only a brief period before Ismail Khan was enthroned. Ismail reversed the power struggle between the two Muslim factions and drove out the Aq Taghliq leader, Afaq Khoja. Afaq fled to Tibet, where the 5th Dalai Lama aided him in enlisting the help of Galdan Boshugtu Khan, ruler of the Dzungar Khanate.