{
 "id": "person/ali-ibn-mahdi-al-himyari",
 "class": "person",
 "slug": "ali-ibn-mahdi-al-himyari",
 "label": {
  "ar": "علي بن مهدي الحميري",
  "en": "Ali ibn Mahdi al-Himyari"
 },
 "summary": {
  "ar": "علي بن مهدي الحميري من أهل العثر من سواحل زبيد؛ نشأ على صلاح أبيه فاعتزل ونسك، وحج ولقي علماء العراق وأخذ الوعظ من وعاظهم، وكان حافظاً فصيحاً يخبر بحوادث أحواله فيصدق فمال إليه الناس، وكان يقول في وعظه دنا الوقت يشير إلى وقت ظهوره، فلما ماتت أم فاتك صاحبة زبيد سنة خمس وأربعين وخمسمائة جاءه أهل الجبال وحالفوه فظهر أمره وملك تهامة وجبالها، وقهر بني نجاح بزبيد فملكها سنة أربع وخمسين وخمسمائة وانقرض أمر آل نجاح والملك لله، وذهب ملك بني سليمان من جميع التهائم والجبال واليمن على يد بني مهدي.",
  "en": "Ali ibn Mahdi al-Himyari of al-Uthr on Zabid's coasts; raised in his father's piety, withdrawn in worship, he made the hajj, sat with Iraq's scholars and took preaching from their preachers — a memorizing, eloquent man whose foretellings of his own affairs came true, so the people inclined to him, his sermon-cry 'the time is near' pointing to his own rising; when Umm Fatik of Zabid died in 545 the mountain folk swore to him, his cause flared, he crushed the Najahids and took Zabid in 554 ending their house — and all Tihama, the mountains and Yemen passed from the Sulaymanids' hands into Banu Mahdi's."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [
  "arabia"
 ],
 "periods": [
  "period/crusades-ayyubid-mamluk"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "data": {
  "gender": "male",
  "roles": [
   "ruler",
   "preacher"
  ],
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — أخبار ابن مهدي الخارجي وبنيه، ص1040 وما بعدها (طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-east-33"
  },
  "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": "بعد وفاة أم فاتك صاحبة زبيد سنة 545هـ جاءه أهل الجبال وحالفوه، فملك تهامة وجبالها، وغلب بني نجاح على زبيد سنة 554هـ. وكان هو مؤسس [[polity/dawlat-bani-mahdi-yemen|دولة بني مهدي في اليمن]]. {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "person/ali-ibn-mahdi-al-himyari",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-16"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Ali ibn Mahdi al-Himyari, of the people of al-Athr on the coast of Zabid. Ibn Khaldun says in \"al-Ibar\" that he grew up in the righteousness of his father, withdrew and became ascetic, went on the pilgrimage, met the scholars of Iraq and took preaching from their preachers. He was a memoriser and eloquent, so people inclined to him. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "The founding of his state",
     "markdown": "After the death of Umm Fatik, the ruler of Zabid, in 545 AH, the people of the mountains came to him and allied with him. He took Tihama and its mountains, and in 554 AH he overcame the Banu Najah in Zabid. He was the founder of [[polity/dawlat-bani-mahdi-yemen|the state of the Banu Mahdi in Yemen]]. {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "person/ali-ibn-mahdi-al-himyari",
    "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}"
    },
    {
     "heading": "ریاست کا قیام",
     "markdown": "سنہ 545ھ میں زبید کی حاکمہ ام فاتک کی وفات کے بعد پہاڑی علاقوں کے لوگ ان کے پاس آئے اور ان سے عہد کیا، تو انہوں نے تہامہ اور اس کے پہاڑوں پر حکومت قائم کی، اور سنہ 554ھ میں بنی نجاح کو زبید میں مغلوب کیا۔ وہ [[polity/dawlat-bani-mahdi-yemen|یمن میں بنی مہدی کی ریاست]] کے بانی تھے۔ {cite:tarikh-ibn-khaldun-ibar}"
    }
   ],
   "frontmatter": {
    "id": "person/ali-ibn-mahdi-al-himyari",
    "lang": "ur",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   },
   "updated": "2026-10-19"
  }
 },
 "degree": 2,
 "contemporaries": [],
 "updated": "2026-10-15",
 "connections": [
  {
   "to": "polity/dawlat-bani-mahdi-yemen",
   "type": "founder_of",
   "inverse": false,
   "note": "دعا فقامت دولته باليمن",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 ],
 "related": [
  "polity/dawlat-bani-mahdi-yemen"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}