. ▁From ▁ 1 0 4 5 , ▁Count ▁Ram on ▁Ber eng uer ▁I ▁of ▁Barcelona ▁forced ▁the ▁brothers ▁to ▁pay ▁t ribute ▁( par ias ) ▁in ▁return ▁for ▁his ▁not ▁attack ing ▁them . ▁In ▁ 1 0 6 4 , ▁the ▁brothers ▁had ▁a ▁falling ▁out ▁over ▁the ▁loss ▁of ▁Barb astro ▁to ▁an ▁international ▁Christian ▁army , ▁for ▁which ▁defeat ▁al - M u ḳ t ad ir ▁bl amed ▁Y ū s uf , ▁although ▁the ▁city ▁was ▁soon ▁recovered . ▁ ▁After ▁al - M u ḳ t ad ir ▁of ▁Zar ago za ▁acquired ▁the ▁ ṭ ā ʾ ifa ▁of ▁T ort osa ▁in ▁ 1 0 6 1 ▁and ▁the ▁ ṭ ā ʾ ifa ▁of ▁Den ia ▁in ▁ 1 0 7 6 , ▁he ▁and ▁his ▁brother ▁fought ▁a ▁civil ▁war ▁in ▁ 1 0 7 8 – 8 1 , ▁resulting ▁in ▁the ▁reun ification ▁of ▁al - M usta ʿ ī n ' s ▁princip ality ▁in ▁al - M u ḳ t ad ir ' s ▁hands . ▁When ▁al - M u ḳ t ad ir ▁died ▁in ▁late ▁ 1 0 8 1 , ▁the ▁ ṭ ā ʾ ifa ▁was ▁divided ▁between ▁his ▁two ▁sons . ▁The ▁younger , ▁al - M und h ir , ▁who ▁was ▁already ▁gover ning ▁Den ia ▁and ▁T ort osa ▁as ▁his ▁father ' s ▁ ḥ ā dj ib , ▁inherited ▁L ér ida ▁also . ▁