referred to as "Devarāyanagara" and "Kalyānapura" ("Auspicious City"). After the fall of the Vijayanagara Empire, Bangalore's rule changed hands several times. In 1638, a large Bijapur army led by Ranadulla Khan and accompanied by Shahji Bhonsle defeated Kempe Gowda III and Bangalore was given to Shahji as a jagir . In