 After the capture of Lahore and the end of the Ghaznavids, the Ghurid Empire ruled by Muhammad of Ghor and Ghiyath al-Din Muhammad laid the foundation of Muslim rule in India.In 1206, 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 ruled by Qutb al-Din Aibak, the founder of the Mamluk dynasty.