| Kara-Khanid invasion of Khorasan | |||||||||
|---|---|---|---|---|---|---|---|---|---|
TheKara-Khanid ruler Ilig Khan on horse, submitting to Mahmud, who is riding an elephant.Jami al-Tawarikh,c. 1314 | |||||||||
| |||||||||
| Belligerents | |||||||||
| Ghaznavid Empire | Kara-Khanid Khanate | ||||||||
| Commanders and leaders | |||||||||
| Mahmud of Ghazni Muhammad b. Ibrahim at-Ta'i Arslan Jadhib Altuntash Abu'l-Nasr Farighuni Abu'l Muzaffar Nasr | Nasr Illig Khan Yusuf Qadir Khan Chaghartigin Subāshī-tigin | ||||||||
| Strength | |||||||||
| 1006: 10,000[2][a] 1008: unknown number of soldiers 500 elephants[3] | 1006: 12,000[2][b] 1008: 40,000–50,000[3] | ||||||||
| Casualties and losses | |||||||||
| -- | 1006: 700 captured | ||||||||
TheKara-Khanid Khanate under Nasr Illig Khan[4] and Yusuf Qadir Khan attempted to conquer theKhorasan, held by the Ghaznavid empire, in two phases in 1006 AD and 1008 AD. Despite initial successes, the Kara-Khanids were driven out of Khorasan, securing Ghaznavid rule of the region.
In 998 AD, Mahmud of Ghazni sought to expand Ghaznavid control intoKhorasan, but negotiations with Samanid AmirMansur II failed. In 999, Mahmud invaded Khorasan, and after Mansur’s assassination by Samanid nobles; Begtuzun and Fa’iq, who immediately installedAbd al-Malik II. Mahmud defeated the Samanid forces nearMerv. The battle led Ghaznavids to consolidate their power in Khorasan, annexing the region. The Samanid dynasty collapsed after theKara-Khanid under Nasr Illig (Ilak Khan) captured Samanid capitalBukhara and Abd al-Malik in 999. The last Samanid emirIsma'il Muntasir tried to restore the Samanid dynasty but was assassinated in December 1004. Ghaznavids therefore secured their dominance in Khorasan.[5]
The Ghaznavids and Kara-Khanids agreed to maintainOxus river as the border between the two empires.[6] To strengthen their relation Sultan Mahmud married Ilak Khan's daughter. In December 999, he sent his representatives toUzgand.[7] The bride was brought to Khorasan in 1000 AD.[1]
The friendly relation came to end, when Ilak Khan finding opportunity, invaded Khorasan while Sultan Mahmud was busy in the capture ofMultan in 1006 AD. Ilak Khan sent two armies: one led by his brother Chaghartigin, which capturedBalkh, and another under Subashitigin, which tookHerat. As a result, Ilak Khan gained control over the entirety of Khorasan. Sultan Mahmud receiving the news, left Multan to some of his officers, marching to Ghazni.[8]
As Mahmud advanced, Chaghartigin abandoned Balkh and fled toTirmidh, while Sultan Mahmūd sent Arslan Jadhib with 10,000 troops to pursue Subashitigin, who also fled upon their approach. Subashitigin attempted to reachBukhara but was blocked by floods in the Murghab River and excessive heat in the Ghuzz desert. Subashitigin defeated Muhassin b. Tariq, a Ghuzz tribal chief, atSarakhs and escaped toJurjan, hoping for aid fromQabus, emir ofZiyarid dynasty. Disappointed, he returned to Nasa, left his baggage, and headed forMarv. The sultan dispatched Abū 'Abdu'llah Muhammad b. Ibrāhīm at-Tā'ī, an Arab commander, who surrounded and defeated Subashitigin in the desert, capturing his brother and 700 soldiers. Subashitigin managed to scaped to Bukhara. Meanwhile, Ilak Khan sent Chaghartigin with 12,000 troops to attack Balkh to divert the attention. Mahmud let him to occupy Balkh temporarily. After Subashitigin’s defeat and expulsion from Khorasan, Mahmud turned to Balkh, prompting Chaghartigin to flee to Bukhara. By mid of 1006, Khorasan was cleared of Kara-Khanid forces.[2][9]
Ilak Khan with an ambition to conquer Khorasan made another attempt in 1008 AD. Qadir Khan, ruler ofKashgar (Khotan), joined Ilak Khan with a army of 50,000 soldiers crossing the Oxus. The Sultan encamped on the plain of Katar, approximately 12 miles from Balkh. Mahmud organized his army withAltuntash on the right wing, Arslan Jadhib on the left, and Abu'l Muzaffar Nasr,Abu'l-Nasr Farighuni, (ruler ofJuzjanan), and Abū 'Abdu'llah Muhammad at-Tā'ī in the center. The centre was supported by a front line of 500 elephants. Ilak Khan positioned Qadir Khan on his right wing, Chaghartigin on the left, and led the center himself.[3]
On 5 January 1008, both armies engaged in battle. Ilak Khan with 500 soldiers charges at the centre ranks of Ghaznavid army, breaking the lines. At the critical moment Sultan Mahmud rallied his troops by climbing a hillock, started to pray, which lifted the moral of the Ghaznavid army. The Sultan’s elephants caused havoc. Ilak Khan’s army, panic-stricken, fled, with many captured or drowned attempting to cross the Oxus river. Immense booty fell to the Ghaznavids.[10][9]
Ilak Khan died in 1012-13 succeeding his brother Ahmed Tughan Khan who maintained friendly relation with Mahmud of Ghazni. Ahmed died in 1017-18. His kingdom was passed to his brother Arslan Khan who gave one of his daughters in marriage toMasud.[11]