Sir Thomas Modyford, the Governor of Jamaica, offered a deal to pirate ships already well established in the  if the pirates protected British assets, then they were free to harass enemy shipping with impunity.
The Governor of Jamaica asked the pirates to protect British assets as part of a deal.