Deccan was shared by three Sultanates - Bijapur, Ahmednagar, and Golconda. Shahaji kept changing his loyalty between the Nizamshahi of Ahmadnagar , Adil Shah of Bijapur and the Mughals , but always kept his jagir (fiefdom) at Pune and his small force of men with him. According to Tarikh-i-Shivaji , Shahaji