{
 "id": "person/shah-alam-ii",
 "class": "person",
 "slug": "shah-alam-ii",
 "label": {
  "ar": "شاه عالم الثاني",
  "en": "Shah Alam II",
  "ur": "شاہ عالم ثانی"
 },
 "summary": {
  "ar": "شاه عالم الثاني (25 يونيو 1728 – 19 نوفمبر 1806)، إمبراطور المغول في الهند، ابن عالمكير الثاني، حكم من 1760 إلى 1788 ومن 1788 إلى 1806. بعد هزيمته عند بوكسار منح شركة الهند الشرقية ديواني البنغال بمعاهدة الله آباد سنة 1765، وفي 1788 سمل غلام قادر عينيه وهو أسيره. كان شاعراً يكتب بتخلّص «آفتاب»، وله ديوان شعر وكتاب «عجائب القصص» في النثر الأردي المبكر، وتوفي في دلهي.",
  "en": "Shah Alam II (25 June 1728 – 19 November 1806) was Mughal emperor, a son of Alamgir II, reigning from 1760 to 1788 and again from 1788 to 1806. Defeated at Buxar, he granted the East India Company the Diwani of Bengal by the Treaty of Allahabad in 1765; in 1788, his prisoner Ghulam Qadir blinded him. He was a poet under the pen name Aftab, author of a Diwan and of the early Urdu prose work Ajaib-ul-Qasas, and he died at Delhi.",
  "ur": "شاہ عالم ثانی (25 جون 1728ء – 19 نومبر 1806ء) مغلیہ سلطنت کے بادشاہ، عالمگیر ثانی کے فرزند، 1760ء سے 1788ء اور پھر 1788ء سے 1806ء تک تخت نشین رہے۔ بکسر کی شکست کے بعد آپ نے 1765ء کے معاہدۂ الٰہ آباد کے ذریعے ایسٹ انڈیا کمپنی کو بنگال کی دیوانی عطا کی؛ 1788ء میں غلام قادر نے قید میں آپ کی آنکھیں نکال دیں۔ آپ «آفتاب» تخلص کے شاعر تھے، آپ کا دیوان اور ابتدائی اردو نثر کی کتاب «عجائب القصص» آپ کی یادگار ہے؛ آپ کی وفات دہلی میں ہوئی۔"
 },
 "stub": false,
 "wings": [
  "people"
 ],
 "regions": [
  "south-asia"
 ],
 "periods": [],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1728.4810091925228,
  "latest": 1806.883714244614
 },
 "display": {
  "start": {
   "edtf": "1728-06-25",
   "hijri": "1140",
   "calendar": "gregorian",
   "precision": "day",
   "status": "historical",
   "derived": true,
   "note": "The English article and Wikidata agree at day precision on 25 June 1728; the Hijri year 1140 is converted from the Gregorian date. He was born at Shahjahanabad, Delhi.",
   "sources": [
    "source/wikipedia-shah-alam-ii-en",
    "source/wikidata-shah-alam-ii"
   ]
  },
  "end": {
   "edtf": "1806-11-19",
   "hijri": "1221",
   "calendar": "gregorian",
   "precision": "day",
   "status": "historical",
   "derived": true,
   "note": "The English article and Wikidata agree at day precision on 19 November 1806, at Delhi; the Hijri year 1221 is converted from the Gregorian date. His grave lies beside the dargah of Qutbuddin Bakhtiar Kaki at Mehrauli.",
   "sources": [
    "source/wikipedia-shah-alam-ii-en",
    "source/wikidata-shah-alam-ii"
   ]
  }
 },
 "data": {
  "names": [
   {
    "value": "ميرزا علي كوهر",
    "kind": "full"
   },
   {
    "value": "Mirza Ali Gauhar",
    "kind": "full"
   },
   {
    "value": "Shah Alam II",
    "kind": "regnal"
   },
   {
    "value": "Aftab",
    "kind": "pen"
   },
   {
    "value": "Ali Gauhar",
    "kind": "alternate"
   }
  ],
  "gender": "male",
  "roles": [
   "sultan",
   "poet"
  ],
  "born": {
   "edtf": "1728-06-25",
   "hijri": "1140",
   "calendar": "gregorian",
   "precision": "day",
   "status": "historical",
   "derived": true,
   "note": "The English article and Wikidata agree at day precision on 25 June 1728; the Hijri year 1140 is converted from the Gregorian date. He was born at Shahjahanabad, Delhi.",
   "sources": [
    "source/wikipedia-shah-alam-ii-en",
    "source/wikidata-shah-alam-ii"
   ]
  },
  "died": {
   "edtf": "1806-11-19",
   "hijri": "1221",
   "calendar": "gregorian",
   "precision": "day",
   "status": "historical",
   "derived": true,
   "note": "The English article and Wikidata agree at day precision on 19 November 1806, at Delhi; the Hijri year 1221 is converted from the Gregorian date. His grave lies beside the dargah of Qutbuddin Bakhtiar Kaki at Mehrauli.",
   "sources": [
    "source/wikipedia-shah-alam-ii-en",
    "source/wikidata-shah-alam-ii"
   ]
  },
  "faith": [
   {
    "value": "unknown",
    "basis": "unknown",
    "note": "No source consulted names a legal school for Shah Alam II himself in text. The English article's infobox gives his religion as Sunni Islam (Hanafi) — a single structured attestation that the article body does not corroborate; the Arabic article's infobox gives Islam only, and Wikidata's religion value is Islam generically. The Mughal court's Hanafi tradition is the context of his reign, and a court's tradition never counts as the man's own attestation. Under the lane's doctrine a school is settled only on two independent sources naming it for the person himself, so his faith is recorded as unattested and the infobox attestation is preserved here.",
    "sources": [
     "source/wikipedia-shah-alam-ii-en",
     "source/wikipedia-shah-alam-ii-ar",
     "source/wikidata-shah-alam-ii"
    ]
   }
  ],
  "external_ids": {
   "wikidata": "Q719449"
  },
  "sources": [
   "source/wikipedia-shah-alam-ii-en",
   "source/wikipedia-shah-alam-ii-ar",
   "source/wikipedia-shah-alam-ii-ur",
   "source/wikidata-shah-alam-ii"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "English Wikipedia (revision 1366062944 of 26 July 2026), Arabic Wikipedia (revision 71469213 of 22 July 2025), Urdu Wikipedia (revision 11800900 of 18 August 2026) and Wikidata Q719449 (item revision 2561072518), all fetched live in-session on 1 November 2026; the QID was grounded from the English article's own page property (the Arabic and Urdu articles' agree) and the item revision re-asserted against a second live query. Existence checked by slug and by name fragments across data/person/ in the worktree and against origin/main before building — no prior record and no draft stub. No edge is written to his son Akbar II, whose record does not yet exist (a later queue row), and no other relations are asserted.",
   "generated_by": "Muse (Muse Spark 1.3)",
   "run": "wave-160j"
  },
  "status": {
   "review": "published",
   "generated_by": "Muse (Muse Spark 1.3)"
  }
 },
 "prose": {
  "ar": {
   "sections": [
    {
     "heading": "موجز",
     "markdown": "شاه عالم الثاني (25 يونيو 1728 – 19 نوفمبر 1806)، وُلد باسم ميرزا علي كوهر، إمبراطور المغول من 1760 إلى 1788 ثم من 1788 إلى 1806 — الإمبراطور الذي منح، بعد بوكسار، شركةَ الهند الشرقية ديواني البنغال، والذي سمل غلام قادر عينيه سنة 1788 وهو أسيره {cite:wikipedia-shah-alam-ii-en}."
    },
    {
     "heading": "المنفى والإمبراطورية والأسر",
     "markdown": "ابن عالمكير الثاني، فرّ من دلهي أميراً سنة 1758 وأُعلن إمبراطوراً في المنفى في ديسمبر 1759 {cite:wikipedia-shah-alam-ii-en}. وبعد هزيمة الحلف عند بوكسار في أكتوبر 1764 تصالح عند الله آباد في أغسطس 1765، فمنح الشركة الديواني — إدارة جباية البنغال وبيهار وأوديشا — مقابل معاش ومنطقتي كورا والله آباد {cite:wikipedia-shah-alam-ii-en}. وعاد إلى دلهي في يناير 1772 تحت حماية الماراثا وحكم فيها سلطاناً يزداد اعتماده على المعاش، بينما انتقلت السلطة الفعلية بين مهاداجي شينده وفي أزمة 1788 إلى الزعيم الروهيلّي غلام قادر الذي استولى على دلهي وسمل عينيه {cite:wikipedia-shah-alam-ii-en}. أعاده شينده، وظل تحت حماية الماراثا ثم من 1803 تحت حماية الإنجليز، وتوفي في دلهي في 19 نوفمبر 1806؛ وقبره بجانب دركاه قطب الدين بختيار كاكي في مهراولي {cite:wikipedia-shah-alam-ii-en}."
    },
    {
     "heading": "شعره",
     "markdown": "كان يكتب بتخلّص «آفتاب»، فله ديوان شعر بالفارسية والأردية وكتاب «عجائب القصص» الذي يُعدّ من أوائل آثار النثر الأردي {cite:wikipedia-shah-alam-ii-en}."
    },
    {
     "heading": "مذهبه",
     "markdown": "مذهب شاه عالم الثاني الفقهي غير موثّق في المصادر التي اطّلعنا عليها. فصندوق معلومات المقالة الإنجليزية يذكر «الإسلام السنّي (الحنفي)» {cite:wikipedia-shah-alam-ii-en}، لكن صندوق معلومات المقالة العربية يذكر الإسلام فحسب {cite:wikipedia-shah-alam-ii-ar} وويكي بيانات تسجل الإسلام بصورة عامة كذلك {cite:wikidata-shah-alam-ii}؛ والمذهب الحنفي لبلاط المغول هو سياق حكمه، لا شهادة على الرجل نفسه."
    },
    {
     "heading": "ملاحظات للباحثين",
     "markdown": "تتفق المقالة الإنجليزية وويكي بيانات بدقة اليوم على ولادته (25 يونيو 1728) ووفاته (19 نوفمبر 1806) معاً {cite:wikipedia-shah-alam-ii-en} {cite:wikidata-shah-alam-ii}. ولأبيه عالمكير الثاني سجلّ مسودة في المتحف، وإليه تشير علاقة الابن هنا. وابنه أكبر الثاني، الذي خلفه، صفٌّ لاحق في قائمة الحصاد نفسها وليس له سجلّ بعد، فلا علاقة إليه مسجلة من هذا الجانب."
    }
   ],
   "frontmatter": {
    "id": "person/shah-alam-ii",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-11-01"
  },
  "en": {
   "sections": [
    {
     "heading": "Summary",
     "markdown": "Shah Alam II (25 June 1728 – 19 November 1806), born Mirza Ali Gauhar, was Mughal emperor from 1760 to 1788 and again from 1788 to 1806 — the emperor who, after Buxar, granted the East India Company the Diwani of Bengal, and who was blinded by his own prisoner Ghulam Qadir in 1788 {cite:wikipedia-shah-alam-ii-en}."
    },
    {
     "heading": "Exile, empire and captivity",
     "markdown": "A son of Alamgir II, he fled Delhi as a prince in 1758 and was proclaimed emperor in exile in December 1759 {cite:wikipedia-shah-alam-ii-en}. After the confederate defeat at Buxar in October 1764 he came to terms at Allahabad in August 1765, granting the Company the Diwani — the revenue administration of Bengal, Bihar and Odisha — in return for a pension and the districts of Kora and Allahabad {cite:wikipedia-shah-alam-ii-en}. He returned to Delhi in January 1772 under Maratha protection and reigned there as an increasingly pensioned sovereign, while real power passed between Mahadaji Shinde and, in the crisis of 1788, the Rohilla chief Ghulam Qadir, who seized Delhi and blinded him {cite:wikipedia-shah-alam-ii-en}. Restored by Shinde, he lived on under Maratha and then, after 1803, British protection, dying at Delhi on 19 November 1806; his grave lies beside the dargah of Qutbuddin Bakhtiar Kaki at Mehrauli {cite:wikipedia-shah-alam-ii-en}."
    },
    {
     "heading": "Poetry",
     "markdown": "Under the pen name Aftab he wrote a Diwan of Persian and Urdu verse and Ajaib-ul-Qasas, counted among the earliest works of Urdu prose {cite:wikipedia-shah-alam-ii-en}."
    },
    {
     "heading": "Faith",
     "markdown": "Shah Alam II's legal school is unattested in the sources consulted. The English article's infobox gives Sunni Islam (Hanafi) {cite:wikipedia-shah-alam-ii-en}, but the Arabic article's infobox gives Islam only {cite:wikipedia-shah-alam-ii-ar} and Wikidata likewise records Islam generically {cite:wikidata-shah-alam-ii}; the Mughal court's Hanafi tradition is the context of his reign, not an attestation about the man."
    },
    {
     "heading": "Notes for researchers",
     "markdown": "The English article and Wikidata agree at day precision on both his birth (25 June 1728) and his death (19 November 1806) {cite:wikipedia-shah-alam-ii-en} {cite:wikidata-shah-alam-ii}. His father Alamgir II has a draft record in the museum, to which the child edge here points. His son Akbar II, who succeeded him, is a later row of the same harvest queue and has no record yet, so no edge to him is recorded from this side."
    }
   ],
   "frontmatter": {
    "id": "person/shah-alam-ii",
    "lang": "en",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-11-01"
  },
  "ur": {
   "sections": [
    {
     "heading": "خلاصہ",
     "markdown": "شاہ عالم ثانی (25 جون 1728ء – 19 نومبر 1806ء)، پیدائشی نام مرزا علی گوہر، 1760ء سے 1788ء اور پھر 1788ء سے 1806ء تک مغلیہ بادشاہ رہے — وہ بادشاہ جنھوں نے بکسر کے بعد ایسٹ انڈیا کمپنی کو بنگال کی دیوانی عطا کی، اور جن کی آنکھیں 1788ء میں ان کے اپنے قیدی غلام قادر نے نکال دیں {cite:wikipedia-shah-alam-ii-en}۔"
    },
    {
     "heading": "جلاوطنی، سلطنت و قید",
     "markdown": "عالمگیر ثانی کے فرزند، آپ 1758ء میں شہزادے کے طور پر دہلی سے فرار ہوئے اور دسمبر 1759ء میں جلاوطنی میں بادشاہ قرار دیے گئے {cite:wikipedia-shah-alam-ii-en}۔ اکتوبر 1764ء میں بکسر کی مشترکہ شکست کے بعد آپ نے اگست 1765ء میں الٰہ آباد میں صلح کی اور کمپنی کو دیوانی — بنگال، بہار اور اڑیسہ کی مالی وصولی کی انتظامیہ — وظیفے اور کورا و الٰہ آباد کے اضلاع کے بدلے عطا کی {cite:wikipedia-shah-alam-ii-en}۔ آپ جنوری 1772ء میں مرہٹہ حفاظت میں دہلی واپس آئے اور وہاں بتدریج وظیفہ خوار بادشاہ کی حیثیت سے حکومت کرتے رہے، جبکہ اصل اقتدار مہاداجی شندے اور 1788ء کے بحران میں روہیلہ سردار غلام قادر کے درمیان منتقل ہوتا رہا، جس نے دہلی پر قبضہ کر کے آپ کی آنکھیں نکال دیں {cite:wikipedia-shah-alam-ii-en}۔ شندے نے آپ کو بحال کیا، اور آپ مرہٹہ اور پھر 1803ء کے بعد انگریزی حفاظت میں رہے، 19 نومبر 1806ء کو دہلی میں وفات پائی؛ آپ کی قبر مہرولی میں قطب الدین بختیار کاکی کی درگاہ کے پہلو میں ہے {cite:wikipedia-shah-alam-ii-en}۔"
    },
    {
     "heading": "شاعری",
     "markdown": "آپ «آفتاب» تخلص سے شعر کہتے تھے؛ آپ کا فارسی و اردو کلام کا دیوان اور «عجائب القصص» آپ کی یادگار ہے، جو اردو نثر کے اولین آثار میں شمار ہوتی ہے {cite:wikipedia-shah-alam-ii-en}۔"
    },
    {
     "heading": "مسلک",
     "markdown": "شاہ عالم ثانی کا فقہی مسلک ہم نے جو ماخذ دیکھے ان میں غیر موثق ہے۔ انگریزی مضمون کا معلوماتی خانہ «سنی اسلام (حنفی)» درج کرتا ہے {cite:wikipedia-shah-alam-ii-en}، مگر عربی مضمون کا معلوماتی خانہ صرف اسلام درج کرتا ہے {cite:wikipedia-shah-alam-ii-ar} اور وکی ڈیٹا بھی اسلام کو عام طور پر درج کرتا ہے {cite:wikidata-shah-alam-ii}؛ مغلیہ دربار کی حنفی روایت آپ کے دور کا سیاق ہے، خود آپ کے بارے میں گواہی نہیں۔"
    },
    {
     "heading": "محققین کے لیے نوٹس",
     "markdown": "انگریزی مضمون اور وکی ڈیٹا آپ کی ولادت (25 جون 1728ء) اور وفات (19 نومبر 1806ء) دونوں پر یومی درستگی کے ساتھ متفق ہیں {cite:wikipedia-shah-alam-ii-en} {cite:wikidata-shah-alam-ii}۔ آپ کے والد عالمگیر ثانی کا عجائب گھر میں مسودہ ریکارڈ موجود ہے، اور یہاں فرزندی کا تعلق اسی کی طرف اشارہ کرتا ہے۔ آپ کے فرزند اکبر ثانی، جو آپ کے جانشین ہوئے، اسی فصل کی فہرست کی بعد کی صف ہیں اور ان کا ابھی کوئی ریکارڈ نہیں، اس لیے اس طرف سے ان کی طرف کوئی تعلق درج نہیں کیا گیا۔"
    }
   ],
   "frontmatter": {
    "id": "person/shah-alam-ii",
    "lang": "ur",
    "source_lang": "ar",
    "translators": []
   },
   "updated": "2026-11-01"
  }
 },
 "degree": 8,
 "contemporaries": [
  "person/abdul-kader-kane",
  "person/hamdan-khoja",
  "person/mir-taqi-mir",
  "person/mukhtar-al-kunti",
  "person/jazzar-pasha",
  "person/abdulaziz-ibn-muhammad",
  "person/damat-melek-mehmet-pasha",
  "person/nazir-akbarabadi",
  "person/waris-shah",
  "person/abd-allah-al-sharqawi",
  "person/ahmad-al-tijani",
  "person/asaf-jah-ii"
 ],
 "updated": "2026-11-01",
 "connections": [
  {
   "to": "person/akbar-ii",
   "type": "parent_of",
   "inverse": true,
   "sources": [
    "source/wikipedia-akbar-ii-en",
    "source/wikidata-akbar-ii"
   ]
  },
  {
   "to": "person/alamgir-ii-mughal",
   "type": "child_of",
   "inverse": false,
   "sources": [
    "source/wikipedia-shah-alam-ii-en",
    "source/wikidata-shah-alam-ii"
   ]
  },
  {
   "to": "place/delhi",
   "type": "born_in",
   "inverse": false,
   "sources": [
    "source/wikipedia-shah-alam-ii-en"
   ]
  },
  {
   "to": "place/delhi",
   "type": "died_in",
   "inverse": false,
   "sources": [
    "source/wikipedia-shah-alam-ii-en"
   ]
  }
 ],
 "related": [
  "person/akbar-ii",
  "place/delhi",
  "event/aurangzeb-coronation-delhi-1659",
  "event/founding-of-shahjahanabad-1638",
  "event/humayun-returns-to-delhi-962",
  "event/ibn-battuta-envoy-to-china-1342",
  "event/jama-masjid-delhi-completed-1656",
  "event/nadir-shah-sack-of-delhi-1739"
 ],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}