Muhammad of Ghor
Succession

Muhammad's only offspring was his daughter who died during his own lifetime. His sudden assassination in Damyak led to a period of struggle among his slaves and other senior Ghurid elites for the succession. The Ghurid aristocrats of Ghazni and Fīrūzkūh supported the succession of Baha al-Din Sam II from the Bamiyan branch, although his Turkic slaves supported Ghiyath al-Din Mahmud who was his nephew and son of his brother Ghiyath al-Din. Nonetheless, Baha al-Din died on his march to Ghazni on 24 February 1206 due to illness.

Thus, Muhammad was succeeded by Ghiyath al-Din Mahmud in 1206, although most of his conquests in the Ganga Valley were in the grasp of his lieutenants – Qutb ud-Din Aibak, Taj al-Din Yildiz, Bahauddin Tughril, Nasir ad-Din Qabacha and Muhammad Bakhtiyar Khilji who barely consulted Ghiyath al-Din Mahmud in their affairs. Notwithstanding, they still paid him a minimal tribute. During his reign, Mahmud also officially grant " manumission " on Aibak and Yildiz. Thus, freed from the slavery and with investment of a "chatr" from Mahmud, Yildiz established himself as the king of Ghazni in 1206 and Aibak in Lahore (who declared independence in 1208) established the Delhi Sultanate. Historian Iqtidar Alam Khan though, doubted that Aibak styled himself as the "Sultan" as it is not attested by the numismatic evidences. Soon, Mahmud was enforced to accept suzerainty of Alauddin Shah of Khawarazm as attested by the numismatic evidences in which he minted his name along with placing Alauddin's name in the " khuṭbah " until his assassination in 1212.

Afterwards, the Khwarazmians established their puppet government in the Ghurid lands, although Yildiz drove them back in 1213 before Alauddin eradicated the Ghurids and annexed Fīrūzkūh from Zia al-Din Ali in 1215 who either died as his captive (burned in Iran) or retired to Delhi in exile. Alauddin also defeated and executed the last Ghurid ruler Jalal al-Din Ali from the Bamiyan line in the same year. Thus, the Šansabānī house was extirpated by 1215. Yildiz was toppled from Ghazni around the same time as well who later fled to Delhi and laid his own claim for succession of the Ghurid conquests of Muhammad of Ghor. However, he was defeated and executed in 1216 by Iltutmish in Tarain.
combination:repeat_prompt