International humanitarian law (IHL) is a branch of public international law. It comprises the rules which, in times of armed conflict, seek – for humanitarian reasons – to protect persons who are not or are no longer participating in the hostilities, and to restrict the means and methods of warfare. More precisely, international humanitarian law refers to international treaty or customary rules which have been specially developed to resolve humanitarian issues arising directly from armed conflicts, whether of an international or non-international character.