A Spanish expedition of 1629 sent to enforce Spanish claims destroyed the English and French colonies and deported the settlers back to their respective countries. As part of the war settlement in 1630, the Spanish permitted the re-establishment of the English and French colonies. Spain later formally recognised Britain's claim to St Kitts with the Treaty of Madrid (1670), in return for British cooperation in the fight against piracy.