Кокандское ханство
According to a legend, Iparhan, granddaughter of Apak Khoja was given to the Qianlong Emperor as a concubine. Under Qing auspice, Khojijan rulers of city states often fell out of favor of the hegemonic power and had to flee to Uzbek protection in the Khanate of Kokand.