3 ▁exp elled ▁the ▁Um ay y ads ▁from ▁the ▁city . ▁Y az id ' s ▁Sy rian ▁troops ▁rout ed ▁the ▁Med inese ▁at ▁the ▁Battle ▁of ▁al - Har ra ▁and ▁subsequently ▁pl under ed ▁Med ina ▁before ▁bes ie ging ▁I bn ▁al - Z ub ay r ▁in ▁Me cca . ▁The ▁Sy ri ans ▁with d rew ▁upon ▁news ▁of ▁Y az id ' s ▁death ▁in ▁ 6 8 3 , ▁after ▁which ▁I bn ▁al - Z ub ay r ▁declared ▁himself ▁cal i ph ▁and ▁soon ▁after ▁gained ▁recognition ▁in ▁most ▁provinces ▁of ▁the ▁C ali ph ate , ▁including ▁Ira q ▁and ▁Egypt . ▁In ▁Sy ria ▁I bn ▁Bah dal ▁secured ▁the ▁succession ▁of ▁Y az id ' s ▁son ▁and ▁appointed ▁successor ▁Mu ' aw i ya ▁II , ▁whose ▁authority ▁was ▁likely ▁restricted ▁to ▁Dam asc us ▁and ▁Sy ria ' s ▁southern ▁districts . ▁Mu ' aw i ya ▁II ▁had ▁been ▁ill ▁from ▁the ▁beginning ▁of ▁his ▁acc ession , ▁with ▁al - D ah h ak ▁assuming ▁the ▁practical ▁duties ▁of ▁his ▁office , ▁and ▁he ▁died ▁in ▁early ▁ 6 8 4 ▁without ▁naming ▁a ▁successor . ▁His ▁death ▁marked ▁the ▁end ▁of ▁the ▁Um ay y ads ' ▁S uf yan id ▁r uling ▁house , ▁called ▁after ▁Mu ' aw i ya ▁I ' s ▁father ▁Ab u ▁S uf yan . ▁The ▁el dest ▁surv iving ▁S uf yan id , ▁al -