 On hearing this, Muzaffar Shah II ordered Nizam Khan to destroy Bijapur.In 1517, the nobles of Malwa sought Muzaffar Shah's interference, alleging that the minister Medini Rai was planning to depose the Malwa Sultan, Mahmud Khilji II, and usurp the throne.Muzaffar Shah promised to come to their help, and shortly after, Sultan Mahmúd Khilji, escaping from the surveillance of Medani Rai, himself sought the aid of the Gujarat monarch.