{
 "id": "event/hafsid-independence-627",
 "class": "event",
 "slug": "hafsid-independence-627",
 "label": {
  "ar": "خلع أبي زكريا الحفصي طاعة الموحدين",
  "en": "Abu Zakariya al-Hafsi's break with the Almohads"
 },
 "summary": {
  "ar": "سنة 627هـ استبد الأمير أبو زكريا بن أبي محمد ابن الشيخ أبي حفص بإفريقية وخلع طاعة الخليفة المأمون بعد أن محا الأخير اسم المهدي من السكة والخطبة، فقامت الدولة الحفصية بتونس على يد الحفصيين الهنتاتيين أحفاد كبير مشيخة الموحدين.",
  "en": "In 627 AH the amir Abu Zakariya, grandson of the shaykh Abu Hafs, seized Ifriqiya and threw off the caliph al-Ma'mun's allegiance after the latter had erased the Mahdi's name from coinage and khutba — founding the Hafsid state at Tunis under the Hintati grandsons of the Almohads' greatest shaykh."
 },
 "stub": false,
 "wings": [
  "time",
  "people"
 ],
 "regions": [
  "maghreb"
 ],
 "periods": [
  "period/mongol-post-mongol"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1230.0012320581532,
  "latest": 1231.0005681156722
 },
 "display": {
  "start": {
   "edtf": "1230",
   "hijri": "0627",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "سنة 627هـ؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "end": {
   "edtf": "1230",
   "hijri": "0627",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "سنة 627هـ؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 },
 "data": {
  "kind": "founding",
  "date": {
   "start": {
    "edtf": "1230",
    "hijri": "0627",
    "calendar": "julian",
    "precision": "year",
    "status": "tradition",
    "derived": true,
    "note": "سنة 627هـ؛ التحويل مشتق.",
    "sources": [
     "source/tarikh-ibn-khaldun-ibar"
    ]
   }
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — دولة المأمون بن المنصور، ص1684 (المجلد السادس، طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-maghreb-2"
  },
  "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": "ينقل ابن خلدون في «العبر» أنه في سنة 627هـ استبد الأمير [[person/abu-zakariya-al-hafsi|أبو زكريا الحفصي]] بإفريقية، وخلع طاعة الخليفة المأمون. وكان المأمون قد محا اسم المهدي من السكة والخطبة. {cite:tarikh-ibn-khaldun-ibar}\n\nوبذلك قامت الدولة الحفصية في [[place/tunis|تونس]] على يد الحفصيين الهنتاتيين، أحفاد كبير مشيخة الموحدين. {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "event/hafsid-independence-627",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   }
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Ibn Khaldun, in \"The Lessons\" (al-Ibar), reports that in 627 AH the amir [[person/abu-zakariya-al-hafsi|Abu Zakariya al-Hafsi]] took sole power in Ifriqiya and broke the obedience to the caliph al-Ma'mun. Al-Ma'mun had erased the name of al-Mahdi from the coinage and the sermon. {cite:tarikh-ibn-khaldun-ibar}\n\nThus the Hafsid state was founded in [[place/tunis|Tunis]] by the Hafsids of the Hintata, descendants of the chief of the Almohad shaykhs. {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "event/hafsid-independence-627",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   }
  }
 },
 "degree": 4,
 "contemporaries": [],
 "connections": [
  {
   "to": "person/abu-zakariya-al-hafsi",
   "type": "had_participant",
   "inverse": true,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  {
   "to": "place/tunis",
   "type": "occurred_at",
   "inverse": false,
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 ],
 "related": [
  "event/eighth-crusade-tunis-669",
  "event/marinid-entry-tunis-748",
  "event/muslim-sicily-collapse-647",
  "event/ottoman-recovery-of-tunis-981",
  "person/abu-ishaq-hafsi",
  "person/al-mustansir-hafsi",
  "polity/hafsid-dynasty",
  "person/abu-zakariya-al-hafsi"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}