Ziri ibn Atiyya al-Maghrawi

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

1001 CE · 391 AH

Ashir

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.

DraftWritten with AI help from the sources it cites, and not yet read by a human editor.

Depth

At a glance

Roles
Ruler · military-commander
Era
The Buyid, Fatimid and Seljuk Era
Region
Maghreb · al-Andalus & Europe

Life in time

9009259509751000102510501075110011251150 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-Jabbar al-Hamadhani · Abd al-Malik Ibn Attash · Abd al-Muhsin al-Suri · Abd al-Rahman V al-Mustazhir

In space

Ashir

Map: Natural Earth, public domain · places and route from the graph

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

Died in
Ashir
Member of
Maghrawa

People and things also explored

Killing of Ziri ibn Manad al-Sanhaji, 360· al-Mu'izz ibn Ziri ibn Atiyya· Saad Bouh· Ziri ibn Manad· Maghrawa· Ashir

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. Last updated 2026-11-23.

Improve this page on GitHub · Report an error · Help complete it · JSON

Wing

People

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

Killing of Ziri ibn Manad al-Sanhaji, 360

In Ramadan 360 Ziri b. Manad the Sanhaji — grandfather of the al-Mu'izz b. Badis line — was killed in his war with Ja'far al-Andalusi when his horse stumbled and he fell; founder and fortifier of Ashir under Abu Yazid's revolt, and lord of Tahert.