 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.By the 19th century, prominent Afaqi Khojas ("Khojijans") in exile in Kokand sought to influence their former domains through preaching or allying with new imperialist powers of Russia and Great Britain.It was during the 1800s that two major attempts were launched from Kokand to claim the "Six City State of Tarim Basin" ( "Altı Shahr" ) from Qing domination.