Treaty of Madrid (1667)

Treaty of Madrid
ContextSpain and England undertake not to assist enemies of the other; England agrees to mediate an end to the Portuguese Restoration War; Spain awards England commercial privileges
Signed23 May 1667 (1667-05-23)
LocationMadrid
Condition21 September 1667
NegotiatorsKingdom of England Sir Richard Fanshawe
Kingdom of England Earl of Sandwich
Spain Medina Sidonia
Spain Juan Nithard
SignatoriesKingdom of England Earl of Sandwich
Spain Count Peñaranda
Spain Count Oñate
Parties England
 Spain
RatifiersKingdom of England Charles II of England
Spain Mariana of Austria for Charles II of Spain
LanguageLatin

The Treaty of Madrid, also known as the Earl of Sandwich's Treaty, was signed on 23 May, 1667 by England and Spain. It was one of a series of agreements made in response to French expansion under King Louis XIV.

The parties agreed to commercial terms allowing English merchants trading privileges within the Spanish Empire that remained in place until superseded by the Treaty of Utrecht in 1714. They undertook not to assist each other's enemies, and England also agreed to mediate an end to the 1640-1668 Portuguese Restoration War, which resulted in the 1668 Treaty of Lisbon between Spain and Portugal.

The issue of Spanish possessions captured by England in the Anglo-Spanish War (1654-1660) was settled by the 1670 Treaty of Madrid.