{
 "id": "person/abd-al-haqq-ibn-mahyu",
 "class": "person",
 "slug": "abd-al-haqq-ibn-mahyu",
 "label": {
  "ar": "عبد الحق بن محيو",
  "en": "Abd al-Haqq ibn Mahyu"
 },
 "summary": {
  "ar": "عبد الحق بن محيو بن أبي بكر بن حمامة الزناتي المريني؛ أكبر ولد محيو فقام بأمر بني مرين بعده، وكان خير أمير عليهم قياماً بمصالحهم وتعففاً عما في أيديهم وتقويماً لهم على الجادة ونظراً في العواقب فاستمرت أيامهم، وكانوا يطرقون جهات كرسيف إلى وطاط في صعودهم من القفار ويأنسون ببقايا زناتة الأولى، ولما أظلم الجو بينهم وبين دولة الموحدين التقوا بعساكر الرشيد بسوادي نكور فكان الظهور لهم عام المشغلة، ثم لما ثاروا إلى المغرب تولى الصبر حربهم مع بني محمد ومظاهرتهم أوليساء سنة أربع عشرة وستمائة فهلك فيها عبد الحق وكبير بنيه إدريس، وكان له عشرة من الولد تسعة ذكور منهم عثمان ومحمد وأبو يحيى.",
  "en": "Abd al-Haqq ibn Mahyu ibn Abi Bakr ibn Hammama al-Zanati al-Marini; eldest of Mahyu's sons, he led Banu Marin after him — 'the best amir over them in serving their interests, holding back from their goods, keeping them to the course and weighing outcomes' — grazing the steppe between Figuig and Mulwiya, winning the 'year of al-Mushaghghala' rout of al-Rashid's armies at the Nekur plain, then falling in the year-614 war against Banu Muhammad's confederation, he and his eldest son Idris together, leaving ten children of whom Uthman, Muhammad and Abu Yahya would carry the house."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [
  "maghreb"
 ],
 "periods": [
  "period/crusades-ayyubid-mamluk"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1217.0016495889718,
  "latest": 1218.0009856464908
 },
 "display": {
  "end": {
   "edtf": "1217",
   "hijri": "0614",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "هلك في الحرب سنة 614هـ مع ابنه إدريس؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 },
 "data": {
  "gender": "male",
  "roles": [
   "ruler"
  ],
  "died": {
   "edtf": "1217",
   "hijri": "0614",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "هلك في الحرب سنة 614هـ مع ابنه إدريس؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — أمارة عبد الحق بن محيو، ص1903-1904 (طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-maghreb-39"
  },
  "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}"
    },
    {
     "heading": "إمارته",
     "markdown": "يصفه ابن خلدون بأنه كان خير أمير عليهم في القيام بمصالحهم والتعفف عما في أيديهم ونظره في العواقب. {cite:tarikh-ibn-khaldun-ibar} وكان بنو مرين يطرقون جهات كرسيف إلى وطاط في صعودهم من القفار. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "المواجهة مع الموحدين",
     "markdown": "لما ساء ما بينهم وبين دولة الموحدين التقوا بعساكر الرشيد في سوادي نكور، وكان الظهور لبني مرين في «عام المشغلة». {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "وفاته",
     "markdown": "هلك عبد الحق في حرب سنة 614هـ (نحو 1217م، والتحويل مشتق) مع بني محمد، ومعه ابنه الأكبر إدريس. {cite:tarikh-ibn-khaldun-ibar} وخلّف عشرة أولاد، تسعة ذكور منهم عثمان ومحمد وأبو يحيى. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "ملاحظات للباحثين",
     "markdown": "- التاريخ مصدره ابن خلدون وحده؛ يحتاج إلى مصدر ثانٍ."
    }
   ],
   "frontmatter": {
    "id": "person/abd-al-haqq-ibn-mahyu",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   }
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Abd al-Haqq ibn Mahyu ibn Abi Bakr ibn Hamama al-Zanati al-Marini, the eldest son of Mahyu, who took charge of the Banu Marin after him. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "His rule",
     "markdown": "Ibn Khaldun describes him as the best ruler they had in attending to their affairs, in refraining from what was in other people's hands, and in his attention to consequences. {cite:tarikh-ibn-khaldun-ibar} The Banu Marin used to reach the areas from Kursif to Wattat as they climbed down from the wastelands. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "Confrontation with the Almohads",
     "markdown": "When relations with the Almohad state deteriorated, they met the troops of al-Rashid in the plains of Nukur, and the victory went to the Banu Marin in the «Year of the Busy» (ʿAm al-mashghala). {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "His death",
     "markdown": "Abd al-Haqq died in a battle in 614 AH (about 1217 CE, the conversion is derived) with the Banu Muhammad, together with his eldest son Idris. {cite:tarikh-ibn-khaldun-ibar} He left ten children, nine of them sons, including Uthman, Muhammad and Abu Yahya. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "Notes for researchers",
     "markdown": "- The date comes from Ibn Khaldun alone. A second source is needed."
    }
   ],
   "frontmatter": {
    "id": "person/abd-al-haqq-ibn-mahyu",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   }
  }
 },
 "degree": 6,
 "contemporaries": [
  "person/abu-al-mahasin-al-shawwa",
  "person/abyari-ali-ibn-ismail",
  "person/ahmad-al-badawi",
  "person/ahmad-ibn-yusuf-al-tifashi",
  "person/al-baydawi-abd-allah-ibn-umar",
  "person/al-irbili-ahmad-ibn-al-husayn",
  "person/al-jaghmini-mahmud-ibn-muhammad-ibn-umar",
  "person/al-khunaji-afdal-al-din-muhammad",
  "person/al-khuwayyi-abu-al-abbas-shams-al-din-ahmad",
  "person/al-talafari-abu-al-makarim-muhammad-ibn-yusuf",
  "person/al-thaqafi-al-jayyani-muhammad-ibn-al-hasan",
  "person/ibn-abi-al-ahwas-al-husayn"
 ],
 "connections": [
  {
   "to": "person/abu-yahya-ibn-abd-al-haqq",
   "type": "parent_of",
   "inverse": true,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/muhammad-ibn-abd-al-haqq-marinid",
   "type": "parent_of",
   "inverse": true,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/uthman-ibn-abd-al-haqq-marinid",
   "type": "parent_of",
   "inverse": true,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 ],
 "related": [
  "person/muhammad-ibn-abd-al-haqq-marinid",
  "person/abu-yahya-ibn-abd-al-haqq",
  "person/uthman-ibn-abd-al-haqq-marinid"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}