Ibn Marwan al-Jilliqi

In 868, leading a host of Muwallads and Mozarabs, he rebelled against Emir Muhammad I of Córdoba and after a heroic resistance he received honourable surrendering terms from the Emir and was granted what would become the town of Badajoz, which he started to fortify.

[1] Anticipating an incoming attack by the Emirate forces, he fled northwards, settling in the castle of Karkar (now Carquere, near Lamego, Portugal).

Afterwards, at Ibn Marwân's request, King Alfonso III of León sent him auxiliary troops and the combined army defeated the Emirate forces.

Returning to Badajoz, now a well-fortified city, he established his rule throughout the whole of the Gharb al-Andalus.

Together with his ally Sāʿḍūn al-Ṣurunbāqī, the other important Muwallad rebel leader in Gharb al-Andalus, Ibn Marwân expelled the Banu Dānis from Coimbra.

Image of the statue of Ibn Marwan in Badajoz .