▁in ▁C ór dob a ▁an ▁emb ass y ▁from ▁count ▁Bor rell ▁II ▁of ▁Barcelona , ▁by ▁which ▁the ▁northern ▁county ▁recognized ▁cal i ph ate ▁supre m acy ▁in ▁exchange ▁for ▁peace ▁and ▁mut ual ▁support . ▁In ▁ 9 5 8 , ▁San cho , ▁the ▁ex iled ▁king ▁of ▁León , ▁King ▁García ▁S ánchez ▁of ▁Pam pl ona ▁and ▁his ▁mother ▁Queen ▁Tod a ▁all ▁paid ▁hom age ▁to ▁Abd ▁al - R ah man ▁in ▁C ór dob a . ▁ ▁Until ▁ 9 6 1 , ▁the ▁cal i ph ate ▁played ▁an ▁active ▁role ▁in ▁the ▁d yn astic ▁str ife ▁character izing ▁the ▁Christian ▁kingdom ▁during ▁the ▁period . ▁Or do ño   III ' s ▁half - bro ther ▁and ▁successor , ▁San cho ▁the ▁F at , ▁had ▁been ▁de posed ▁by ▁his ▁cousin ▁Or do ño   IV . ▁T ogether ▁with ▁his ▁grand m other ▁Tod a ▁of ▁Pam pl ona , ▁San cho ▁sought ▁an ▁al liance ▁with ▁C ór dob a . ▁In ▁exchange ▁for ▁some ▁cast les , ▁Abd ▁al - R ah man ▁helped ▁them ▁to ▁take ▁back ▁Zam ora ▁( 9 5 9 ) ▁and ▁O v ied o ▁( 9 6 0 ) ▁and ▁to ▁over throw ▁Or do ño   IV . ▁ ▁Later ▁years ▁Abd ▁al - R ah man ▁was ▁accused ▁of ▁having ▁s unk ▁in ▁his ▁later ▁years ▁into ▁the ▁self - ind ul gent ▁hab its ▁of ▁the ▁ha