The Treaty of Osnabrück, signed in 1648, was a crucial part of the Peace of Westphalia, which ended the Thirty Years' War in the Holy Roman Empire and the Eighty Years' War between Spain and the Dutch Republic. It established a new political order in central Europe by recognizing the sovereignty of individual states and laying the groundwork for modern international law and diplomacy.