power in Deccan was shared by three Islamic 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 army with him. Gomaji Naik Pansambal, a trusted