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
War of the Spanish Succession was reliant on the so-called "Maritime Powers" (England and the Dutch Republic) and also a higher priority for them. By formalising religious divisions within the Empire, the [[Peace of Westphalia|1648 Peace of Westphalia]] weakened its integrity and by 1700, the larger German states were pursuing their own policies. [[Electorate of Bavaria|Bavaria]] allied itself with France while as King of Poland, [[Augustus II the Strong|Augustus of Saxony]] was fully occupied by the [[Great Northern War]]. To gain [[Frederick I of Prussia|Frederick of Prussia]]'s support, Leopold recognised him as King, with Prussia made an equal member of the Grand Alliance. [[George I