Mohammad Gauri had no heir to him. His sudden death resulted in struggle among his army and nobles to get royal status. In this struggle Gauri’s slave and general Qutub-uddin-Aibak turned victorious. With this the first Muslim empire was established in India.
The Delhi sultanate was established in 1206 CE and continued till the first war of Panipat in 1526 CE, with the defeat of Abraham Lodhi. Different royalities which ruled Delhi are Slave dynasty, Khilji dynasty, Tughlak dynasty, Saiyad dynasty and Lodhi dynasty