{
 "id": "event/ibrahim-ibn-al-aghab-maghreb",
 "class": "event",
 "slug": "ibrahim-ibn-al-aghab-maghreb",
 "label": {
  "ar": "تولية هارون إبراهيم بن الأغلب بلاد المغرب",
  "en": "Harun's Appointment of Ibrahim ibn al-Aghlab over the Maghreb"
 },
 "summary": {
  "ar": "عند البلاذري: كان إبراهيم بن الأغلب من وجوه جند مصر فوثب واثنا عشر رجلاً معه فأخذوا من بيت المال مقدار أرزاقهم لم يزدادوا على ذلك شيئاً وهربوا فلحقوا بموضع يقال له الزاب وهو من القيروان على مسيرة أكثر من عشرة أيام وعامل الثغر يومئذ من قبل الرشيد هرثمة بن أعين واعتقد إبراهيم بن الأغلب على من كان من تلك الناحية من الجند وغيرهم الرياسة وأقبل يهدي إلى هرثمة ويلاطفه ويكتب إليه يعلمه أنه لم يخرج يداً من طاعة ولا اشتمل على معصية وأنه إنما دعاه إلى ما كان منه الحوجة والضرورة فولّاه هرثمة ناحيته واستكفاه أمرها فلما صرف هرثمة من الثغر ولّى بعده ابن العكي فساء أثره فيه حتى انتقض عليه فاستشار الرشيد هرثمة في رجل يوليه إياه فأشار عليه باستصلاح إبراهيم واصطناعه وتوليته الثغر فكتب إليه الرشيد يعلمه أنه قد صفح له عن جرمه وأقاله هفوته ورأى توليته بلاد المغرب اصطناعاً له ليستقبل به الإحسان ويستقبل به النصيحة فولّي إبراهيم ذلك الثغر وقام به وضبطه.",
  "en": "In al-Baladhuri: Ibrahim ibn al-Aghlab was of Egypt's army notables; he rose with twelve men who took from the treasury only the measure of their rations and fled, reaching a place called al-Zab over ten days' march from Qayrawan, the frontier's agent then being Harun's Harthama ibn A'yan; Ibrahim claimed the leadership over that district's troops, sending gifts to Harthama, courting him and writing that he had not left obedience nor embraced sin — only need and necessity had driven him — so Harthama gave him his district and sufficed him for it; when Harthama left the frontier Ibn al-Akki ruled after him and his conduct soured until the province rose on him, so al-Rashid consulted Harthama on a man to appoint and he counselled reconciling Ibrahim, cultivating him and giving him the frontier; al-Rashid wrote that he had pardoned his offence and seen fit to give him the Maghreb as a benefaction — Ibrahim ruled that frontier, stood over it and held it firm."
 },
 "stub": false,
 "wings": [
  "time"
 ],
 "regions": [
  "maghreb"
 ],
 "periods": [
  "period/abbasid-early"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 794.9998288808122,
  "latest": 801.0013210400991
 },
 "display": {
  "start": {
   "edtf": "0795/0800",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "في خلافة هارون الرشيد بعد هرثمة وابن العكي (البلاذري ص 327). التحويل مشتق."
  },
  "end": {
   "edtf": "0795/0800",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "في خلافة هارون الرشيد بعد هرثمة وابن العكي (البلاذري ص 327). التحويل مشتق."
  }
 },
 "data": {
  "kind": "other",
  "date": {
   "start": {
    "edtf": "0795/0800",
    "calendar": "julian",
    "precision": "year",
    "status": "tradition",
    "derived": true,
    "note": "في خلافة هارون الرشيد بعد هرثمة وابن العكي (البلاذري ص 327). التحويل مشتق."
   }
  },
  "provenance": {
   "layer": "own-research",
   "source": "فتوح البلدان (ط مؤسسة المعارف 1407هـ/1987م) ص 327",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "run": "lib-futuh-buldan-batch-23"
  },
  "sources": [
   "source/futuh-buldan-maarif-1407"
  ],
  "status": {
   "review": "draft",
   "completeness": 2,
   "generated_by": "Devin (SWE-2 High)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "يروي البلاذري كيف صار [[person/ibrahim-ibn-al-aghab|إبراهيم بن الأغلب]] واليَ بلاد المغرب في خلافة [[person/harun-al-rashid|هارون الرشيد]]، بعد أن كان من وجوه جند مصر. {cite:futuh-buldan-maarif-1407 p.327}"
    },
    {
     "heading": "من الوثبة إلى الولاية",
     "markdown": "وثب إبراهيم مع اثني عشر رجلاً، فأخذوا من بيت المال قدر أرزاقهم لا أكثر، ولحقوا بموضع الزاب شرق القيروان. وكان عامل الثغر يومئذ [[person/harthama-ibn-ayan|هرثمة بن أعين]]. تقرّب إليه إبراهيم بالهدايا وكتب أنه لم يخرج عن الطاعة، وأن الحاجة دفعته. فولّاه هرثمة ناحيته. {cite:futuh-buldan-maarif-1407 p.327}"
    },
    {
     "heading": "قرار الرشيد",
     "markdown": "لما صُرف هرثمة جاء بعده ابن العكي، فساءت سيرته حتى ثارت عليه الناحية. فاستشار الرشيد هرثمة، فأشار باستصلاح إبراهيم وتوليته. فكتب إليه الرشيد أنه صفح عن ذنبه وولّاه المغرب، فقام بالثغر وضبطه. {cite:futuh-buldan-maarif-1407 p.327}\n\nالتاريخ المحفوظ في البيانات تقريبي: بين سنتي 795 و800م، وتحويله مشتق."
    }
   ],
   "frontmatter": {
    "id": "event/ibrahim-ibn-al-aghab-maghreb",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Al-Baladhuri relates how [[person/ibrahim-ibn-al-aghab|Ibrahim ibn al-Aghlab]] became governor of the Maghrib in the caliphate of [[person/harun-al-rashid|Harun al-Rashid]], after having been one of the notables of the army of Egypt. {cite:futuh-buldan-maarif-1407 p.327}"
    },
    {
     "heading": "From rising to governorship",
     "markdown": "Ibrahim rose up with twelve men, who took from the treasury only as much as their pay and no more, and they went to the place of al-Zab east of Qayrawan. The governor of the frontier at that time was [[person/harthama-ibn-ayan|Harthama ibn Ayan]]. Ibrahim won his favour with gifts, and wrote that he had not gone out of obedience, and that need had driven him. So Harthama gave him charge of his district. {cite:futuh-buldan-maarif-1407 p.327}"
    },
    {
     "heading": "Al-Rashid's decision",
     "markdown": "When Harthama was removed, Ibn al-Akki came after him, and his conduct grew so bad that the district rose against him. Al-Rashid consulted Harthama, who advised reconciling with Ibrahim and appointing him. Al-Rashid wrote to him that he had pardoned his offence and appointed him over the Maghrib; he stood at the frontier and held it. {cite:futuh-buldan-maarif-1407 p.327}\n\nThe date recorded in the data is approximate, between about 795 and 800 CE, and the conversion is derived."
    }
   ],
   "frontmatter": {
    "id": "event/ibrahim-ibn-al-aghab-maghreb",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "بلاذری بیان کرتے ہیں کہ [[person/ibrahim-ibn-al-aghab|ابراہیم بن الاغلب]] خلافتِ [[person/harun-al-rashid|ہارون الرشید]] کے دور میں مغرب کے علاقے کے حاکم کیسے بنے، جبکہ وہ پہلے مصر کے فوجی سرداروں میں سے تھے {cite:futuh-buldan-maarif-1407 p.327}۔"
    },
    {
     "heading": "بغاوت سے ولایت تک",
     "markdown": "ابراہیم بارہ آدمیوں کے ساتھ اٹھے۔ انہوں نے بیت المال سے صرف اتنا لیا جتنا ان کا وظیفہ بنتا تھا، اور قیروان کے مشرق میں زاب کے مقام پر جا پہنچے۔ اس وقت سرحد کے عامل [[person/harthama-ibn-ayan|ہرثمہ بن اعین]] تھے۔ ابراہیم نے تحفے پیش کر کے ان کا قرب حاصل کیا اور لکھا کہ وہ اطاعت سے نہیں نکلے، بس مجبوری نے ایسا کرایا۔ اس پر ہرثمہ نے انہیں اس علاقے کا حاکم بنا دیا {cite:futuh-buldan-maarif-1407 p.327}۔"
    },
    {
     "heading": "رشید کا فیصلہ",
     "markdown": "جب ہرثمہ کو معزول کیا گیا تو ان کے بعد ابن العکی آئے، جن کی حکومت اتنی بری رہی کہ علاقے نے ان کے خلاف بغاوت کر دی۔ رشید نے ہرثمہ سے مشورہ کیا، تو انہوں نے ابراہیم کو راضی کرنے اور انہیں حاکم بنانے کا مشورہ دیا۔ رشید نے ابراہیم کو لکھا کہ انہوں نے ان کا قصور معاف کیا اور انہیں مغرب کا حاکم بنایا، تو انہوں نے سرحد سنبھالی اور اسے منظم کیا {cite:futuh-buldan-maarif-1407 p.327}۔\n\nڈیٹا میں محفوظ تاریخ تقریباً ہے: 795 تا 800ء کے درمیان، اور اس کی تبدیلی اخذ کردہ ہے۔"
    }
   ],
   "frontmatter": {
    "id": "event/ibrahim-ibn-al-aghab-maghreb",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-18"
  }
 },
 "degree": 10,
 "contemporaries": [],
 "updated": "2026-10-16",
 "connections": [
  {
   "to": "person/ibrahim-ibn-al-aghab",
   "type": "had_participant",
   "inverse": true,
   "role": "المولّى مؤسس ولاية الأغالبة",
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  },
  {
   "to": "place/ifriqiya",
   "type": "occurred_at",
   "inverse": false
  },
  {
   "to": "place/al-zab",
   "type": "occurred_at",
   "inverse": false,
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  },
  {
   "to": "person/harthama-ibn-ayan",
   "type": "had_participant",
   "inverse": true,
   "role": "المولّي له الناحية والمشير به على الرشيد",
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  },
  {
   "to": "person/harun-al-rashid",
   "type": "had_participant",
   "inverse": true,
   "role": "الصافح المولّي",
   "sources": [
    "source/futuh-buldan-maarif-1407"
   ]
  }
 ],
 "related": [
  "event/founding-of-tarsus",
  "building/bayt-al-hikma",
  "event/abd-al-rahman-ibn-habib-rule",
  "event/captives-of-samalu",
  "event/death-of-harun-al-rashid",
  "event/expulsion-of-najran",
  "event/first-raid-on-ifriqiya",
  "event/founding-of-al-hadath"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}