Second Northern War the Little Northern War, which however might also refer to the 1741-43 war. In Poland, the term "The Deluge" is also ambiguous, as it is sometimes used for a broader series of wars against Sweden, Brandenburg, Russia, Transylvania and the Cossacks. In 1648, the Peace of Westphalia had ended the Thirty Years' War, during which the Swedish Empire emerged as a major European power. In the Torstenson War, a theater of the Thirty Years' War, Sweden had defeated the former Baltic great power Denmark. Sweden had been at peace with Russia since the Treaty of Stolbovo had ended the Ingrian
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