Delhi Sultanate
The Delhi Sultanate or the Sultanate of Delhi was a late medieval empire primarily based in Delhi that stretched over large parts of the Indian subcontinent, for 320 years (1206–1526). Following the invasion of South Asia by the Ghurid dynasty, five 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 re-emergence of rival Hindu powers such as Vijayanagara and Mewar asserting independence, and new Muslim sultanates such as the Bengal and Bahmani Sultanates breaking off. In 1526, Timurid ruler Babur invaded northern India and conquered the Sultanate, leading to its succession by the Mughal Empire.
The establishment of the Sultanate drew the Indian subcontinent more closely into international and multicultural Islamic social and economic networks, as seen concretely in the development of the Hindustani language and Indo-Islamic architecture. It was also one of the few powers to repel attacks by the Mongols (from the Chagatai Khanate) and saw the enthronment of one of the few female rulers in Islamic history, Razia Sultan, who reigned from 1236 to 1240. Their treatment of Hindus is generally perceived to be favorable, as there was no mass forcible conversion and Hindu officials were readily accepted. However, there were cases like Bakhtiyar Khalji's annexations, which involved a large-scale desecration of Hindu and Buddhist temples and the destruction of universities and libraries. Mongolian raids on West and Central Asia set the scene for centuries of migration of fleeing soldiers, intelligentsia, mystics, traders, artists, and artisans from those regions into the subcontinent, thereby establishing Islamic culture there.