Peace of Westphalia its own control. A total of 109 delegations arrived to represent the belligerent states, but not all delegations were present at the same time. Three treaties were signed to end each of the overlapping wars: the Peace of Münster, the Treaty of Münster, and the Treaty of Osnabrück. These treaties ended the Thirty Years' War (1618–1648) in the Holy Roman Empire, with the Habsburgs and their Catholic allies on one side, battling the Protestant powers (Sweden, Denmark, Dutch, and Holy Roman principalities) allied with France (Catholic but anti-Habsburg). The treaties also ended the Eighty Years' War (1568–1648) between Spain and
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