The Thirty Years' War (1618-1648) had fought itself out mainly on German ground, with the dead reckoned between four and a half and eight million and the Holy Roman Empire spent to the bone. In 1648 the belligerents negotiated peace at Münster and Osnabrück at once — the Peace of Westphalia (with the Peace of Münster with Spain of the same year): France took most of Alsace and the continental primacy, Sweden the Baltic shore; the Dutch Republic and Switzerland were recognized as sovereign states; the religious principle of Augsburg extended to the Calvinists, with each territorial ruler free to fix his land's creed and its diplomacy — the emperor's authority a name. The treaty's deeper meaning lay in the principle it wrote into order: each state sovereign on its own ground and none to interfere within it — the 'Westphalian system', taken since as the start of the modern sovereign-state system and of international law. It closed the age of religious war; Europe's wars thereafter were dynastic and national-interest wars (until the French Revolution kindled ideology again) — the golden age of the Dutch Republic, the fragmentation of the Holy Roman Empire and France's century of primacy all take their tone from this peace.