In 1509, as per tradition, prominent Bahmani nobles gathered in Bidar and embarked alongside Mahmud Shah II on their routine expedition into the domain of Krishnadevaraya.
This resistance signaled a departure from past engagements, where the Bahmani forces had enjoyed relative freedom to plunder and devastate Vijayanagara territories.
[1] The Muslim armies, accustomed to unchecked progress, were halted at the unidentified town of Diwani, where they suffered a significant defeat in the ensuing battle.
[6][3] Taking advantage of the destabilized conditions prevailing in Bijapur, Krishnadevaraya, the ruler of the Vijayanagara Empire, launched a series of military campaigns in the Krishna-Tungabhadra region.
[1] Following the initial skirmish with his adversaries, Krishnadevaraya devoted a period to reorganizing his military forces and transforming the disparate feudal levies into a formidable fighting unit within his capital.