The Thirty Years' War ended with the Treaty of Westphalia in 1648, which changed the map of Europe irrevocably. The peace was negotiated, from 1644, in the Westphalian towns of Münster and Osnabrück. The Spanish-Dutch treaty was signed on January 30, 1648. The treaty of October 24, 1648, comprehended the Holy Roman emperor Ferdinand III, the other German princes, France, and Sweden. Some scholars of international relations credit the treaties with providing the foundation of the modern state system and articulating the concept of territorial sovereignty.