Franco-Dutch War of the Dutch Republic by surprise, is often referred to as "het Rampjaar" ("the Disaster Year") in Dutch. In order to weaken its Hapsburg rivals in Spain and the Holy Roman Empire, largely Catholic France supported the Dutch Republic during the 1568-1648 Eighty Years War and in 1635, it entered the Thirty Years' War as part of the anti-Imperial Protestant alliance. The 1648 Peace of Westphalia ended the wider war but the subsidiary Franco-Spanish War continued until the 1659 Treaty of the Pyrenees; the net effect was that Spain was no longer the dominant power in Europe, while France emerged
Treaty of the Pyrenees Spanish Habsburg victories in the Dutch Revolt in the 1620s and at the Battle of Nördlingen against Sweden in 1634. By 1640, France began to interfere in Spanish politics, aiding the revolt in Catalonia, while Spain responded by aiding the Fronde revolt in France in 1648. During the negotiations for the Peace of Westphalia in 1648, France gained the Sundgau and cut off Spanish access to the Netherlands from Austria, leading to open warfare between the French and Spanish. After 23 years of war, an Anglo-French alliance was victorious at the Battle of the Dunes in June 14, 1658, but