Husain ibn Kharmil


Izz al-Din Husain ibn Kharmil al-Ghuri, commonly known after his father as Ibn Kharmil, was an Iranian military leader of the Ghurid dynasty, and later the semi-independent ruler of Herat and its surrounding regions.

Origins and early career

Husain was a native of Gurziwan in Guzgan, and was the son of Kharmil, a military officer of the Ghurids who played an important role during Ala al-Din Husayn's war against the Ghaznavid ruler Bahram-Shah.
Husain is first mentioned in sources as one of the leaders of the Ghurid incursions into India. In 1185/6, Sultan Mu'izz al-Din Muhammad appointed Husain as the governor of Sialkot, a city in northern Punjab. Later in 1194, Husain, along with another Ghurid general named Qutb-ud-din Aibak, were the leaders of a raid in the eastern part of the Indus-Gangetic Plain. During the raid, they decisively defeated the Narayan ruler. In ca. 1198, Husain, along with the Ghurid prince Nasir al-Din Muhammad Kharnak, ambushed a Kara-Khitan army, which had previously plundered the northern part of the Ghurid Empire.
In 1202, Mu'izz's brother and co-ruler, the Ghurid supreme leader Ghiyath al-Din Muhammad, died of illness, and was succeeded by his Mu'izz as the leader of the Ghurid dynasty. Shortly after Ghiyath's death, however, the Khwarazmian-shah Muhammad II invaded the Ghurid Empire, and besieged Herat. Mu'izz, along with Husain, quickly managed to Muhammad from Herat and then pursued him to Khwarezm, where the Ghurid army besieged the Khwarazmian capital of Gurganj.
However, Muhammad out of despair requested aid from the Kara-Khitan Khanate, who sent an army to aid Muhammad. Mu'izz, because of harassment from the Kara-Khitans, was forced to relieve the siege and retreat his army back to Ghur, his homeland. However, the Ghurid army was later ambushed by the Khwarazmians, and was defeated at Andkhud in 1204. Although many of the Ghurid troops were killed during the battle, Mu'izz managed to escape, and Husain, along with his 5,000 private soldiers, also managed to escape. Husain was later appointed as the governor of Herat and Talaqan.

Establishment of authority and death

After the death of Mu'izz in 1206, the Ghurid Empire rapidly declined. During the same period, Husain declared independence from the Ghurids, and began strengthening the defenses of Herat. However, in 1208, Muhammad re-invaded the Ghurid Empire, and forced Husain to acknowledge Khwarazmian suzerainty. However, while Muhammad was penetrating deeper into Ghurid territory, he was defeated and captured by the Kara-Khitans, which gave Husain the opportunity to secretly negotiate with the Ghurid ruler Ghiyath al-Din Mahmud. However, the negotiation turned fruitless, and Ghiyath sent an army against Husain, which, was, however, defeated.
Meanwhile, Muhammad, who distrusted Husain, sent Izz al-Din Jaldik to supervise Herat, but secretly ordered Jaldik to have Husain executed; Jaldik shortly had Husain arrested, but Husain's vizier Khwaja al-Sahib quickly raised a resistance against the Khwarazmians, and changed his allegiance to the Ghurids. Jaldik then threatened Khwaja al-Sahib by killing Husain if he did not stop the resistance. Khwaja, however, kept resisting Jaldik, who shortly had Husain killed.