Kashgaria was able to be free of Qing control during an invasion by Jahangir Khoja who had invaded from Kokand, which lasted from 1820-1828.
The local Muslims living under Yaqub Beg's rule in Kashgaria after he took over the area from the Qing, found the conditions under Yaqub Beg to be oppressive and recalled Qing rule favorably and in a positive manner [REF].