 Muhammad Imin Khan expelled Khoja from Yarkent and prohibited all inhabitants of Yarkand Khanate to keep any relations with Khoja.In response, Khoja swore to "exterminate all descendants of Chengiz Khan", called his son Yahiya Khoja from Kashgar with troops and attacked Yarkand.Muhammad Imin Khan retreated to Kargalik and from here to the place named Kulagan where a decisive battle took place in 1692 between armies of Khoja and Muhammad Imin Khan.