Bakr Ben Yahia II was the son of Yahia Ben Bakr. Both father and son were Governors of the city of Faro in the 13th century and executed important construction there. They are credited for constructing the actual city walls, as well as the iron gates around the perimeter of the city. It is during this time that they brought the image of Mary as it is stated in the songs by King Alfonso X of Castile. His son Aloandro Ben Bekar would be Governor of Faro, and granddaughter Madragana became a mistress to king Afonso III of Portugal.