Peace of Westphalia its own control. A total of 109 delegations arrived to represent the belligerent states, but not all delegations were present at the same time. Three treaties were signed to end each of the overlapping wars: the Peace of Münster, the Treaty of Münster, and the Treaty of Osnabrück. These treaties ended the Thirty Years' War (1618–1648) in the Holy Roman Empire, with the Habsburgs and their Catholic allies on one side, battling the Protestant powers (Sweden, Denmark, Dutch, and Holy Roman principalities) allied with France (Catholic but anti-Habsburg). The treaties also ended the Eighty Years' War (1568–1648) between Spain and
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