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 Stettin (1630) Pomerania to enforce Brandenburg's claims on succession, but they were defeated by Sweden in the ensuing battles. Some of the Pomeranian nobility had changed sides and supported Brandenburg. By the end of the war, the treaty was superseded by the Peace of Westphalia (1648) and the subsequent Treaty of Stettin (1653), when Pomerania was partitioned into a western, Swedish part (Western Pomerania, thenceforth Swedish Pomerania), and an eastern, Brandenburgian part (Farther Pomerania, thenceforth the Brandenburg-Prussian Province of Pomerania). Following the Capitulation of Franzburg in 1627, the Duchy of Pomerania was occupied by forces of Ferdinand II, Holy Roman Emperor, under