{
 "id": "person/al-malik-al-afdal-shahanshah",
 "class": "person",
 "slug": "al-malik-al-afdal-shahanshah",
 "label": {
  "ar": "الملك الأفضل شاهنشاه",
  "en": "al-Malik al-Afdal Shahanshah"
 },
 "summary": {
  "ar": "أبو القاسم شاهنشاه الملقب الملك الأفضل بن أمير الجيوش بدر الجمالي؛ ولي الوزارة موضع أبيه في حياته لما مرض؛ وأقام المستعلي أحمد مقام أبيه المستنصر واستمر على الوزارة؛ وكان حسن التدبير فحل الرأي؛ وهو الذي أقام الآمر بن المستعلي موضع أبيه في المملكة ودبّر دولته وحجر عليه ومنعه من ارتكاب الشهوات فحمله ذلك على أن عمل على قتله فأُوثب عليه جماعة فقتلوه؛ وكان يسكن بمصر في دار الملك التي على نحر النيل {cite:wafayat-ayan}.",
  "en": "Al-Afdal Shahanshah b. Badr al-Jamali (k. 515) — Fatimid vizier who installed al-Musta'li then al-Amir; restrained the caliph until al-Amir had him cut down; killed at Ramadan's close {cite:wafayat-ayan}."
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [],
 "periods": [
  "period/buyid-seljuk-fatimid-era"
 ],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1066.0006023395415,
  "latest": 1121.9990143534458
 },
 "display": {
  "start": {
   "edtf": "1066~",
   "hijri": "0458",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "كان مولده بعكا سنة ثمان وخمسين وأربعمائة {cite:shadharat-dhahab p. 527}."
  },
  "end": {
   "edtf": "1121",
   "hijri": "0515",
   "calendar": "julian",
   "precision": "month",
   "status": "tradition",
   "derived": true,
   "note": "قُتل في سلخ رمضان عشية يوم الأحد سنة خمس عشرة وخمسمائة {cite:wafayat-ayan}؛ وفي الشذرات: وثب عليه ثلاثة من الباطنية فضربوه السكاكين فقتلوه وحمل بآخر رمق وقيل الآمر دسهم عليه بتدبير إلى عضد الدولة البطايحي الذي وزر بعده ولقب بالمأمون {cite:shadharat-dhahab p. 527}."
  }
 },
 "data": {
  "born": {
   "edtf": "1066~",
   "hijri": "0458",
   "calendar": "julian",
   "precision": "year",
   "status": "tradition",
   "derived": true,
   "note": "كان مولده بعكا سنة ثمان وخمسين وأربعمائة {cite:shadharat-dhahab p. 527}."
  },
  "died": {
   "edtf": "1121",
   "hijri": "0515",
   "calendar": "julian",
   "precision": "month",
   "status": "tradition",
   "derived": true,
   "note": "قُتل في سلخ رمضان عشية يوم الأحد سنة خمس عشرة وخمسمائة {cite:wafayat-ayan}؛ وفي الشذرات: وثب عليه ثلاثة من الباطنية فضربوه السكاكين فقتلوه وحمل بآخر رمق وقيل الآمر دسهم عليه بتدبير إلى عضد الدولة البطايحي الذي وزر بعده ولقب بالمأمون {cite:shadharat-dhahab p. 527}."
  },
  "gender": "male",
  "provenance": {
   "layer": "own-research",
   "source": "وفيات الأعيان لابن خلكان — الجزء الثاني (ترجمة شاهنشاه بن بدر الجمالي)، طبعة إحسان عباس، النص المقروء آلياً (djvu) من archive.org",
   "generated_by": "Devin (SWE-2 High) from djvu OCR text",
   "run": "lib-wafayat-batch-19"
  },
  "sources": [
   "source/wafayat-ayan",
   "source/shadharat-dhahab"
  ],
  "status": {
   "review": "draft",
   "completeness": 1,
   "generated_by": "Devin (SWE-2 High)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "أبو القاسم شاهنشاه الملقب الملك الأفضل بن أمير الجيوش بدر الجمالي؛ ولي الوزارة موضع أبيه في حياته لما مرض، وأقام المستعلي أحمد مقام أبيه المستنصر واستمر على الوزارة، وكان حسن التدبير فحل الرأي. {cite:wafayat-ayan}"
    },
    {
     "heading": "مقتله",
     "markdown": "وهو الذي أقام الآمر بن المستعلي موضع أبيه في المملكة ودبر دولته وحجر عليه ومنعه من ارتكاب الشهوات، فحمله ذلك على أن عمل على قتله، فأُوثب عليه جماعة فقتلوه؛ وكان يسكن بمصر في دار الملك التي على نحر النيل. {cite:wafayat-ayan}"
    }
   ],
   "frontmatter": {
    "id": "person/al-malik-al-afdal-shahanshah",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-21"
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "Abu'l-Qasim Shahanshah, titled al-Malik al-Afdal, son of Amir al-Juyush Badr al-Jamali; he took the vizierate in his father's place during the latter's illness, installed al-Musta'li Ahmad in his father al-Mustansir's stead, and remained vizier — a man of fine management and decisive judgment. {cite:wafayat-ayan}"
    },
    {
     "heading": "His assassination",
     "markdown": "It was he who set al-Amir b. al-Musta'li in his father's place, ran his state and confined him, barring him from indulgence — which moved al-Amir to work for his killing; a band leapt upon him and killed him. He used to reside in Egypt at Dar al-Malik on the neck of the Nile. {cite:wafayat-ayan}"
    }
   ],
   "frontmatter": {
    "id": "person/al-malik-al-afdal-shahanshah",
    "lang": "en",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-21"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "ابو القاسم شاہنشاہ لقب ملک افضل بن امیر الجيوش بدر الجمالی؛ باپ کی بیماری میں اس کے مقام وزارت سنبھالی، مستعلی احمد کو باپ مستنصر کے مقام بٹھایا اور وزیر بنا رہا — اچھا منتظم اور فیصلہ کن رائے کا مالک۔ {cite:wafayat-ayan}"
    },
    {
     "heading": "قتل",
     "markdown": "اسی نے آمر بن مستعلی کو باپ کے مقام بٹھایا، سلطنت چلائی اور اس پر پابندی لگائی — جس سے آمر نے اس کا قتل کرایا؛ ایک ٹولی نے حملہ کر کے قتل کیا؛ وہ مصر میں نیل کے کنارے دار الملک میں رہتا تھا۔ {cite:wafayat-ayan}"
    }
   ],
   "frontmatter": {
    "id": "person/al-malik-al-afdal-shahanshah",
    "lang": "ur",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-10-21"
  }
 },
 "degree": 2,
 "contemporaries": [
  "person/abdallah-ibn-hamuwayh",
  "person/abu-bakr-ibn-abd-al-baqi",
  "person/abu-khazim-ibn-abi-yala",
  "person/ahmad-jami",
  "person/al-baghawi-al-husayn-ibn-muhammad",
  "person/al-farawi-kamal-al-din",
  "person/al-ilyusi",
  "person/al-sukraji",
  "person/al-tartushi",
  "person/al-zarakani-al-hafiz",
  "person/hibat-allah-ibn-al-akfani",
  "person/ibn-al-malahimi"
 ],
 "updated": "2026-10-17",
 "connections": [
  {
   "to": "event/nizar-rebellion-alexandria-495",
   "type": "participated_in",
   "inverse": false,
   "role": "أمير الجيوش الظافر بالفتنة",
   "sources": [
    "source/shadharat-dhahab"
   ]
  }
 ],
 "related": [
  "person/nizar-ibn-al-mustansir",
  "place/alexandria",
  "event/nizar-rebellion-alexandria-495"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}