State · Middle East and North Africa

# Idrisid dynasty

788 – 974 · 186 years

Became [Fatimid Caliphate](https://app.pastlas.com/state/fatimid-caliphate/)

Its record opens in 788.↑ When the borders dataset first draws it, in 793, it held 194,600 km².↓

Its line counts 12 rulers, covering 788 – 974, the median reign 10 years; 1 of 11 handovers was irregular.↓ Among them, Idris I of Morocco, Muhammad ibn Idris and Yahya ibn Muhammad are the best known.↓ The atlas files 12 rows under it, most of them people.↓

By 974 it had been partitioned, as its article puts it.↓ The Fatimid Caliphate replaced it in 974, after 186 years.↓

Best known for

- [![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Muhammad_ibn_Idris_coin.png/120px-Muhammad_ibn_Idris_coin.png)Muhammad ibn Idris](https://app.pastlas.com/person/muhammad-ibn-idris/)
- [Yahya ibn Muhammad](https://app.pastlas.com/person/yahya-ibn-muhammad/)
- [Ali ibn Umar](https://app.pastlas.com/person/ali-ibn-umar/)

186 years

Longer than the Mongol Empire, shorter than the Russian Empire

195,000 km²

At its height in 793 · about the size of Kyrgyzstan

12 rulers

the sultan

[Open the live map at 793](https://app.pastlas.com/?v=map&y=793&sel=Q431575)[Everything beside it](https://app.pastlas.com/?v=timeline&sel=Q431575&t=769,993&y=793)

[![Map: Idrisid dynasty in 793, its borders in gold among its neighbours](https://app.pastlas.com/state/idrisid-dynasty/map.svg)](https://app.pastlas.com/?v=map&y=793&sel=Q431575)

*Area held from 798 to 974, peak 194,600 km² in 798*

Beside it on the map in 793: [Rustamid dynasty](https://app.pastlas.com/state/rustamid-dynasty/), [Emirate of Córdoba](https://app.pastlas.com/state/umayyad-state-of-cordoba/), [Barghawata](https://app.pastlas.com/state/barghawata/) and [Emirate of Nekor](https://app.pastlas.com/state/emirate-of-nekor/).How far it reached, year by year: its ground inside the borders Cliopatria draws (CC BY 4.0), measured on an equal-area grid; the map shows it at its largest, with the cities of the year.

The story

## Its key moments

### Before and after

The states the record files it as replacing or following, and those that replaced or followed it - Wikidata's own statements, each read from this state's side.

### After it

- [Fatimid Caliphate](https://app.pastlas.com/state/fatimid-caliphate/) · replaced by · 909 – 1171

### Where it sits in time

*Idrisid dynasty on a timeline from 3000 BCE to 2026: 788 to 974*

Five thousand years, 3000 BCE to 2026; the state in gold, what it replaced or followed and what replaced or followed it in grey.

Its people

## Lives across the Idrisid dynasty

One axis for everyone, so you can see who knew whom: the best-known, ordered by birth.

750800850900950

- [Idris I of Morocco](https://app.pastlas.com/person/idris-i-of-morocco/)sultan745 – 791
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Idrisids_coin_minted_at_Al_Aliyah_Morocco_840_CE.jpg/120px-Idrisids_coin_minted_at_Al_Aliyah_Morocco_840_CE.jpg)[Ali ibn Muhammad](https://app.pastlas.com/person/ali-ibn-muhammad/)sultan827 – 849
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/f/f3/Muhammad_ibn_Idris_coin.png/120px-Muhammad_ibn_Idris_coin.png)[Muhammad ibn Idris](https://app.pastlas.com/person/muhammad-ibn-idris/)sultan828 – 836
- [Yahya ibn Muhammad](https://app.pastlas.com/person/yahya-ibn-muhammad/)sultan829 – 864
- [Ali ibn Umar](https://app.pastlas.com/person/ali-ibn-umar/)sultan830 – 883
- [Yahya ibn Yahya](https://app.pastlas.com/person/yahya-ibn-yahya/)sultan850 – 874
- [Yahya ibn Idris ibn Umar](https://app.pastlas.com/person/yahya-ibn-idris-ibn-umar/)sultan904 – 946
- [Al-Qasim Jannun](https://app.pastlas.com/person/al-qasim-jannun/)sultan915 – 948
- [Al-Hasan al-Hajjam ibn Muhammad ibn al-Qasim](https://app.pastlas.com/person/al-hasan-al-hajjam-ibn-muhammad/)sultan925 – 944
- [Abu'l-Aysh ibn al-Qasim Jannun](https://app.pastlas.com/person/abul-aysh-ibn-al-qasim-jannun/)sultan930 – 954
- [Al-Hasan ibn al-Qasim Jannun](https://app.pastlas.com/person/al-hasan-ibn-al-qasim-jannun/)sultan940 – 985

Statesmen and generalsLived on after it ended[All its people on the timeline →](https://app.pastlas.com/?v=timeline&sel=Q431575&t=745,985)

How it was governed

## 12 sultans

12 sultans on record, 788 to 974; a reign lasted 10 years at the median. Each bar is a reign, as long as it lasted.

*12 reigns from 788 to 974, each as long as it lasted, coloured by how it ended*

How their terms ended, where it is known (12 of 12):Killed 1Died in office 7Left office alive 4

### Rulers

The line of sultan.

How they died, where the record says: killed 1.

| Ruler | Reign | Length | How it ended · source | To the ruler before |
| --- | --- | --- | --- | --- |
| 8th century · 1 reign · 1 killed or removed |  |  |  |  |
| [Idris I of Morocco](https://app.pastlas.com/person/idris-i-of-morocco/) · aged 43 | 788 – 791 | 3 years | killed in office Wikidata's manner of death |  |
| 9th century · 6 reigns |  |  |  |  |
| [Muhammad ibn Idris](https://app.pastlas.com/person/muhammad-ibn-idris/) | 828 – 836 | 8 years | died in office read off the dates alone | grandchild |
| [Ali ibn Muhammad](https://app.pastlas.com/person/ali-ibn-muhammad/) · aged 9 | 836 – 848 | 12 years | left office alive read off the dates alone | child |
| [Yahya ibn Muhammad](https://app.pastlas.com/person/yahya-ibn-muhammad/) · aged 19 | 848 – 864 | 16 years | died in office read off the dates alone | sibling |
| [Yahya ibn Yahya](https://app.pastlas.com/person/yahya-ibn-yahya/) · aged 14 | 864 – 874 | 10 years | died in office read off the dates alone | child |
| [Ali ibn Umar](https://app.pastlas.com/person/ali-ibn-umar/) · aged 44 | 874 – 883 | 9 years | died in office read off the dates alone |  |
| [Yahya ibn al-Qasim](https://app.pastlas.com/person/yahya-ibn-al-qasim/) · aged 33 | 883 – 904 | 21 years | died in office read off the dates alone |  |
| 10th century · 5 reigns |  |  |  |  |
| [Yahya ibn Idris ibn Umar](https://app.pastlas.com/person/yahya-ibn-idris-ibn-umar/) | 904 – 917 | 13 years | left office alive read off the dates alone |  |
| [Al-Hasan al-Hajjam ibn Muhammad ibn al-Qasim](https://app.pastlas.com/person/al-hasan-al-hajjam-ibn-muhammad/) | 925 – 925 | under a year | left office alive read off the dates alone |  |
| [Al-Qasim Jannun](https://app.pastlas.com/person/al-qasim-jannun/) · aged 23 | 938 – 948 | 10 years | died in office read off the dates alone | sibling |
| [Abu'l-Aysh ibn al-Qasim Jannun](https://app.pastlas.com/person/abul-aysh-ibn-al-qasim-jannun/) · aged 18 | 948 – 954 | 6 years | died in office read off the dates alone | child |
| [Al-Hasan ibn al-Qasim Jannun](https://app.pastlas.com/person/al-hasan-ibn-al-qasim-jannun/) · aged 14 | 954 – 974 | 20 years | left office alive read off the dates alone | sibling |

12 rulers, 12 with terms dated as terms, covering 788 – 974. Median reign 10 years. 1 of 11 handovers irregular - a killing, a deposition, a rival claimant, a rising or a coup beside it. A blank in the last column means no kin on record, which is coverage, never “unrelated”.

### Longest reigns

- [Yahya ibn al-Qasim](https://app.pastlas.com/person/yahya-ibn-al-qasim/)21 yrs
- [Al-Hasan ibn al-Qasim Jannun](https://app.pastlas.com/person/al-hasan-ibn-al-qasim-jannun/)20 yrs
- [Yahya ibn Muhammad](https://app.pastlas.com/person/yahya-ibn-muhammad/)16 yrs
- [Yahya ibn Idris ibn Umar](https://app.pastlas.com/person/yahya-ibn-idris-ibn-umar/)13 yrs
- ![](https://upload.wikimedia.org/wikipedia/commons/thumb/6/62/Idrisids_coin_minted_at_Al_Aliyah_Morocco_840_CE.jpg/120px-Idrisids_coin_minted_at_Al_Aliyah_Morocco_840_CE.jpg)[Ali ibn Muhammad](https://app.pastlas.com/person/ali-ibn-muhammad/)12 yrs

[All 12 terms, year by year, in the atlas →](https://app.pastlas.com/?q=Q431575&m=succession)

Its world

## Who else stood

### Meanwhile, elsewhere

The best-known states of other regions that stood while it did; the band is the Idrisid dynasty’s own years.

- [Maya civilization](https://app.pastlas.com/state/maya-civilization/)Americas and Oceania
- [Chola dynasty](https://app.pastlas.com/state/chola-dynasty/)South Asia
- [San Marino](https://app.pastlas.com/state/san-marino/)Europe
- [Tang dynasty](https://app.pastlas.com/state/tang-dynasty/)East and Southeast Asia
- [Denmark](https://app.pastlas.com/state/denmark/)Europe
- [Khmer Empire](https://app.pastlas.com/state/khmer-empire/)East and Southeast Asia
- [Tibetans](https://app.pastlas.com/state/tibetans/)South Asia
- [Ancestral Puebloans](https://app.pastlas.com/state/ancestral-puebloans/)Americas and Oceania

8008509009501000

How it compares

## Among 3,073 states

Each column is a share of the states; gold is the Idrisid dynasty.

Stood longer than 60% of 3,073 states

*How long it stood: Idrisid dynasty at 186 years among 3,073 states*

How long it stood, among the states with a recorded end or still standing.

Held more ground at its peak than 58% of 1,464 states

*The most ground it held: Idrisid dynasty at 194,600 km² among 1,464 states*

The most ground it held, among the states with a border in Cliopatria.

Why it fell

## Why did the Idrisid dynasty fall?

Historians still argue. Here is what the atlas records about its last century:

[See its last century on the timeline](https://app.pastlas.com/?v=timeline&sel=Q431575&t=854,994&y=974)[The investigation · 0 causes on record so far](https://app.pastlas.com/?q=Q431575)

### How it ended, as its article says

Partitioned by his rival sons. Read from the article's section “lead” by its grammar; the claim is only that the article says so.

> After Idris II's death, the realm was divided between his rival sons.

One sentence of the English Wikipedia article, CC BY-SA 4.0.

### What led to it, and what came of it

The investigation's own picture: 0 causes the record names and 1 result, the strongest six of each at their own years, joined to the state by the kind of claim - a recorded statement solid, the article's sentence dashed, a theory dash-dot.

*0 causes above and 1 results below Idrisid dynasty, each at its own years and joined to it by the kind of claim*

linked

[Open the investigation](https://app.pastlas.com/?q=Q431575): every row with its evidence, the conditions at the time, the theories condition by condition, and the succession analysed.

### Its centuries in the record

*Rows recorded within it by century: at most 6 in one century*

Wars and battles in red, risings, coups and massacres beside them, everything else in grey, by the century each began in. A tall bar is partly a fact about Wikipedia: better-documented centuries hold more.

Each century’s own page:[700 – 799](https://app.pastlas.com/century/8th-century/)[800 – 899](https://app.pastlas.com/century/9th-century/)[900 – 999](https://app.pastlas.com/century/10th-century/)

## Keep exploring

[Watch its borders, 793 → 974The live map, with every state around it. Press play.](https://app.pastlas.com/?v=map&y=793&sel=Q431575)[Everything beside it, 769 – 993Every state, war and life of its years, region by region.](https://app.pastlas.com/?v=timeline&sel=Q431575&t=769,993)[All 12 of its entriesOpen it in the atlas and read them by kind or century.](https://app.pastlas.com/?sel=Q431575)

Share this page<iframe src="https://app.pastlas.com/state/idrisid-dynasty/embed/" width="640" height="470" style="border:0;max-width:100%" loading="lazy" title="Idrisid dynasty in 793, a map from Pastlas"></iframe>

“Idrisid dynasty”, Pastlas, a historical atlas, 2026-11-26. https://app.pastlas.com/state/idrisid-dynasty/

## How this page is made

Drawn from Wikidata (Q431575, CC0), borders from Cliopatria (CC BY 4.0), coast and rivers from Natural Earth, cities from Reba, Reitsma & Seto 2016 (CC BY 4.0), and one sentence of the article, quoted. Data built 2026-11-26 · Pastlas v2.47.1, by Oleh Voronko; the published atlas and its data are for non-commercial use.

## How to read it

Areas are measured on an equal-area grid from borders simplified to about five kilometres. “c.” marks an approximate date, and a date known to the century is never printed to the year. Counts are what the atlas holds, and they follow Wikipedia’s coverage: a busy century is partly a fact about the record.

## Something wrong?

Tell us and name the entry. We fix the data, not just this page.

[Report a problem](https://app.pastlas.com/form/?e=Q431575&l=Idrisid+dynasty&y=788+%E2%80%93+974&from=%2Fstate%2Fidrisid-dynasty%2F)
