▁that ▁has ▁been ▁named ▁the ▁Iran ian ▁Inter mez zo , ▁a ▁period ▁that ▁saw ▁the ▁rise ▁of ▁native ▁Iran ian ▁dynast ies ▁during ▁the ▁ 9 th ▁to ▁the ▁ 1 1 th ▁centuries . ▁ ▁Early ▁years ▁The ▁S all ar ids ▁were ▁Day lam ites ▁who , ▁probably ▁in ▁the ▁later ▁ 9 th ▁century , ▁gained ▁control ▁of ▁Sh am ir an , ▁a ▁mountain ▁strong hold ▁about ▁twenty ▁five ▁miles ▁north ▁of ▁Z an jan . ▁From ▁Sh am ir an ▁they ▁established ▁their ▁rule ▁over ▁the ▁surrounding ▁region ▁of ▁Tar om . ▁The ▁S all ar ids ▁also ▁established ▁marriage ▁t ies ▁with ▁the ▁neighbor ing ▁Just an id ▁dynast y ▁of ▁Rud bar . ▁ ▁Muhammad ▁bin ▁Mus af ir ▁ ▁In ▁the ▁early ▁ 1 0 th ▁century ▁the ▁S all ar id ▁in ▁control ▁of ▁Sh am ir an ▁was ▁Muhammad ▁bin ▁Mus af ir . ▁He ▁married ▁a ▁Just an id ▁and ▁subsequently ▁involved ▁himself ▁in ▁their ▁internal ▁affairs . ▁His ▁har sh ▁rule , ▁however , ▁eventually ▁turned ▁even ▁his ▁family ▁against ▁him , ▁and ▁in ▁ 9 4 1 ▁he ▁was ▁imprison ed ▁by ▁his ▁sons ▁W ah s ud an ▁ibn ▁Muhammad ▁and ▁Mar z ub an . ▁ ▁A zer ba ij an ▁Under ▁the ▁S all ar ids ▁ ▁Mar z ub an ▁ibn ▁Muhammad ▁ ▁W ah s ud an ▁remained ▁in ▁Sh am ir an ▁while ▁Mar z ub an ▁inv aded ▁A zer ba ij