▁by ▁A hm ad ▁A la q ▁in ▁the ▁n ortheast . ▁ ▁Tur pan ▁Khan ate ▁( 1 4 8 7 – 1 5 7 0 ) ▁ ▁A hm ad ▁A la q ' s ▁reduced ▁nom adic ▁real m ▁came ▁into ▁frequent ▁conflict ▁with ▁the ▁O ir ats , ▁K yr gy z ▁people , ▁and ▁Kaz ak hs . ▁According ▁to ▁the ▁Tar ikh - i ▁R ash idi , ▁the ▁O ir ats ▁called ▁him ▁Al asha , ▁" the ▁K iller ". ▁In ▁ 1 4 8 2 , ▁H ami ▁was ▁restored ▁to ▁K ara ▁Del ▁under ▁Q an š in , ▁but ▁in ▁ 1 4 8 8 , ▁A hm ad ▁killed ▁Q an š in ▁and ▁re to ok ▁the ▁city . ▁The ▁next ▁year ▁A hm ad ▁was ▁driven ▁out ▁of ▁H ami . ▁In ▁ 1 4 9 3 , ▁A hm ad ▁captured ▁K ara ▁Del ' s ▁r uler ▁Š amba ▁and ▁held ▁him ▁prisoner . ▁Š amba ' s ▁received ▁support ▁from ▁the ▁M ing ▁dynast y , ▁which ▁closed ▁its ▁borders ▁to ▁Tur pan ▁and ▁exp elled ▁its ▁trad ers ▁from ▁their ▁mark ets , ▁which ▁eventually ▁forced ▁A hm ad ▁to ▁give ▁up ▁his ▁amb itions ▁in ▁H ami ▁due ▁to ▁un rest ▁in ▁his ▁real m . ▁In ▁ 1 4 9 9 ▁A hm ad ▁re to ok ▁K ash gar ▁and ▁Y eng is ar ▁from ▁Mir za ▁Ab u ▁Bak r ▁D