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
European wars of religion wars continued to be waged in the post-Westphalian period until the 1710s, and collective memory of the wars lasted even longer. The European wars of religion are also known as the Wars of the Reformation (and Counter-Reformation). The wars were closely connected to the theological disputes within Western Christendom, which erupted after the publication of Martin Luther's "Ninety-five Theses" in 1517. The Protestant Reformation led to a schism within the Catholic Church, as Protestant churches and rulers no longer recognised the authority of the papacy. Although most of the wars ended with the Peace of Westphalia in 1648, religious conflicts