California State courts have authorized an increasing number of pre-trial diversions. Once someone has been referred by the court to a pre-trial diversion program, they will participate in classes and programs for the length of the diversion term, which is typically between six months and two years. Upon successful completion, the arrest is sealed, with the exception of a background check that would be run during the processing of an application to become a police officer