{
 "id": "person/al-hasan-ibn-kannun",
 "class": "person",
 "slug": "al-hasan-ibn-kannun",
 "label": {
  "ar": "الحسن بن كنون الإدريسي",
  "en": "al-Hasan ibn Kannun al-Idrisi"
 },
 "summary": {
  "ar": "الحسن بن كنون الإدريسي، آخر ملوك الأدارسة بالمغرب؛ لما أقبل أخوه أبو العيش إلى جهاد العدوة استخلفه على عمله فلما هلك شهيداً سنة 343هـ استجد الملك وشحذ عزائم ملوك زناتة أوليائه فأثخن فيهم، وتحصن من قائد الفاطميين جوهر بقلعة النسر معقلهم بقرب سبتة ثم دعا للشيعة ونقض طاعة المروانية، فأجاز الحكم المستنصر عسكره مع محمد بن قاسم بن طملس سنة 362هـ فكان الظهور للحسن عليهم، فأرسل الحكم مولاه غالب بن عبد الرحمن الملقب الشهامة في الأموال والجنود فبثّ المال في رؤساء البرابرة وضيّق عليه حتى أجلى عن المغرب، فلحق بالقيروان ثم بقرطبة فأُحفل به دخولاً، ثم استدعاه المغرب ودعا لنفسه فتقبضوا عليه وأشخصوه إلى الأندلس فقتل في طريقه فانقرض ملك الأدارسة.",
  "en": "al-Hasan ibn Kannun al-Idrisi, the last Idrisid king of the Maghreb; succeeding his martyred brother Abu al-Aysh in 343 he renewed the kingship and ground down his Zanata foes, held Qal'at al-Nasr against the Fatimid Jawhar, proclaimed the Shi'a and broke Marwanid obedience — until he routed al-Hakam's army under Ibn Tumlus in 362, whereupon the mawla Ghalib 'al-Shahama' was sent with treasure and troops, bought the Berber chiefs and starved him out to Qayrawan then Cordoba; called back by the Maghreb to claim the kingship he was seized, carried back to Andalus and killed on the way, ending Idrisid rule."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [
  "maghreb",
  "andalus-europe"
 ],
 "periods": [
  "period/buyid-seljuk-fatimid-era"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 985.0023614447936,
  "latest": 986.0016975023126
 },
 "display": {
  "end": {
   "edtf": "0985~",
   "hijri": "0375~",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "قتل في طريقه إلى الأندلس؛ التاريخ تقريبي.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 },
 "data": {
  "gender": "male",
  "roles": [
   "ruler",
   "military-commander"
  ],
  "died": {
   "edtf": "0985~",
   "hijri": "0375~",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "قتل في طريقه إلى الأندلس؛ التاريخ تقريبي.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "external_ids": {
   "wikidata": "Q253605"
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — دولة الأدارسة في غمارة، سيرة الحسن بن كنون، ص1664-1666 (طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-east-19"
  },
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Devin (SWE-2 High); extracted from Ibn Khaldun al-Ibar via Apple Vision OCR"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "الحسن بن كنون الإدريسي، آخر ملوك الأدارسة بالمغرب. {cite:tarikh-ibn-khaldun-ibar p.1664-1666}"
    },
    {
     "heading": "الملك",
     "markdown": "لما أقبل أخوه أبو العيش إلى جهاد العدوة استخلفه على عمله. فلما هلك أخوه شهيداً سنة 343هـ استجد الملك، وأثخن في ملوك زناتة. وتحصن من قائد الفاطميين جوهر بقلعة النسر قرب سبتة. ثم دعا للشيعة ونقض طاعة المروانية. {cite:tarikh-ibn-khaldun-ibar p.1664-1666}"
    },
    {
     "heading": "النهاية",
     "markdown": "أجاز الحكم المستنصر عسكره مع محمد بن قاسم بن طملس سنة 362هـ، فكان الظهور للحسن. فأرسل الحكم مولاه غالب بن عبد الرحمن في الأموال والجنود، فبثّ المال في رؤساء البرابرة وضيّق عليه حتى أجلى عن المغرب. فلحق بالقيروان ثم بقرطبة. ثم استدعاه المغرب ودعا لنفسه، فقبضوا عليه وأشخصوه إلى الأندلس، فقُتل في طريقه، فانقرض ملك الأدارسة. {cite:tarikh-ibn-khaldun-ibar p.1664-1666}\n\nتاريخ وفاته في البيانات تقريبي (نحو 375هـ)، ومشتق، ويحتاج إلى مصدر إضافي."
    }
   ],
   "frontmatter": {
    "id": "person/al-hasan-ibn-kannun",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Al-Hasan ibn Kannun al-Idrisi, the last of the Idrisid kings in the Maghrib. {cite:tarikh-ibn-khaldun-ibar p.1664-1666}"
    },
    {
     "heading": "Rule",
     "markdown": "When his brother Abu al-Aysh came to fight in the Adwa of the Maghrib, he appointed him over his governorship. When his brother died as a martyr in 343 AH, the kingship came to him anew, and he inflicted heavy defeats on the Zanata kings. He fortified himself against the Fatimid commander Jawhar in the castle of al-Nasr near Ceuta. Then he called for the Shi'a and broke the allegiance to the Marwanids. {cite:tarikh-ibn-khaldun-ibar p.1664-1666}"
    },
    {
     "heading": "The end",
     "markdown": "In 362 AH al-Hakam al-Mustansir ferried his army with Muhammad ibn Qasim ibn Tamlus, and the advantage was with al-Hasan. Al-Hakam sent his client Ghalib ibn Abd al-Rahman with money and troops, and he spread money among the chiefs of the Berbers and pressed al-Hasan until he was driven out of the Maghrib. He went to Qayrawan and then to Cordoba. Later the Maghrib called him back and he claimed power for himself, but they seized him and sent him to al-Andalus, where he was killed on the road, and the kingdom of the Idrisids came to an end. {cite:tarikh-ibn-khaldun-ibar p.1664-1666}\n\nThe date of his death in the data is approximate (about 375 AH), is derived, and needs an additional source."
    }
   ],
   "frontmatter": {
    "id": "person/al-hasan-ibn-kannun",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "الحسن بن کنون الادریسی، مغرب میں ادارسہ کے آخری بادشاہ۔ {cite:tarikh-ibn-khaldun-ibar p.1664-1666}"
    },
    {
     "heading": "بادشاہت",
     "markdown": "جب ان کے بھائی ابو العیش عدوہ کے جہاد کے لیے آئے تو انھوں نے اپنے کام پر ان کا جانشین بنایا۔ جب ان کا بھائی شہادت پاکر سنہ 343ھ میں فوت ہوا تو انھوں نے بادشاہت سنبھالی، اور زناتہ کے بادشاہوں کو سخت زخم پہنچائے۔ انھوں نے فاطمیوں کے قائد جوہر سے سبتہ کے قریب قلعۂ النسر میں پناہ لی۔ پھر انھوں نے شیعہ کے لیے دعا کی اور مروانیوں کی اطاعت توڑ دی۔ {cite:tarikh-ibn-khaldun-ibar p.1664-1666}"
    },
    {
     "heading": "انجام",
     "markdown": "حکم المستنصر نے سنہ 362ھ میں محمد بن قاسم بن طملس کے ساتھ اپنا لشکر روانہ کیا، تو غلبہ الحسن کو ہوا۔ پھر حکم نے اپنے آزاد کردہ غلام غالب بن عبدالرحمن کو مال اور لشکر کے ساتھ بھیجا، تو اس نے بربر سرداروں میں مال بانٹا اور ان پر تنگی کی، یہاں تک کہ وہ مغرب سے نکل گئے۔ وہ قیروان اور پھر قرطبہ کی طرف گئے۔ پھر مغرب کے لوگوں نے انھیں بلایا اور انھوں نے اپنے لیے دعوت دی، تو انھوں نے انھیں گرفتار کر کے اندلس کی طرف بھیجا، اور راستے میں وہ قتل کر دیے گئے، پس ادارسہ کی بادشاہت ختم ہو گئی۔ {cite:tarikh-ibn-khaldun-ibar p.1664-1666}\n\nان کی وفات کی تاریخ میوزیم کے ڈیٹا میں تقریبی ہے (تقریباً سنہ 375ھ)، اخذ شدہ ہے، اور اس کے لیے اضافی ماخذ درکار ہے۔"
    }
   ],
   "frontmatter": {
    "id": "person/al-hasan-ibn-kannun",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-19"
  }
 },
 "degree": 0,
 "contemporaries": [
  "person/abd-al-aziz-al-daraki",
  "person/abd-al-ghani-ibn-said-al-azdi",
  "person/abd-al-jabbar-al-hamadhani",
  "person/abd-al-wahhab-ibn-ali-al-baghdadi",
  "person/abdallah-ibn-zaydun",
  "person/abu-al-husayn-al-jallabi-al-tabari",
  "person/abu-al-wafa-al-buzjani",
  "person/abu-ali-al-muhassin-al-tanukhi",
  "person/abu-ali-ibn-ustadh-hurmuz",
  "person/abu-asim-al-abbadi",
  "person/abu-bakr-ibn-al-daqqaq",
  "person/abu-bakr-ibn-lal-al-hamadhani"
 ],
 "updated": "2026-10-19",
 "connections": [],
 "related": [],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}