In 1517, he accompanied Muzaffar Shah in his campaign against Rana Sanga of Chittaur and Medini Rai, a rebel minister of Malwa.