The Delhi Sultanate, or the Sultanate of Delhi, was a Muslim empirebased in Delhi that stretched over large parts of the Indian subcontinent during the period of Medieval India, for 320 years (1206–1526). Following the invasion of South Asia by the Ghurid dynasty, five largely unrelated dynasties ruled over the Delhi Sultanate sequentially: the Mamluk dynasty (1206–1290), the Khalji dynasty (1290–1320), the Tughlaq dynasty (1320–1414),] the Sayyid dynasty (1414–1451), and the Lodi dynasty (1451–1526). It covered large swaths of territory in modern-day India, Pakistan, and Bangladesh as well as some parts of southern Nepal.
The foundation of the Sultanate was laid by the Ghurid conqueror Muhammad Ghori who routed the Rajput Confederacy led by Ajmer ruler Prithviraj Chauhan in 1192 near Tarain, after suffering a reverse against them earlier. As a successor to the Ghurid dynasty, the Delhi Sultanate was originally one among a number of principalities ruled by the Turkic slave-generals of Muhammad Ghori, including Taj al-Din Yildiz, Qutb al-Din Aibak, Bahauddin Tughril and Nasir ad-Din Qabacha, that had inherited and divided the Ghurid territories amongst themselves.Khalji and Tughlaq rule ushered a new wave of rapid and ceaseless Muslim conquests deep into South India. The sultanate finally reached the peak of its geographical reach during the Tughlaq dynasty, occupying most of the Indian subcontinent under Muhammad bin Tughluq. A major political transformation occurred across Northern India, triggered by Central Asian conqueror Tamerlane’s devastating raid on Delhi in 1398, followed soon afterwards by the reemergence of rival Hindu powers such as the Vijayanagara and Mewar asserting independence, and new Muslim sultanates such as the Bengal and Bahmani Sultanates breaking off. In 1526, the Sultanate was conquered and succeeded by the Mughal Empire.