Dhar continued to be under Delhi Sultans until the reign of Muhammed II. At that time, Dilawar Khan Ghuri was the Governor of Malwa. In 1401 A.D. he assumed royality and established an independent Kingdom of Malwa, with his capital at Dhar.