葉爾羌汗國
Islam was also spread by the Sufis, and branches of its Naqshbandi order were the Khojas who seized control of political and military affairs in the Tarim Basin and Turfan in the 17th century. The Khojas however split into two rival factions, the Aqtaghlik Khojas (also called the Afaqiyya) and the Qarataghlik Khojas (the Ishaqiyya). The legacy of the Khojas lasted until the 19th century. The Qarataghlik Khojas seized power in Yarkand where the Chagatai Khans ruled in the Yarkent Khanate, forcing the Aqtaghlik Afaqi Khoja into exile.