sentences:  The Thirty Years' War, based on religious conflict, had been marked by plundering and marauding armies.Order was reestablished by the 1648 Treaty of Westphalia, which formulated the rules of international relations which held force for centuries, in particular in respect to the laws of war ("jus ad bellum" and "jus in bello").During the Age of Enlightenment and under the direction of the "enlightened despots," wars became more regulated.