In 1986, the California Legislature enacted the Mentally Disordered Offender (MDO) Law. Codified under Penal Code 2960 PC and its related sections, the dual purpose of this law is to protect society from certain prisoners with dangerous, treatable mental disorders, and; to provide treatment for those prisoners.