 Since 1654, Spain had been involved in a naval conflict with the English Commonwealth, and in 1657, Mazarin negotiated an Anglo-French alliance.France was required to end its backing for the exiled Charles II, some of whose supporters joined the Spanish as a result.1658 featured an Anglo-French offensive in North Flanders, whose main objective was Dunkirk, a centre for Spanish privateer attacks on English shipping.