{
 "id": "person/al-majusi-hafsi",
 "class": "person",
 "slug": "al-majusi-hafsi",
 "label": {
  "ar": "المجوسي",
  "en": "al-Majusi"
 },
 "summary": {
  "ar": "أندلسي جاء إلى تونس فخدم في أعمال السلطان أبي زكريا الحفصي، ونبه على أن أعمال الدولة منضبطة لا محصلة في ديوان فدُفعت إليه فأنمى جبايتها وقرّر ديوانها، واستعمله السلطان في الأشغال وهي خطة لا يليها إلا كبير من مشيخة الموحدين، فاتخذ شارة أرباب السيوف وارتبط الخيل، حتى قيل له ذات يوم: «عندي ببابك ألف من الجنود أرم بهم من تشاء من أمثالهم»، فأعرض عنه السلطان وسطا به وتقبض عليه سنة 689هـ ووكل امتحانه إلى أعدائه.",
  "en": "An Andalusi who entered Sultan Abu Zakariya's service at Tunis, showed him the state's revenues were unaccounted in any diwan, and was put in charge — enlarging the tax yield and fixing the register until appointed to the Ashghal office that only a senior Almohad shaykh had held; he took the insignia of the sword-lords and kept his own cavalry until, having boasted of a thousand soldiers at his door, the Sultan arrested him in 689 AH and handed his torture to his enemies."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [
  "maghreb",
  "andalus-europe"
 ],
 "periods": [
  "period/mongol-post-mongol"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1290.0024641163063,
  "latest": 1291.0018001738254
 },
 "display": {
  "end": {
   "edtf": "1290",
   "hijri": "0689",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "تقبض عليه وامتحن سنة 689هـ؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 },
 "data": {
  "gender": "male",
  "roles": [
   "vizier"
  ],
  "traditions": [
   "sunni"
  ],
  "died": {
   "edtf": "1290",
   "hijri": "0689",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "تقبض عليه وامتحن سنة 689هـ؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — الخبر عن المجوسي وأوليته ومآل أمره، ص1704 (المجلد السادس، طبعة هيليوبوليس)",
   "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": "أندلسي جاء إلى تونس وخدم في أعمال السلطان أبي زكريا الحفصي. ينقل ابن خلدون أنه نبّه على أن أعمال الدولة منضبطة لكنها غير محصّلة في ديوان، فدُفعت إليه، فأنمى جبايتها وقرّر ديوانها. {cite:tarikh-ibn-khaldun-ibar}\n\nثم استعمله السلطان في الأشغال، وهي خطة لا يليها إلا كبير من مشيخة الموحدين. فاتخذ شارة أرباب السيوف وارتبط الخيل. {cite:tarikh-ibn-khaldun-ibar}\n\nويذكر ابن خلدون أنه قال يوماً إن عنده ببابه ألف جندي، فأعرض عنه السلطان وقبض عليه سنة 689هـ، وجعل امتحانه إلى أعدائه. {cite:tarikh-ibn-khaldun-ibar}\n\nتاريخ القبض الميلادي (نحو 1290م) مشتق من الهجري. {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "person/al-majusi-hafsi",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "A man of al-Andalus who came to Tunis and served in the works of Sultan Abu Zakariya al-Hafsi. Ibn Khaldun relates that he pointed out that the affairs of the state were properly ordered but were not collected into a register, so it was handed to him, and he increased its revenue and set its register in order. {cite:tarikh-ibn-khaldun-ibar}\n\nThen the sultan employed him in the public works, an office that none but a great man among the Almohad shaykhs held. He took the emblem of the men of swords and kept horses. {cite:tarikh-ibn-khaldun-ibar}\n\nIbn Khaldun says that one day he said that he had a thousand soldiers at his gate, and the sultan turned away from him and arrested him in 689 AH, and he left his trial to his enemies. {cite:tarikh-ibn-khaldun-ibar}\n\nThe Gregorian date of the arrest (about 1290 CE) is derived from the Hijri date. {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "person/al-majusi-hafsi",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-16"
  },
  "ur": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "ایک اندلسی شخص تیونس آیا اور سلطان ابو زکریا حفصی کے انتظامی کاموں میں خدمت کرنے لگا۔ ابن خلدون بیان کرتے ہیں کہ اس نے بتایا کہ ریاست کے معاملات منظم ہیں مگر دیوان میں ان کی وصولی درج نہیں ہوتی، چنانچہ یہ کام اس کے سپرد کیا گیا، تو اس نے وصولی بڑھائی اور دیوان کو باقاعدہ کیا۔ {cite:tarikh-ibn-khaldun-ibar}\n\nپھر سلطان نے اسے امورِ مملکت کے کاموں پر مامور کیا، یہ ایسا منصب تھا جو موحدین کے مشائخ میں سے کسی بڑے کے سوا کسی کو نہیں ملتا تھا۔ اس نے تلوار والے اہل منصب کا نشان اپنایا اور گھوڑے باندھنے لگا۔ {cite:tarikh-ibn-khaldun-ibar}\n\nابن خلدون ایک دن کا واقعہ بیان کرتے ہیں کہ اس نے کہا کہ اس کے دروازے پر ایک ہزار سپاہی ہیں۔ سلطان اس سے منہ موڑ گیا اور 689 ہجری میں اسے گرفتار کر لیا، اور اس کی آزمائش اس کے دشمنوں کے سپرد کر دی۔ {cite:tarikh-ibn-khaldun-ibar}\n\nگرفتاری کی عیسوی تاریخ (تقریباً 1290ء) ہجری تاریخ سے اخذ کی گئی ہے۔ {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "person/al-majusi-hafsi",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-19"
  }
 },
 "degree": 0,
 "contemporaries": [
  "person/abu-al-fida",
  "person/afif-al-din-al-tilimsani",
  "person/afif-al-din-ibn-mazru",
  "person/ahmad-al-suhrawardi",
  "person/ahmad-ibn-muhsin",
  "person/al-abili-muhammad-ibn-ibrahim",
  "person/al-abraqawhi-ahmad",
  "person/al-adfawi-jafar-ibn-thaalaba",
  "person/al-astarabadhi-al-hasan",
  "person/al-ayki",
  "person/al-busiri",
  "person/al-dimyati"
 ],
 "updated": "2026-10-15",
 "connections": [],
 "related": [],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}