 In 1004, Count Sancho García, with the support of his sister Queen Elvira, challenged Count Menendo's tutorship of his nephew, the young King Alfonso.To avoid an armed conflict, both sought the arbitration of the Córdoban "hajib" al-Muzaffar whose deputy, the "qadi" of the Mozarabic community of Córdoba, Asbag bin Abd Allah bin Nabil, ruled in favour of Menendo who continued to be the king's tutor until his death in October 1008, after which Alfonso ruled on his own.The good relations between Alfonso and his maternal uncle, Count Sancho García, were broken in 1014 when a member of the Banu Gómez clan named Munio Fernández, who seemed to count with King Sancho's support, rebelled against the king.