In 1664, a year before the Second Anglo-Dutch War began, Robert Holmes had captured several Dutch West India Company trading posts and ships on the West African coast, where companies from the two nations were rivals in the slave trade. Although Johan de Witt wanted to avoid an all-out war with England, he considered that this provocation must be responded to, and proposed to the States General that De Ruyter's squadron in the Mediterranean should be sent to West Africa to retake the West India Company's forts there. De Ruyter received his instructions at Málaga on 1 September 1664 and, by early the next month, all the Dutch West African posts had been recaptured and the squadron was ready to cross the Atlantic to attack English shipping in the West Indies and at the Newfoundland fisheries in reprisal.