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
Treaty of Xanten in Westphalia to be governed by the House of Hohenzollern, and were the oldest constituents of the future Prussian Rhineland and the future Province of Westphalia. Treaty of Xanten The Treaty of Xanten () was signed in the Lower Rhine town of Xanten on November 12, 1614 between Wolfgang Wilhelm, Count Palatine of Neuburg and John Sigismund, Elector of Brandenburg, with representatives from England and France serving as mediators. The treaty ended the War of the Jülich Succession and all hostilities between Wolfgang William and John Sigismund. Based on the terms of the treaty, the territories of Jülich-Berg and Ravenstein