The Treaty of Den Haag (also known as the Treaty of The Hague) was signed on September 7, 1701 between England, the Holy Roman Empire, and the United Provinces creating an alliance against France that lead to the War of the Spanish Succession.
The accord was negotiated by the Duke of Marlborough on behalf of William III of England and signed by Emperor Leopold I and delegates of the United Provinces. Based on the terms of the agreement, Philip V was recognized as the King of Spain while England and the Netherlands retained their commercial rights in Spain.
Moreover, Austria acquired Spanish territories in Italy, as well as the Spanish Netherlands, which protected the region from French control.