Thirty Years' War on the inhabitants of occupied territories. The war also bankrupted most of the combatant powers. The Dutch Republic enjoyed contrasting fortune; it was removed from the Holy Roman Empire and was able to end its revolt against Spain in 1648 and subsequently enjoyed a time of great prosperity and development, known as the Dutch Golden Age, during which it became one of the world's foremost economic, colonial, and naval powers. The Thirty Years' War ended with the Treaty of Osnabrück and the Treaties of Münster, part of the wider Peace of Westphalia. The war altered the previous political order of
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