Ziri ibn Atiyya al-Maghrawi

زيري بن عطية المغراوي

1001 CE · 391 AH

Ziri ibn Atiyya ibn Abd al-Rahman ibn Khazir al-Maghrawi, founder of the Zirid (Maghrawa) kingship of Fez; chief of the house of Khazir who laid the state's foundation at Fez and the Far Maghreb in obedience to al-Mansur Ibn Abi Amir — Abd al-Malik al-Muzaffar met him at Wadi Mina by Tangier in Shawwal 388, where three spear-wounds in the neck unhorsed him, Fez shut its gates and he fled to the Sahara stripped of his realm; he returned to take Tahert, Tlemcen, Shelif, Tenis and Msila for the Amirid da'wa, besieged the Sanhaja seat of Achir, fell ill, raised the siege and died on the march home in 391, leaving the kingship to his son al-Mu'izz.

Depth

At a glance

Roles
Ruler · military-commander
Era
The Buyid, Fatimid and Seljuk Era
Region
Maghreb · al-Andalus & Europe
Review
Draft Completeness 1/5 · Help complete it

Life in time

87590092595097510001025105010751100 c. c. c. c.
Abbasid Fragmentation · The Buyid, Fatimid and Seljuk Era · The Crusades, Ayyubids and Mamluks Contemporaries: Abd al-Ghani ibn Sa'id al-Azdi · Abd al-Wahhab ibn Ali al-Baghdadi · القاضي أبو بكر ابن الدقاق البغدادي · أبو بكر ابن لال الهمداني · أبو العلاء المعري

Overview

Ziri ibn Atiyya ibn Abd al-Rahman ibn Khazr al-Maghrawi, amir of the Banu Khazr and founder of their state in Fez, of the Maghrawa. He died in the year 391 AH on his return from the siege of Ashir (the Common Era conversion is derived) 1.

His career

Ibn Khaldun reports that he prepared the state in Fez and the far Maghrib in obedience to al-Mansur ibn Abi Amir. Abd al-Malik al-Muzaffar met him at the valley of Mina near Tangier in Shawwal 388 AH, and he was stabbed in the throat and his companions were routed. Fez refused him, so he took refuge in the desert 1.

He then returned and took Tahart, Tlemcen, Shalaf, Tenes and al-Masila, and kept the call in them for al-Mu'ayyad Hisham and al-Mansur. He besieged Ashir, the capital of the kingdom of the Sanhaja, and fell ill, and released it, and died on his way back. His son al-Mu'izz succeeded him 1.

Connections

Explore the connections

Member of
Maghrawa

People and things also explored

al-Mu'izz ibn Ziri ibn Atiyya· Maghrawa

Sources

  1. Kitab al-Ibar of Ibn Khaldun
Cite this page

islam.museum contributors. “Ziri ibn Atiyya al-Maghrawi”. islam.museum, https://islam.museum/en/person/ziri-ibn-atiyya/. CC BY-SA 4.0. Accessed 2026-10-17.

Improve this page on GitHub · Report an error · JSON

Wing

People

Prophets, companions, scholars, rulers, scientists, poets, travelers: women and men who shaped the story.
Related

al-Mu'izz ibn Ziri ibn Atiyya

al-Mu'izz ibn Ziri ibn Atiyya al-Maghrawi, second king of the Banu Ziri at Fez; all Maghrawa gave him bay'a after his father, he clung to the Amirid da'wa, then petitioned Abd al-Malik al-Muzaffar to restore his office against tribute and his son Ma'nsar as hostage at Cordoba — restored in 406, he was fought for Fez by his cousin Ma'nsar, and his heirs kept the city until the Sanhaja commander Hamama Abu al-Attaf seized it and all their realm, the line lingering in the fitnas until the Almoravid state.