Louis XIV of France the war with a French victory, in order to establish a lasting peace between the Catholic nations. The Queen also gave a partial Catholic orientation to French foreign policy. This was felt by the Netherlands, France's Protestant ally, which negotiated a separate peace with Spain in 1648. In 1648, Anne and Mazarin successfully negotiated the Peace of Westphalia, which ended the Thirty Years' War in Germany. Its terms ensured Dutch independence from Spain, awarded some autonomy to the various German princes of the Holy Roman Empire, and granted Sweden seats on the Imperial Diet and territories to control the mouths
Dominions of Sweden Norway to the king of Sweden under the Treaty of Kiel, which followed on Second War against Napoleon. However the treaty of Kiel never came into force: instead sovereignty of Western Pomerania passed to Kingdom of Prussia, who already held the eastern parts and merged them into the Province of Pomerania. Norway declared her independence, but was forced after a short war into a personal Union with Sweden. Sweden received the German town of Wismar with the surrounding countryside in the Peace of Westphalia (1648). In 1803 Wismar was pawned, in exchange for a loan, and control was handed over