The Thirty Years War (1618-1648) ended with the Peace of Westphalia, which established principles of state sovereignty and territorial integrity that became foundations of the modern state system. Germany was weakened and fragmented (A), central Europe remained agrarian (B), and the Holy Roman Empire was in decline (C).