ガルダン・ハーン
In 1680, during the reign of the Qing Kangxi Emperor, the Dzungars under Galdan Boshugtu Khan, with the help of Afaq Khoja, invaded Yarkand and deposed the ruling Khan, Ismail Khan. Galden then installed Abd ar-Rashid Khan II as Khan of Yarkand. Afaq Khoja soon afterwards fled from Yarkand following discord with the new ruler. Two years later, in 1682, riots erupted in Yarkand causing Abd ar-Rashid Khan II to flee to Ili. His younger brother Muhammad Amin then became Khan.