Traditionally only relating to states, international law is a body of rules established by custom or written legal agreements that are accepted as binding upon the international community. Customary international law applies to all global actors. Written legal agreements, such as treaties, are only binding to those who consent to it through explicit ratification. Some international laws may apply only to states, such as the UN Convention against Torture, while others may apply directly to citizens, such as war crimes.