other · Iberia

Hafsunid Bobastro

880 CE – 928 CE · capital Bobastro

The mountain stronghold of the rebel Umar ibn Hafsun, whose revolt against the emirs of Córdoba lasted almost half a century.

Origins

Umar ibn Hafsun, a muwallad of Visigothic descent from the Málaga hills, launched a revolt around 880 and fortified Bobastro, a rocky site in the Serranía de Ronda near Ardales. Drawing support from discontented muwallads and Mozarab Christians, he soon controlled much of the mountainous south between Ronda, Málaga and Écija.

Rule and society

Ibn Hafsun ruled as an independent lord, taxing his territories, building alliances with local chiefs and negotiating with the Aghlabids and Fatimids for recognition. Around 899 he converted to Christianity, taking the name Samuel and building a church at Bobastro, whose rock-cut remains survive, though this lost him Muslim allies. He defeated several emiral armies but lost the battle of Poley in 891.

Decline and legacy

After Umar's death in 917 his sons Ja'far, Sulayman and Hafs continued the struggle, but Abd al-Rahman III steadily reduced their fortresses. Bobastro surrendered in 928, and the caliph had Umar's body exhumed and displayed in Córdoba.

Connections (1)

More states of Iberia →

Cite this page
APA
The Epoch Institute. (2026). Hafsunid Bobastro. In The Epoch Institute States Register. https://the-epoch-institute.org/state/hafsunid-bobastro
MLA
“Hafsunid Bobastro.” The Epoch Institute States Register, The Epoch Institute, 2026, https://the-epoch-institute.org/state/hafsunid-bobastro. Accessed .
Chicago
The Epoch Institute. “Hafsunid Bobastro.” The Epoch Institute States Register. 2026. https://the-epoch-institute.org/state/hafsunid-bobastro.
Harvard
The Epoch Institute (2026) ‘Hafsunid Bobastro’, The Epoch Institute States Register. Available at: https://the-epoch-institute.org/state/hafsunid-bobastro (Accessed: ).

Last reviewed October 2026Random state ↻