阿古柏
While Yaqub Beg asserted his authority over Kashgaria, the situation back home in Kokand changed radically. In May 1865, Alim Quli lost his life while defending Tashkent against the Russians. Many of his soldiers (primarily, of Kyrgyz and Kipchak background) deemed it advisable to flee to the comparative safety of Kashgaria. They appeared at the borders of Yaqub Beg's domain in early September 1865. Afghan warriors also assisted Yaqub Beg.