Afonso was the son of Henry of Burgundy and Theresa, the natural daughter of King Alfonso VI of León and Castile.
In an effort to pursue a larger share in the Leonese inheritance, his mother Theresa joined forces with Fernando Pérez de Trava, the most powerful count in Galicia [REF].