In the aftermath of the Long Turkish War, a large number of refugees settled in the area Senj on the Holy Roman military frontier with the Ottoman Empire.
Apart from their raiding activities, the Uskoks did not shy away from piracy, attacking ships without regard towards the ethnic background or religious affiliation of their crews.
[1] Venice hired mercenaries in the Kingdom of England and the Dutch Republic, launching blockade of Holy Roman, Adriatic ports.
[2][3] On 26 September 1617, Imperial diplomat Karl von Harrach became the cosignatory of the Treaty of Madrid along with Venetian ambassadors Giustiniani and Contarini, ending the conflict between the two states.
The Duke of Osuna remained defiant of both the treaty and the wishes of the Spanish crown, unilaterally continuing his maritime campaign.