{
 "id": "event/qatwan-battle-536",
 "class": "event",
 "slug": "qatwan-battle-536",
 "label": {
  "ar": "وقعة القارغلية بالسلطان سنجر",
  "en": "Sanjar's catastrophe against the Qara-Khitai"
 },
 "summary": {
  "ar": "وقعة السلطان سنجر مع القارغلية أول صفر سنة 536هـ؛ لما ملك كوخان ملك الخطا ما وراء النهر وشكا إليه محمود خان بن أرسلان خان من القارغلية واستنجد بالسلطان سنجر، سار سنجر وعبر النهر في ذي الحجة سنة 535هـ وكتب إلى ملكهم يدعوه إلى الإسلام ويتهدده، فلقيه القارغلية أول صفر سنة 536هـ فانهزم سنجر والمسلمون واستمر القتل فيهم، وأسر صاحب سجستان والأمير قماج وزوجة السلطان ابنة أرسلان خان، وقال ابن خلدون: لم يكن في الإسلام وقعة أعظم من هذه ولا أفحش قتلاً، واستقرت الدولة فيما وراء النهر للخطا والترك وهم يومئذ على دين الكفر، وانقرضت دولة الخانية المسلمين.",
  "en": "Sultan Sanjar's battle with the Qara-Khitai in early Safar 536 AH; when Kukhan the Khitan king took Transoxiana and Mahmud Khan ibn Arslan Khan complained of the Qarghaliyya and begged Sanjar's aid, Sanjar crossed the river in Dhu al-Hijja 535 and wrote their king summoning him to Islam with threats — they met him in Safar 536 and routed Sanjar and the Muslims in unbroken slaughter, capturing the lord of Sistan, the amir Qumaj and the sultan's wife Arslan Khan's daughter; Ibn Khaldun judged no battle in Islam greater nor more monstrous in killing — Transoxiana passed to the still-pagan Khita and Turks, and the Muslim Khanid state was extinguished."
 },
 "stub": false,
 "wings": [],
 "regions": [],
 "periods": [],
 "tags": [],
 "aliases": [],
 "themes": [],
 "span": {
  "earliest": 1141.665400384676,
  "latest": 1141.7475375948538
 },
 "display": {
  "start": {
   "edtf": "1141-09",
   "hijri": "0536-02",
   "calendar": "julian",
   "precision": "month",
   "status": "tradition",
   "derived": true,
   "note": "أول صفر سنة 536هـ؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  },
  "end": {
   "edtf": "1141-09",
   "hijri": "0536-02",
   "calendar": "julian",
   "precision": "month",
   "status": "tradition",
   "derived": true,
   "note": "أول صفر سنة 536هـ؛ التحويل مشتق.",
   "sources": [
    "source/tarikh-ibn-khaldun-ibar"
   ]
  }
 },
 "data": {
  "kind": "battle",
  "date": {
   "start": {
    "edtf": "1141-09",
    "hijri": "0536-02",
    "calendar": "julian",
    "precision": "month",
    "status": "tradition",
    "derived": true,
    "note": "أول صفر سنة 536هـ؛ التحويل مشتق.",
    "sources": [
     "source/tarikh-ibn-khaldun-ibar"
    ]
   },
   "end": {
    "edtf": "1141-09",
    "hijri": "0536-02",
    "calendar": "julian",
    "precision": "month",
    "status": "tradition",
    "derived": true,
    "note": "أول صفر سنة 536هـ؛ التحويل مشتق.",
    "sources": [
     "source/tarikh-ibn-khaldun-ibar"
    ]
   }
  },
  "sources": [
   "source/tarikh-ibn-khaldun-ibar"
  ],
  "provenance": {
   "layer": "own-research",
   "source": "ابن خلدون، العبر — وقعة السلطان سنجر مع القارغلية، ص1158-1159 (طبعة هيليوبوليس)",
   "generated_by": "Devin (SWE-2 High) from Apple Vision OCR",
   "model": "swe-2-high",
   "run": "lib-ibar-east-9"
  },
  "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": "هي وقعة جرت بين السلطان سنجر وجيش الخطا (القارغلية) في أول صفر سنة 536هـ. ينقل ابن خلدون أن سنجر والمسلمين انهزموا فيها وتتابع القتل فيهم. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "الخلفية",
     "markdown": "يذكر ابن خلدون أن كوخان ملك الخطا ملك ما وراء النهر. وشكا إليه محمود خان بن أرسلان خان من القارغلية، واستنجد بالسلطان سنجر. فسار سنجر وعبر النهر في ذي الحجة سنة 535هـ، وكتب إلى ملكهم يدعوه إلى الإسلام ويتهدده. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "الوقعة ونتائجها",
     "markdown": "لقيه القارغلية أول صفر سنة 536هـ. انهزم سنجر والمسلمون، وأُسر صاحب سجستان والأمير قماج وزوجة السلطان ابنة أرسلان خان. {cite:tarikh-ibn-khaldun-ibar}\n\nيقول ابن خلدون إنه لم يكن في الإسلام وقعة أعظم من هذه ولا أكثر قتلاً. ويذكر أن الدولة فيما وراء النهر استقرت للخطا والترك، وانقرضت دولة الخانية المسلمين. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "تنبيه",
     "markdown": "يحتاج إلى مصدر إضافي: الخبر هنا من مصدر واحد، ولم تُضف مصادر أخرى أو رأي أكاديمي بعد."
    }
   ],
   "frontmatter": {
    "id": "event/qatwan-battle-536",
    "lang": "ar",
    "source_lang": "ar",
    "translators": []
   }
  },
  "en": {
   "sections": [
    {
     "heading": "Overview",
     "markdown": "This was a battle between Sultan Sanjar and the army of the Khita (the Qarakhanids) on the first of Safar 536 AH. Ibn Khaldun relates that Sanjar and the Muslims were routed in it, and the killing continued among them. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "Background",
     "markdown": "Ibn Khaldun says that Kuchlug, king of the Khita, ruled Transoxiana. Mahmud Khan ibn Arslan Khan complained to him about the Qarakhanids, and sought help from Sultan Sanjar. Sanjar marched and crossed the river in Dhu al-Qa'da 535 AH, and wrote to their king, calling him to Islam and threatening him. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "The battle and its results",
     "markdown": "The Qarakhanids met him on the first of Safar 536 AH. Sanjar and the Muslims were routed, and the lord of Sistan, the amir Qamaj, and the sultan's wife, the daughter of Arslan Khan, were taken captive. {cite:tarikh-ibn-khaldun-ibar}\n\nIbn Khaldun says that there had been no battle in Islam greater than this, nor one with more killing. He adds that power beyond the river was settled among the Khita and the Turks, and that the Muslim Khanid state came to an end. {cite:tarikh-ibn-khaldun-ibar}"
    },
    {
     "heading": "Note",
     "markdown": "This report comes from a single source and needs an additional source."
    }
   ],
   "frontmatter": {
    "id": "event/qatwan-battle-536",
    "lang": "en",
    "source_lang": "ar",
    "translators": [
     "Claude Haiku 5.5 (claude-haiku-5-5), draft translation"
    ]
   }
  }
 },
 "degree": 0,
 "contemporaries": [],
 "connections": [],
 "related": [],
 "license": {
  "prose": "CC BY-SA 4.0",
  "data": "CC0 1.0"
 }
}