{
 "id": "polity/zayyanid-tlemcen",
 "class": "polity",
 "slug": "zayyanid-tlemcen",
 "label": {
  "ar": "دولة بني عبد الواد",
  "en": "Abd al-Wadid (Zayyanid) kingdom of Tlemcen"
 },
 "summary": {
  "ar": "دولة بني عبد الواد من زناتة بتلمسان، أسسها يغمراسن بن زيان بعد استيلائه على تلمسان وحصاره لها ثمان سنين، وقال حين رُفع إليه نسب إلى إدريس بلسانهم ما معناه: «إن كان هذا صحيحاً فينفعنا عند الله وأما الدنيا فإنما نلناها بسيوفنا»، وملكوا المغرب الأوسط بين بني مرين والحفصيين حتى دخل المرينيون تلمسان وانتهت دولتهم.",
  "en": "The Abd al-Wadid kingdom of Zanata at Tlemcen, founded by Yaghmurasen ibn Zayyan who took the city after an eight-year siege — who answered, when an Idrisid pedigree was offered him, in their tongue: 'if true it profits us with God, but this world we won with our swords'; they held the central Maghreb between the Marinids and the Hafsids until the Marinids entered Tlemcen and ended their state."
 },
 "stub": false,
 "wings": [],
 "regions": [
  "maghreb"
 ],
 "periods": [
  "period/mongol-post-mongol"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1235.999986310465,
  "latest": 1338.00071185579
 },
 "display": {
  "start": {
   "edtf": "1236",
   "hijri": "0635",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "استيلاء يغمراسن على تلمسان بعد حصار ثمان سنين؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "end": {
   "edtf": "1337",
   "hijri": "0737",
   "calendar": "julian",
   "precision": "year",
   "status": "debated",
   "derived": true,
   "note": "تغلب بنو مرين على تلمسان وانهزم ملك بني عبد الواد؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 },
 "data": {
  "kind": "dynasty",
  "start": {
   "edtf": "1236",
   "hijri": "0635",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "استيلاء يغمراسن على تلمسان بعد حصار ثمان سنين؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "end": {
   "edtf": "1337",
   "hijri": "0737",
   "calendar": "julian",
   "precision": "year",
   "status": "debated",
   "derived": true,
   "note": "تغلب بنو مرين على تلمسان وانهزم ملك بني عبد الواد؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — الخبر عن دولة بني عبد الواد، ص1842 (المجلد السادس، طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-maghreb-3"
  },
  "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.1842}"
    },
    {
     "heading": "التأسيس",
     "markdown": "حاصر يغمراسن تلمسان ثماني سنين ثم استولى عليها، وتقدّر البيانات ذلك بسنة 635هـ (1236م)، وهي سنة مشتقة. {cite:tarikh-ibn-khaldun-ibar p.1842}\n\nيروي ابن خلدون أن نسباً إلى إدريس رُفع إلى يغمراسن، فقال بلسانهم ما معناه إن كان صحيحاً فينفعنا عند الله، أما الدنيا فإنما نلناها بسيوفنا. {cite:tarikh-ibn-khaldun-ibar p.1842}"
    },
    {
     "heading": "النهاية",
     "markdown": "تغلّب بنو مرين على تلمسان وانهزم ملك بني عبد الواد، وتقدّر البيانات ذلك بسنة 737هـ (1337م). والسنة مشتقة ومختلف فيها، ويحتاج الأمر إلى مصدر إضافي. {cite:tarikh-ibn-khaldun-ibar p.1842}"
    }
   ],
   "frontmatter": {
    "id": "polity/zayyanid-tlemcen",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   }
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "The Banu Abd al-Wad state of the Zanata in Tlemcen, founded by Yaghmurasan ibn Zayyan after he took the city. They ruled the central Maghrib between the Banu Marin and the Hafsids, until the Marinids entered Tlemcen and their state ended. {cite:tarikh-ibn-khaldun-ibar p.1842}"
    },
    {
     "heading": "Founding",
     "markdown": "Yaghmurasan besieged Tlemcen for eight years and then took it. The data put this in 635 AH (1236 CE), a derived year. {cite:tarikh-ibn-khaldun-ibar p.1842}\n\nIbn Khaldun reports that a claim of descent from Idris was brought to Yaghmurasan, and he said in their tongue something to the effect that if it was true it would benefit us before God, but that as for this world, we obtained it by our swords. {cite:tarikh-ibn-khaldun-ibar p.1842}"
    },
    {
     "heading": "The end",
     "markdown": "The Banu Marin overcame Tlemcen and the king of the Banu Abd al-Wad was defeated. The data put this in 737 AH (1337 CE). The year is derived and disputed, and the matter needs a second source. {cite:tarikh-ibn-khaldun-ibar p.1842}"
    }
   ],
   "frontmatter": {
    "id": "polity/zayyanid-tlemcen",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   }
  }
 },
 "degree": 14,
 "contemporaries": [],
 "connections": [
  {
   "to": "person/abu-hammu-i-musa-zayyanid",
   "type": "ruled_by",
   "inverse": true,
   "note": "رابع ملوك بني عبد الواد",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/abu-hammu-musa-ii",
   "type": "ruled_by",
   "inverse": true,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/abu-said-uthman-zayyanid",
   "type": "ruled_by",
   "inverse": true,
   "note": "مسترد الملك في الكرة الثانية مع أخيه أبي ثابت",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/abu-tashfin-i-zayyanid",
   "type": "ruled_by",
   "inverse": true,
   "note": "خامس ملوك بني عبد الواد",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/abu-thabit-amir-zayyanid",
   "type": "ruled_by",
   "inverse": true,
   "note": "شريك أخيه أبي سعيد في استرداد الملك",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/abu-ziyan-muhammad-ibn-uthman",
   "type": "ruled_by",
   "inverse": true,
   "note": "ثالث ملوك بني عبد الواد — سلطان الحصار الثماني",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "person/uthman-ibn-yaghmurasan",
   "type": "ruled_by",
   "inverse": true,
   "note": "ثاني ملوك بني عبد الواد",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 ],
 "related": [
  "person/abu-hammu-i-musa-zayyanid",
  "person/abu-ziyan-muhammad-ibn-uthman",
  "person/abu-tashfin-i-zayyanid",
  "person/uthman-ibn-yaghmurasan",
  "event/abu-hammu-tlemcen-760",
  "person/yaghmurasan-ibn-zayyan",
  "person/abu-hammu-musa-ii",
  "person/abu-said-uthman-zayyanid"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}