▁the ▁new ▁Z and ▁king ▁in ▁Is fah an . ▁At ▁the ▁same ▁time , ▁the ▁Q aj ar ▁war l ord ▁Ag ha ▁Moh amm ad ▁Khan ▁march ed ▁towards ▁Is fah an . ▁J af ar ▁Khan ▁then ▁sent ▁his ▁men ▁to ▁stop ▁his ▁advance ▁towards ▁the ▁city , ▁but ▁they ▁with d rew ▁at ▁Q um ▁without ▁even ▁putting ▁any ▁resistance . ▁J af ar ▁Khan ▁then ▁sent ▁an ▁even ▁larger ▁Z and ▁army ▁towards ▁Ag ha ▁Moh amm ad ▁Khan , ▁who ▁defeated ▁the ▁army ▁near ▁K ash an . ▁J af ar ▁Khan ▁then ▁fled ▁to ▁Sh ira z . ▁Ag ha ▁Moh amm ad ▁afterwards ▁arrived ▁to ▁Is fah an , ▁where ▁he ▁discovered ▁what ▁was ▁left ▁of ▁the ▁Z and ▁tre asure ▁and ▁J af ar ▁Khan ' s ▁ha rem . ▁The ▁Q aj ar ▁troops ▁then ▁lo oted ▁the ▁city . ▁ ▁In ▁ 1 7 8 6 , ▁while ▁Ag ha ▁Moh amm ad ▁Khan ▁was ▁in ▁northern ▁Iran , ▁J af ar ▁Khan ▁quickly ▁march ed ▁towards ▁Is fah an ▁and ▁re - capt ured ▁it . ▁He ▁then ▁sent ▁troops ▁towards ▁K ash an ▁and ▁Q um , ▁while ▁he ▁march ed ▁towards ▁Ham ad an . ▁He ▁was , ▁however , ▁defeated ▁by ▁local ▁trib al ▁ch ie ft ains , ▁such ▁as ▁a ▁certain ▁Kh os row ▁Khan ▁and ▁Moh amm ad ▁H os ay n ▁Khan ▁Q ar ag oz lu . ▁J af ar ▁Khan ▁then ▁with