 On ascending the throne at the age of twenty-seven, Khalíl adopted the title of Muzaffar Shah.For some time before his father’s death, Prince Khalíl Khan had been living at Baroda (now Vadodara), and shortly after his accession, he visited that neighborhood and founded a town named Daulatabad.In 1514, Rao Bhím, the son of Rao Bhan of Idar State, defeated Ain-ul-Mulk, governor of Patan, who was coming to Ahmedabad to pay his respects to the king.