In traditional international law before World War I, war was viewed as a sovereign right of states, a political act that was neither inherently legal nor illegal but rather a means of pursuing national interests. International law primarily focused on regulating the conduct of war rather than its initiation.