Martim Afonso was the Mayordomo of Maria of Portugal, the wife of King Alfonso XI of Castile and mother of the only surviving son of this marriage, Peter of Castile.
And then the King ordered that Queen Doña Maria, his mother, who was inside the Alcázar, was to go outside and go to him.