The treaty, still valid today, established a pact of mutual support between the countries: Indeed, Portugal would use it again against its neighbours in 1640, to expel the Spanish Habsburg kings from the country, and again during the Peninsular War.