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 on the Functioning of the European Union Maastricht treaty, which led to the formation of the European Union, saw the EEC Treaty renamed as the Treaty establishing the European Community (TEC) and renumbered. The Maastricht reforms also saw the creation of the European Union's three pillar structure, of which the European Community was the major constituent part. Following the 2005 referenda, which saw the failed attempt at launching a European Constitution, on 13 December 2007 the Lisbon treaty was signed. This saw the 'TEC' renamed as the Treaty on the Functioning of the European Union (TFEU) and, once again, renumbered. The Lisbon reforms resulted in the merging