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 (1653) Pomerania became Brandenburgian Pomerania. During the war, Sweden had occupied the Duchy of Pomerania in 1630. The last Griffin duke Bogislaw XIV died in 1637, his duchy was supposed to be inherited by Brandenburg, who based her claims on in the Treaty of Grimnitz. This however was hindered by the Swedish presence. The 1648 Peace of Westphalia ended the war, and Pomerania was to be partitioned between Brandenburg and Sweden. The 1650 Treaty of Nuremberg roughly defined the areas that should be under control of Sweden and Brandenburg, respectively. The precise border was drawn in the 1653 Treaty of Stettin,