During the Baroque period the Thirty Years' War in Central Europe decimated the population by up to 20%. In 1648, the Peace of Westphalia, consisting of the treaties of Osnabrück and Münster, signed on May 15 and October 24, respectively, ended several wars in Europe and established the beginning of sovereign states. The treaties involved the Holy Roman Emperor, Ferdinand III (Habsburg), the Kingdoms of Spain, France and Sweden, the Netherlands and their respective allies among the princes and the Republican Imperial States of the Holy Roman Empire.