In 1305, the Delhi Sultanate ruler Alauddin Khalji sent an army to capture the Paramara kingdom of Malwa in central India. The Delhi army defeated and killed the powerful Paramara minister Goga, while the Paramara king Mahalakadeva took shelter in the Mandu fort. Alauddin appointed Ayn al-Mulk Multani as the governor of Malwa. After consolidating his power in Malwa, Ayn al-Mulk besieged Mandu and killed Mahalakadeva.