California Penal Code 1001.36, known as Mental Health Diversion, is a pretrial program that allows eligible criminal defendants to undergo mental health treatment instead of proceeding through the standard criminal justice system. To qualify, individuals must have a diagnosable and treatable mental health disorder that played a significant role in the offense, though certain disorders may be excluded. The Court must also find the Defendant Suitable, and this includes a dangerousness analysis. A treatment plan must be approved by the court, and if the defendant successfully completes the program—typically lasting up to two years for felonies and one year for misdemeanors—the charges may be dismissed. Completion of the program can result in the case being sealed, offering a chance to avoid a criminal record. This diversion emphasizes rehabilitation over punishment and aims to reduce recidivism by addressing underlying mental health needs. It is intended to provide a more compassionate and effective response for those whose criminal behavior is closely tied to their mental health.