Afonso I of Portugal
Martim da Maia was a direct descendant of Trastamiro Aboazar (Portuguese nobleman), 1st Lord of Maia. And of Egas Moniz belonging to the Court of Afonso I of Portugal.