The East India Company personnel at Rajapur maintained amicable relations with Shivaji until June 1660, when the Adilshahi general Siddi Jauhar attacked Shivaji's camp at Panhala. During this siege, Siddi Jauhar used grenades purchased from the English at Rajapur. He also hired some English artillerymen, who came to Panhala with an English flag, although the Company did not officially support him. Shivaji managed to escape from Panhala, and decided to take revenge as he assumed that the Company had supported Siddi Jauhar. He plundered the English factory at Rajapur in December 1661.