 On 28 May 1490, Malik Ahmad Nizam Shah I revolted and defeated the Bahmani army led by general Jahangir Khanbuilt.He built a palace, making it the center of the newly created Ahmadnagar Sultanate.Yusuf Adil Shah followed suit creating the Adil Shahi dynasty at Bijapur, with Fathullah Imad-ul-mulk creating the Berar Sultanate within the year.