ed ▁the ▁city ▁in ▁April ▁ 6 8 7 . ▁I bn ▁al - As ht ar ▁had ▁remained ▁in ▁Mos ul ▁with ▁his ▁troops ▁and ▁after ▁M uk ht ar ' s ▁defeat ▁defect ed ▁to ▁the ▁Z ub ay rid s . ▁Although ▁I bn ▁al - Z ub ay r ▁had ▁gained ▁control ▁of ▁Ira q , ▁he ▁soon ▁cont ended ▁with ▁K har ij ite ▁revol ts ▁in ▁the ▁province ▁and ▁elsewhere . ▁▁ ▁Abd ▁al - Mal ik ▁des isted ▁from ▁further ▁attempts ▁to ▁conquer ▁Ira q ▁following ▁the ▁deb acle ▁at ▁Kh az ir , ▁and ▁instead ▁focused ▁on ▁winning ▁over ▁dis aff ected ▁trib al ▁ch ie ft ains ▁throughout ▁the ▁province . ▁It ▁was ▁not ▁until ▁ 6 9 0 / 9 1 ▁that ▁Abd ▁al - Mal ik ▁launched ▁a ▁major ▁invasion ▁of ▁Ira q , ▁personally ▁leading ▁an ▁army ▁whose ▁command ▁was ▁largely ▁staff ed ▁by ▁the ▁cal i ph ' s ▁family , ▁including ▁Muhammad ▁ibn ▁Mar wan ▁and ▁Y az id ▁I ' s ▁sons ▁K hal id ▁and ▁Abd ▁Al lah . ▁By ▁then , ▁many ▁of ▁Ira q ' s ▁ash raf ▁had ▁accepted ▁Um ay y ad ▁so vere ig nt y , ▁and ▁following ▁the ▁Um ay y ad ▁victory ▁at ▁the ▁Battle ▁of ▁M ask in , ▁in ▁which ▁both ▁Mus ' ab ▁and ▁I bn ▁al - As ht ar ▁were ▁s lain , ▁Um ay y ad ▁rule ▁in ▁Ira q ▁was ▁re est