The Peace of Westphalia, signed in 1648, marked the end of the Thirty Years' War in Europe and established the principles of state sovereignty and non-interference in domestic affairs, laying the foundation for the modern international system. It introduced the concept of legal equality among states and the idea that political authority is derived from the consent of the governed, fundamentally reshaping European political order.