Legal constraints on the conduct of war in ancient Rome appear in Cicero: "As for war, humane laws touching it are drawn up in the fetial code of the Roman People."
The Western tradition of thinking on just war continues into Christendom and then Modernity, and from the late 19th century becomes codified in international conventions, most notably those of Geneva and the Hague, then said to express laws of war.