 Meanwhile, the Spanish made several attempts to re-capture the island, prompting the British to support pirates attacking Spanish ships in the Caribbean; as a result piracy became rampant on Jamaica, with the city of Port Royal becoming notorious for its lawlessness.Spain later recognised English possession of the island with the Treaty of Madrid (1670).As a result, the English authorities sought to reign in the worst excesses of the pirates.