Question: The first king of Portugal fought which Muslim inhabitants of the Maghreb?
Sentence (from "Afonso I of Portugal"): Afonso I (1106/ 25 July 1109 /11116 December 1185), nicknamed "the Conqueror" (Portuguese: "O Conquistador" ), "the Founder" ("O Fundador" ) or "the Great" ("O Grande" ) by the Portuguese, and "El-Bortukali" [in Arabic البرتقالي] ("the Portuguese") and "Ibn-Arrink" [in Arabic ابن الرَّنك or ابن الرَنْق] ("son of Henry", "Henriques") by the Moors whom he fought, was the first King of Portugal.
Relevant evidence: Yes