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
Hessian War Peace Congress mediated by Duke Ernest of Saxe-Gotha and which resulted in a unification and peace treaty that was sealed in April 1648, ahead of the Treaty of Westphalia itself. Before the Westphalian Peace Treaty, Cassel fought one last time against the imperial side, winning the Battle of Wevelinghoven in the Rhineland, together with other Protestant troops. Darmstadt, however, was not involved in this battle. Under the Unification Treaty between Cassel and Darmstadt, Upper Hesse was permanently divided. Darmstadt had to give up a significant part of Upper Hesse to Cassel, not least Marburg and other occupied territories, including the