{
 "id": "event/marinid-dual-state-776",
 "class": "event",
 "slug": "marinid-dual-state-776",
 "label": {
  "ar": "انقسام ملك بني مرين بين فاس ومراكش (776هـ)",
  "en": "The Marinid division between Fez and Marrakesh (776 AH)"
 },
 "summary": {
  "ar": "اجتمع السلطان أبو العباس أحمد والأمير عبد الرحمن بن أبي الفضل بوادي النجا فحلفا على اتصال اليد على عدوهم، وزحفوا بعسكريهم إلى كدية العرائس في ذي القعدة سنة 775هـ فدارت الحرب وانهزم الوزير، وحاصروا البلد الجديد حتى دخل السلطان أبو العباس إليه سابع المحرم سنة 776هـ، وارتحل عبد الرحمن إلى مراكش فاستقل بها، وانعقدت بينهما السلم وجعل التخم بينهما أزمور — فصار لبني مرين ملكان: ملك فاس وملك مراكش.",
  "en": "Sultan Abu al-Abbas Ahmad and the amir Abd al-Rahman ibn Abi al-Fadl met at Wadi al-Naja and swore to join hands against their foe; their armies marched to Kadiyat al-Ara'is in Dhu al-Qa'da 775 AH where the vizier was routed, then besieged the New City until Abu al-Abbas entered on 7 Muharram 776 AH while Abd al-Rahman withdrew to Marrakesh and held it independently — the truce between them fixing Azmour as the boundary, leaving the Marinids with two kings: one of Fez and one of Marrakesh."
 },
 "stub": false,
 "wings": [
  "time"
 ],
 "regions": [
  "maghreb"
 ],
 "periods": [
  "period/mongol-post-mongol"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1374.4148750487689,
  "latest": 1374.497012258947
 },
 "display": {
  "start": {
   "edtf": "1374-06",
   "hijri": "0776-01",
   "calendar": "julian",
   "precision": "month",
   "status": "tradition",
   "derived": true,
   "note": "دخل أبو العباس البلد الجديد سابع المحرم سنة 776هـ؛ التحويل مشتق."
  },
  "end": {
   "edtf": "1374-06",
   "hijri": "0776-01",
   "calendar": "julian",
   "precision": "month",
   "status": "tradition",
   "derived": true,
   "note": "دخل أبو العباس البلد الجديد سابع المحرم سنة 776هـ؛ التحويل مشتق."
  }
 },
 "data": {
  "kind": "civil-war",
  "date": {
   "start": {
    "edtf": "1374-06",
    "hijri": "0776-01",
    "calendar": "julian",
    "precision": "month",
    "status": "tradition",
    "derived": true,
    "note": "دخل أبو العباس البلد الجديد سابع المحرم سنة 776هـ؛ التحويل مشتق."
   }
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — اتفاق السلطان أبي العباس والأمير عبد الرحمن وانقسام الملك بين فاس ومراكش، ص2016 (المجلد السادس، طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-maghreb-4"
  },
  "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": "في سنة 776هـ صار لبني مرين ملكان: ملك [[place/fez|فاس]] وملك مراكش. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "الاتفاق والحصار",
     "markdown": "اجتمع السلطان أبو العباس أحمد والأمير عبد الرحمن بن أبي الفضل بوادي النجا وحلفا على الاتفاق ضد عدوهما. وزحفا بعسكريهما إلى كدية العرائس في ذي القعدة سنة 775هـ، فانهزم الوزير. ثم حاصرا البلد الجديد. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "القسمة",
     "markdown": "دخل أبو العباس البلد الجديد في سابع المحرم سنة 776هـ. وارتحل عبد الرحمن إلى مراكش فاستقل بها. وعقدا السلم وجعلا أزمور حداً بينهما. {cite:tarikh-ibn-khaldun-ibar}\n\nالتاريخ بالميلادي مشتق من الهجري."
    }
   ],
   "frontmatter": {
    "id": "event/marinid-dual-state-776",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "In 776 AH the Marinids had two kingdoms: the kingdom of [[place/fez|Fez]] and the kingdom of Marrakesh. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "Alliance and siege",
     "markdown": "Sultan Abu al-Abbas Ahmad and the amir Abd al-Rahman ibn Abi al-Fadl met at Wadi al-Naja and swore to unite against their common enemy. They marched with their armies to Kudyat al-Arai'is in Dhu al-Qa'da 775 AH, and the vizier was defeated. Then they besieged the new city. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "Division",
     "markdown": "Abu al-Abbas entered the new city on the seventh of Muharram 776 AH. Abd al-Rahman moved to Marrakesh and became independent there. They made peace and set Azemmour as the boundary between them. {cite:tarikh-ibn-khaldun-ibar}\n\nThe Gregorian date is derived from the Hijri date."
    }
   ],
   "frontmatter": {
    "id": "event/marinid-dual-state-776",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "سنہ 776ھ میں بنو مرین کی دو ریاستیں بن گئیں: ایک [[place/fez|فاس]] کی بادشاہت اور دوسری مراکش کی بادشاہت۔ {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "معاہدہ اور محاصرہ",
     "markdown": "سلطان ابو العباس احمد اور امیر عبد الرحمن بن ابی الفضل نے وادی النجا میں ملاقات کی اور اپنے دشمن کے خلاف اتحاد پر حلف اٹھایا۔ ذوالقعدہ 775ھ میں دونوں اپنی فوجوں کے ساتھ کدیۃ العرائس کی طرف بڑھے، تو وزیر کو شکست ہوئی۔ پھر دونوں نے نئے شہر کا محاصرہ کر لیا۔ {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "تقسیم",
     "markdown": "ابو العباس محرم 776ھ کی سات تاریخ کو نئے شہر میں داخل ہوئے۔ عبد الرحمن مراکش چلے گئے اور وہاں خود مختار ہو گئے۔ دونوں نے صلح کر لی اور ازمور کو اپنے درمیان حد بنا دیا۔ {cite:tarikh-ibn-khaldun-ibar}\n\nتاریخ عیسوی ہجری تاریخ سے اخذ کی گئی ہے۔"
    }
   ],
   "frontmatter": {
    "id": "event/marinid-dual-state-776",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-18"
  }
 },
 "degree": 2,
 "contemporaries": [],
 "updated": "2026-10-15",
 "connections": [
  {
   "to": "place/fez",
   "type": "occurred_at",
   "inverse": false,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 ],
 "related": [
  "building/qarawiyyin",
  "event/ibn-battuta-returns-to-fez-1349",
  "event/mali-giraffe-embassy-762",
  "person/abd-al-hafid-of-morocco",
  "person/abu-hasun-al-wattasi",
  "person/hassan-i-of-morocco",
  "person/ibn-bajja",
  "person/ibn-qatral"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}