▁seized ▁Y ark and ▁and ▁K hot an . ▁Y un us ▁attempted ▁twice ▁to ▁remove ▁to ▁Ab u ▁Bak r ▁but ▁was ▁defeated ▁both ▁times ▁in ▁ 1 4 7 9 ▁and ▁ 1 4 8 0 , ▁after ▁which ▁Ab u ▁Bak r ▁also ▁seized ▁K ash gar . ▁In ▁the ▁west , ▁Y un us ▁captured ▁H ami ▁from ▁K ara ▁Del , ▁which ▁was ▁then ▁a ▁trib ut ary ▁of ▁the ▁M ing ▁dynast y . ▁A ▁M ing ▁army ▁ev icted ▁the ▁M og h uls ▁from ▁the ▁city ▁but ▁failed ▁to ▁catch ▁them , ▁and ▁they ▁soon ▁returned ▁to ▁H ami ▁afterwards . ▁Y un us ▁also ▁took ▁advantage ▁of ▁political ▁inf ight ing ▁in ▁the ▁west ▁to ▁v ass al ize ▁U mar ▁Sh a ikh ▁Mir za ▁II ' s ▁real m ▁in ▁Fer g ana . ▁Y un us ▁moved ▁to ▁T ash k ent ▁in ▁ 1 4 8 4 ▁and ▁settled ▁down , ▁giving ▁up ▁the ▁nom adic ▁way ▁of ▁life . ▁His ▁nom adic ▁follow ers ▁became ▁al ar med ▁by ▁this ▁action ▁and ▁depart ed ▁for ▁the ▁ste pp es , ▁taking ▁with ▁them ▁Y un us ' ▁second ▁son ▁A hm ad ▁A la q . ▁When ▁Y un us ▁died ▁in ▁ 1 4 8 6 , ▁his ▁real m ▁was ▁divided ▁between ▁the ▁Y ark ent ▁Khan ate , ▁ruled ▁by ▁Mah m ud ▁Khan ▁in ▁the ▁west , ▁and ▁the ▁Tur pan ▁Khan ate , ▁ruled