Hessian War died out, and peaked after 1645 in the Hessian War proper. This open warfare began with the Siege of Marburg in 1645 and ended in April 1648 (but before the Treaty of Westphalia which was concluded later that year and ended the Thirty Years' War) with victory going to Hesse-Cassel. In the aftermath, Upper Hesse was divided and parts of its territory went to the now stronger Hesse-Cassel. At a European level the Hessian War must be viewed in the larger context of the Thirty Years' War, in which the reformed Hesse-Cassel sided with the Protestant Swedish party, whilst Hesse-Darmstadt,
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