{
 "id": "event/usurpation-cordoba-399",
 "class": "event",
 "slug": "usurpation-cordoba-399",
 "label": {
  "ar": "فتنة قرطبة وخروج ابن عبد الجبار",
  "en": "The Cordoba Strife and the Rising of Ibn Abd al-Jabbar"
 },
 "summary": {
  "ar": "في ربيع الأول سنة ثمان وتسعين وثلاثمائة أخرج المؤيد هشام من تدبير الأمور في حياته إلى الحاجب عبد الرحمن بن المنصور بن أبي عامر وفوّض إليه الخلافة بعد وفاته بعهد الله وميثاقه وذمة نبيه وذمم الخلفاء الراشدين من آبائه، وكان لقبه في الناس سانجيل، فنقم أهل الدولة ذلك وأسيفوا تحويل الأمر من المضرية إلى اليمنية فاجتمع الأمويون والقرشيون لشأنهم ووثبوا بصاحب الشرطة فقتلوه سنة تسع وتسعين وخلعوا هشاماً المؤيد {cite:nafh-tib-maqqari p. 425-426}؛ وفي جمادى الآخرة سنة تسع وتسعين وثلاثمائة ظهر بقرطبة محمد بن هشام بن عبد الجبار بن عبد الرحمن الناصر في اثني عشر رجلاً فبايعه الناس وتلقّب بالمهدي بالله وملك قرطبة، وأخذ الخليفة المؤيد هشاماً فحبسه في القصر ثم أخرج جثة نصراني يشبهه وذكر أنه المؤيد فصلّى الناس عليه ودفنوه في مقابر المسلمين؛ ونقم الناس على ابن عبد الجبار أشياء منها أنه كان يعمل النبيذ في قصره فيسميه نبّاذاً، فخرج عليه عمه هشام بن سليمان فتلقّب بالرشيد فهزمه وقتله أسيراً، ثم خرج سليمان بن الحكم المستعين يستنجد بالنصارى فالتقوا بالوقعة المشهورة قُتل فيها خمسة وثلاثون ألفاً فانهزم ابن عبد الجبار وتحصّن بقصر قرطبة، ودخل سليمان البلد وقصره فاحتال ابن عبد الجبار في الهرب واختفى، وبويع سليمان بالخلافة في شوال سنة أربعمائة وأغار البربر والروم على قرطبة فنهبوها وسبوا وأسروا عدداً عظيماً، ثم عاد ابن عبد الجبار من طليطلة بعسكر من النصارى فهزم سليمان ودخل قرطبة وجدد البيعة لنفسه {cite:kamil-ibn-al-athir p. 499-502}.",
  "en": "The Cordoba fitna of 399–400: the Umayyad Muhammad ibn Hisham rose as 'al-Mahdi', hid the caliph Hisham al-Mu'ayyad and buried a Christian lookalike in his name; his uncle Hisham's counter-revolt failed, then Sulayman al-Musta'in marched in with Christian allies, won the great battle (35,000 dead), and took the bay'a while Berbers and Christians sacked the city {cite:kamil-ibn-al-athir p. 499-502}."
 },
 "stub": false,
 "wings": [
  "time"
 ],
 "regions": [
  "andalus-europe"
 ],
 "periods": [
  "period/abbasid-fragmentation"
 ],
 "tags": [],
 "aliases": [],
 "themes": [
  "wars-and-campaigns"
 ],
 "span": {
  "earliest": 1009.0001163610478,
  "latest": 1009.9994524185669
 },
 "display": {
  "start": {
   "edtf": "1009",
   "hijri": "0399",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "399–400؛ التحويل مشتق {cite:kamil-ibn-al-athir p. 499}."
  },
  "end": {
   "edtf": "1009",
   "hijri": "0399",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "399–400؛ التحويل مشتق {cite:kamil-ibn-al-athir p. 499}."
  }
 },
 "data": {
  "kind": "civil-war",
  "date": {
   "start": {
    "edtf": "1009",
    "hijri": "0399",
    "calendar": "julian",
    "precision": "year",
    "status": "tradition",
    "derived": true,
    "note": "399–400؛ التحويل مشتق {cite:kamil-ibn-al-athir p. 499}."
   }
  },
  "provenance": {
   "layer": "own-research",
   "source": "الكامل في التاريخ لابن الأثير (ط دار الكتاب العربي، بيروت) ج 6 ص 499–502",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "run": "lib-kamil-296-batch-1"
  },
  "sources": [
   "source/kamil-ibn-al-athir",
   "source/nafh-tib-maqqari"
  ],
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Devin (SWE-2 High)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "في سنتي 399 و400هـ اضطربت [[place/cordoba|قرطبة]]: خلع الأمويون والقرشيون الخليفة [[person/hisham-ii-al-muayyad|المؤيد هشاماً]]، وظهر [[person/muhammad-ibn-hisham-al-mahdi-cordoba|محمد بن هشام]] بلقب المهدي، ثم نازعه [[person/sulayman-al-mustain-cordoba|سليمان المستعين]]. {cite:nafh-tib-maqqari p.425-426} {cite:kamil-ibn-al-athir p.499-502}"
    },
    {
     "heading": "تفويض الحاجب",
     "markdown": "يذكر المقري أن المؤيد فوّض الخلافة بعد وفاته إلى الحاجب [[person/abd-al-rahman-sanjul|عبد الرحمن بن المنصور بن أبي عامر]]، ولقبه الناس سانجيل. فاستاء أهل الدولة من نقل الأمر من المضرية إلى اليمنية. {cite:nafh-tib-maqqari p.425-426}\n\nووثب الأمويون والقرشيون بصاحب الشرطة فقتلوه، وخلعوا هشاماً. {cite:nafh-tib-maqqari p.425-426}"
    },
    {
     "heading": "ظهور المهدي",
     "markdown": "في جمادى الآخرة سنة 399هـ ظهر محمد بن هشام في اثني عشر رجلاً، فبايعه الناس وتلقب بالمهدي بالله. حبس المؤيد في القصر، ثم أخرج جثة نصراني يشبهه وقال إنه المؤيد، فصلى عليه الناس ودفنوه. {cite:kamil-ibn-al-athir p.499-502}\n\nينقم عليه الناس أشياء، منها صناعة النبيذ في قصره. {cite:kamil-ibn-al-athir p.499-502}"
    },
    {
     "heading": "الصراع",
     "markdown": "خرج عليه عمه هشام بن سليمان بلقب الرشيد، فهزمه وقتله أسيراً. ثم جاء سليمان بن الحكم المستعين يستنجد بالنصارى، فكانت وقعة مشهورة قُتل فيها خمسة وثلاثون ألفاً. {cite:kamil-ibn-al-athir p.499-502}\n\nانهزم ابن عبد الجبار واختفى، وبويع سليمان في شوال سنة 400هـ. وأغار البربر والروم على قرطبة فنهبوها. ثم عاد ابن عبد الجبار من طليطلة بعسكر من النصارى، فهزم سليمان ودخل قرطبة. {cite:kamil-ibn-al-athir p.499-502}"
    }
   ],
   "frontmatter": {
    "id": "event/usurpation-cordoba-399",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "In 399 and 400 AH [[place/cordoba|Cordoba]] was in turmoil: the Umayyads and the Qurashis deposed the caliph [[person/hisham-ii-al-muayyad|al-Mu'ayyad Hisham]], [[person/muhammad-ibn-hisham-al-mahdi-cordoba|Muhammad ibn Hisham]] appeared with the title al-Mahdi, and then [[person/sulayman-al-mustain-cordoba|Sulayman al-Musta'in]] contested with him. {cite:nafh-tib-maqqari p.425-426} {cite:kamil-ibn-al-athir p.499-502}"
    },
    {
     "heading": "The delegation of the chamberlain",
     "markdown": "Al-Maqqari says that al-Mu'ayyad, after his death, delegated the caliphate to the chamberlain [[person/abd-al-rahman-sanjul|Abd al-Rahman ibn al-Mansur ibn Abi Amir]], whom people called Sanjul. The people of state resented moving the matter from the Mudar to the Yemen. {cite:nafh-tib-maqqari p.425-426}\n\nThe Umayyads and the Qurashis attacked the chief of police and killed him, and deposed Hisham. {cite:nafh-tib-maqqari p.425-426}"
    },
    {
     "heading": "The rising of al-Mahdi",
     "markdown": "In Jumada al-Akhira 399 AH Muhammad ibn Hisham appeared with twelve men, and the people gave him their allegiance and he took the title al-Mahdi bi-Allah. He imprisoned al-Mu'ayyad in the palace, then brought out the corpse of a Christian who resembled him and said it was al-Mu'ayyad; the people prayed over him and buried him. {cite:kamil-ibn-al-athir p.499-502}\n\nThe people resented several things in him, among them making wine in his palace. {cite:kamil-ibn-al-athir p.499-502}"
    },
    {
     "heading": "The struggle",
     "markdown": "His uncle Hisham ibn Sulayman rose against him with the title al-Rashid; he defeated him and killed him as a captive. Then Sulayman ibn al-Hakam al-Musta'in came seeking help from the Christians, and a famous battle took place in which thirty-five thousand were killed. {cite:kamil-ibn-al-athir p.499-502}\n\nIbn Abd al-Jabbar was defeated and hid, and Sulayman was given allegiance in Shawwal 400 AH. The Berbers and the Romans raided Cordoba and plundered it. Then Ibn Abd al-Jabbar returned from Toledo with an army of Christians, defeated Sulayman and entered Cordoba. {cite:kamil-ibn-al-athir p.499-502}"
    }
   ],
   "frontmatter": {
    "id": "event/usurpation-cordoba-399",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "399 اور 400 ہجری کے دوران [[place/cordoba|قرطبہ]] میں بدامنی رہی: بنو امیہ اور قریشیوں نے خلیفہ [[person/hisham-ii-al-muayyad|المؤید ہشام]] کو معزول کر دیا، [[person/muhammad-ibn-hisham-al-mahdi-cordoba|محمد بن ہشام]] مہدی کے لقب سے سامنے آئے، پھر ان سے [[person/sulayman-al-mustain-cordoba|سلیمان المستعین]] نے جھگڑا کیا۔ {cite:nafh-tib-maqqari p.425-426} {cite:kamil-ibn-al-athir p.499-502}"
    },
    {
     "heading": "حاجب کو تفویض",
     "markdown": "مقری بیان کرتے ہیں کہ المؤید نے اپنی وفات کے بعد خلافت کا اختیار حاجب [[person/abd-al-rahman-sanjul|عبدالرحمن بن المنصور بن ابی عامر]] کو سونپ دیا، جنہیں لوگ سانجیل کہتے تھے۔ اہل حکومت کو اس بات پر ناراضی ہوئی کہ امر مضریہ سے یمنیہ کی طرف منتقل ہو گیا۔ {cite:nafh-tib-maqqari p.425-426}\n\nبنو امیہ اور قریشیوں نے صاحب الشرطہ پر حملہ کر کے اسے قتل کر دیا، اور ہشام کو معزول کر دیا۔ {cite:nafh-tib-maqqari p.425-426}"
    },
    {
     "heading": "مہدی کا ظہور",
     "markdown": "جمادی الآخرہ 399 ہجری میں محمد بن ہشام بارہ آدمیوں کے ساتھ ظاہر ہوئے، لوگوں نے ان کی بیعت کی اور انہوں نے اپنا لقب «المہدی باللہ» رکھا۔ انہوں نے المؤید کو محل میں قید کیا، پھر ایک نصرانی کی لاش نکالی جو ان سے مشابہ تھا، اور کہا کہ یہ المؤید ہے، تو لوگوں نے اس کی نماز جنازہ پڑھی اور اسے دفن کر دیا۔ {cite:kamil-ibn-al-athir p.499-502}\n\nلوگ ان سے کئی باتوں پر ناراض تھے، ان میں سے ایک یہ تھی کہ وہ اپنے محل میں نبیذ بنواتے تھے۔ {cite:kamil-ibn-al-athir p.499-502}"
    },
    {
     "heading": "کشمکش",
     "markdown": "ان کے چچا ہشام بن سلیمان نے الرشید کے لقب سے ان کے خلاف بغاوت کی، تو محمد نے انہیں شکست دی اور قیدی بنا کر قتل کر دیا۔ پھر سلیمان بن الحکم المستعین نصرانیوں سے مدد لینے آیا، تو ایک مشہور جنگ ہوئی جس میں پینتیس ہزار افراد مارے گئے۔ {cite:kamil-ibn-al-athir p.499-502}\n\nابن عبدالجبار شکست کھا کر چھپ گئے، اور شوال 400 ہجری میں سلیمان کی بیعت ہوئی۔ بربر اور رومیوں نے قرطبہ پر حملہ کر کے لوٹ مار کی۔ پھر ابن عبدالجبار طلیطلہ سے نصرانی لشکر کے ساتھ واپس آئے، سلیمان کو شکست دی اور قرطبہ میں داخل ہو گئے۔ {cite:kamil-ibn-al-athir p.499-502}"
    }
   ],
   "frontmatter": {
    "id": "event/usurpation-cordoba-399",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-19"
  }
 },
 "degree": 10,
 "contemporaries": [],
 "updated": "2026-10-23",
 "connections": [
  {
   "to": "person/muhammad-ibn-hisham-al-mahdi-cordoba",
   "type": "had_participant",
   "inverse": true,
   "role": "المتغلب المتخلق بالمهدي",
   "sources": [
    "source/kamil-ibn-al-athir",
    "source/nafh-tib-maqqari"
   ]
  },
  {
   "to": "person/hisham-ii-al-muayyad",
   "type": "had_participant",
   "inverse": true,
   "role": "الخليفة المحبوس المخفى",
   "sources": [
    "source/kamil-ibn-al-athir",
    "source/nafh-tib-maqqari"
   ]
  },
  {
   "to": "person/sulayman-al-mustain-cordoba",
   "type": "had_participant",
   "inverse": true,
   "role": "الخصم المستنجد بالنصارى",
   "sources": [
    "source/kamil-ibn-al-athir",
    "source/nafh-tib-maqqari"
   ]
  },
  {
   "to": "person/abd-al-rahman-sanjul",
   "type": "had_participant",
   "inverse": true,
   "role": "الحاجب المفوّض إليه الخلافة المقتول",
   "sources": [
    "source/nafh-tib-maqqari"
   ]
  },
  {
   "to": "place/cordoba",
   "type": "occurred_at",
   "inverse": false,
   "sources": [
    "source/kamil-ibn-al-athir",
    "source/nafh-tib-maqqari"
   ]
  }
 ],
 "related": [
  "event/battle-of-alarcos-591",
  "screen/saqr-quraysh-2002",
  "building/great-mosque-cordoba",
  "building/khizanat-kutub-qurtuba",
  "event/conquest-of-cordoba-92",
  "event/cordoba-siege-545",
  "event/fall-of-cordoba-636",
  "event/ibn-hazm-birth-cordoba-384"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}