The Muslim conquests on the Indian subcontinent mainly took place between the 13th and the 18th centuries, establishing the Indo-Muslim period. Earlier Muslim conquests on the Indian subcontinent include the invasions which started in the northwestern Indian subcontinent (modern-day Pakistan), especially the Umayyad campaigns in India. Later during the 8th century, Mahmud of Ghazni, sultan of the Ghaznavid Empire, invaded vast parts of Punjab and Gujarat during the 11th century. After the capture of Lahore and the end of the Ghaznavids, the Ghurid ruler Muhammad of Ghor laid the foundation of Muslim rule in India in 1192. In 1202, Muhammad Bakhtiyar Khalji led the Muslim conquest of Bengal, marking the easternmost expansion of Islam at the time.
The Ghurid Empire soon evolved into the Delhi Sultanate in 1206, ruled by Qutb ud-Din Aibak, the founder of the Mamluk dynasty. With the Delhi Sultanate established, Islam was spread across most parts of the Indian subcontinent. In the 14th century, the Khalji dynasty under Alauddin Khalji, extended Muslim rule southwards to Gujarat, Rajasthan, and the Deccan. The successor Tughlaq dynasty temporarily expanded its territorial reach to Tamil Nadu. The disintegration of the Delhi Sultanate, capped by Timur's invasion in 1398, caused several Muslim sultanates and dynasties to emerge across the Indian subcontinent, such as the Gujarat Sultanate, Malwa Sultanate, Bahmani Sultanate, Jaunpur Sultanate, Madurai Sultanate, and the Bengal Sultanate. Some of these, however, were followed by Hindu reconquests and resistance from the native powers and states, such as the Telugu Nayakas, Vijayanagara, and Rajput states under the Kingdom of Mewar.