A term encompassing several related organizations and services including law enforcement agencies, criminal justice systems, civil justice systems, and judicial systems. It also includes non-governmental legal programs, legal aid organizations, and institutions that provide direct input into the legal system.