Westphalia as a small state within Germany in the form of a principality until 1918 and as a free state until 1946. This continues to influence the identity of its people who often distinguish themselves from neighboring regions such as East Westphalia. In addition to these historic, lingual and religious aspects, there are some regional differences in culture and mentality. That is why many of the citizens of North Rhine-Westphalia rather see themselves either as "Rhinelanders", "Westphalians" or "Lippers" rather than as "North Rhine-Westphalians". Westphalia is known for the 1648 Peace of Westphalia which ended the Thirty Years' War, as the
Treaty of Teschen margraviates in 1791. The Electorate of Saxony received a sum of six million guilders (florins) from Bavaria in exchange of its inheritance claims. With the accession of Elector Charles Theodore, the electorates of Bavaria and the County Palatine of the Rhine (i.e. the territories in the Rhenish Palatinate and the Upper Palatinate) were under the united rule of the House of Wittelsbach. Their electoral votes were combined into one per a provision in the earlier Treaty of Westphalia in 1648, thereby reducing the number of electorates in the Holy Roman Empire to eight. The Innviertel, except for a short time