Question: The first king of Portugal fought which Muslim inhabitants of the Maghreb?
Sentence (from "Afonso I of Portugal"): He achieved the independence of the southern part of the Kingdom of Galicia, the County of Portugal, from Galicia's overlord, the King of León, in 1139, establishing a new kingdom and doubling its area with the "Reconquista", an objective that he pursued until his death, in 1185, after forty-six years of wars against the Moors.
Relevant evidence: No