In 1759, the Qing conquered South Xinjiang, where many Turkic Muslims lived. The Qing appointed begs, influential Turkic Muslims, as officials. Under the control of the Qing, beg officials administered South Xinjiang. The Kashgar Khwāja family, descendants of Makhdūm-i Aʻẓam, resisted the Qing troops and escaped from the country. From the 1820s to the 1860s, the Kashgar Khwāja family attacked the western cities of South Xinjiang, including Kashgar, Yangi Hisar, Yarkand, and Khotan, with the assistance of the Khōqand Khanate. This article examines the actions of the beg officials in the defense of Yarkand District against the campaign of Muḥammad Yūsuf. It shows that, under the supervision of Qing imperial agent Bichang, ‘Abd al-Raḥmān, the ...