 Sultan Mahmud I Khilji of Malwa captured the city in 1438 after a siege of several months.In 1520 Rana Sanga of Mewar captured the city, and gave it to Medini Rai, a rebellious minister of Sultan Mahmud II of Malwa.In the Battle of Chanderi, the Mughal Emperor Babur captured the city from Medini Rai and witnessed the macabre Rajput rite of jauhar, in which, faced with certain defeat and in an attempt to escape dishonor in the hands of the enemy, women with children in their arms jumped in a fire pit to commit suicide, which was made for this specific purpose, against the background of vedic hymns recited by the priests.