Westphalia to be Catholic. Osnabrück was divided almost equally between Catholicism and Protestantism. Parts of Westphalia came under Brandenburg-Prussian control during the 17th and 18th centuries, but most of it remained divided by duchies and other areas of feudal power. The Peace of Westphalia of 1648, signed in Münster and Osnabrück, ended the Thirty Years' War. The concept of nation-state sovereignty resulting from the treaty became known as "Westphalian sovereignty". After the defeat of the Prussian Army by the French at the Battle of Jena–Auerstedt, the Treaty of Tilsit in 1807 made the easternmost portion of today's Westphalia part of the
Treaty on the Functioning of the European Union co-operation. Part 7, in articles 335 to 358, deals with final legal points, such as territorial and temporal application, the seat of institutions (to be decided by member states, but this is enacted by a protocol attached to the treaties), immunities and the effect on treaties signed before 1958 or the date of accession. Treaty on the Functioning of the European Union The Treaty on the Functioning of the European Union (2007) is one of two primary Treaties of the European Union, alongside the Treaty on European Union (TEU). Originating as the Treaty of Rome, the TFEU forms the detailed