The principality of Ghor lay in the hills between Ghazni and Herat. It was conquered by Sultan Muhamud of Ghaza in 1010 A.D. It has been a tributary province of the Ghaznavid Empire ever since.Ghauris succeeded the Ghanavids under Alauddin Ghuri, who exacted revenge on Ghazavid Sultan Bahram for the death of his brother Saifuddin.In his rage for revenge, he sacked the city, and for seven days the massacre raged in full fury, destroying many of the splendid buildings of Ghazi and killing most of its inhabitants. Alauddin's deed earned him the title of Jahansaz.
Muhammad Shahabuddin Ghori, originally called Mu’izzudin Muhammad Ibn Sam but famously known as Muhammad of Ghor and Muhammad Ghori, 1162–15 March 1206, was a governor and general and ultimately sultan in the Ghorid dynasty. He was the governor of Ghazna and the surrounding area from 1173 to 1192. He was sultan from 1202 until his death in 1206.
Heirs of Sultan
Sultan Muhammad Ghori had no heirs, so he treated his slaves as his sons. It is said that he trained thousands of Turkish slaves in the arts of warfare and administration. The majority of his slaves received an excellent good. During his period, many hardworking and wise bondage rose to positions of excellence. Once a courtier lamented that the sultan had no male heirs; Ghori immediately replied:
"Other monarchs may have one son or two sons; I have thousands of sons, my Turkish slaves, who will be the heirs of my supremacy and who after me will take care to safeguard my name in the Khutbah throughout these territories."
Ghori’s prediction proved true when he was succeeded by a dynasty of Turkish slaves. Upon his death, Qutbuddin Aybak, a capable general who had become Muhammad Ghori’s closest advisor, kept control of the Indian conquests and declared himself sultan of Delhi, thus establishing the Sultanate of Delhi in 1206 CE.