CA Penal Code § 745 (2021)
2021 California Code|Penal Code - PEN|PART 2 - OF CRIMINAL PROCEDURE|TITLE 2 - MODE OF PROSECUTION|Section 745.

745.  (a) The state shall not seek or obtain a criminal conviction or seek, obtain, or impose a sentence on the basis of race, ethnicity, or national origin. A violation is established if the defendant proves, by a preponderance of the evidence, any of the following:(1) The judge, an attorney in the case, a law enforcement officer involved in the case, an expert witness, or juror exhibited bias or animus towards the defendant because of the defendant’s race, ethnicity, or national origin.(2)  During the defendant’s trial, in court and during the proceedings, the judge, an attorney in the case, a law enforcement officer involved in the case, an expert witness, or juror, used racially discriminatory language about the defendant’s race, ethnicity, or national origin, or otherwise exhibited bias or animus towards the defendant because of the defendant’s race, ethnicity, or national origin, whether or not purposeful. This paragraph does not apply if the person speaking is describing language used by another that is relevant to the case or if the person speaking is giving a racially neutral and unbiased physical description of the suspect.(3) The defendant was charged or convicted of a more serious offense than defendants of other races, ethnicities, or national origins who commit similar offenses and are similarly situated, and the evidence establishes that the prosecution more frequently sought or obtained convictions for more serious offenses against people who share the defendant’s race, ethnicity, or national origin in the county where the convictions were sought or obtained.(4) (A) A longer or more severe sentence was imposed on the defendant than was imposed on other similarly situated individuals convicted of the same offense, and longer or more severe sentences were more frequently imposed for that offense on people that share the defendant’s race, ethnicity, or national origin than on defendants of other races, ethnicities, or national origins in the county where the sentence was imposed.(B) A longer or more severe sentence was imposed on the defendant than was imposed on other similarly situated individuals convicted of the same offense, and longer or more severe sentences were more frequently imposed for the same offense on defendants in cases with victims of one race, ethnicity, or national origin than in cases with victims of other races, ethnicities, or national origins, in the county where the sentence was imposed.(b) A defendant may file a motion in the trial court or, if judgment has been imposed, may file a petition for writ of habeas corpus or a motion under Section 1473.7 in a court of competent jurisdiction, alleging a violation of subdivision (a).(c) If a motion is filed in the trial court and the defendant makes a prima facie showing of a violation of subdivision (a), the trial court shall hold a hearing.(1) At the hearing, evidence may be presented by either party, including, but not limited to, statistical evidence, aggregate data, expert testimony, and the sworn testimony of witnesses. The court may also appoint an independent expert.(2) The defendant shall have the burden of proving a violation of subdivision (a) by a preponderance of the evidence.(3) At the conclusion of the hearing, the court shall make findings on the record.(d) A defendant may file a motion requesting disclosure to the defense of all evidence relevant to a potential violation of subdivision (a) in the possession or control of the state. A motion filed under this section shall describe the type of records or information the defendant seeks. Upon a showing of good cause, the court shall order the records to be released. Upon a showing of good cause, and if the records are not privileged, the court may permit the prosecution to redact information prior to disclosure.(e) Notwithstanding any other law, except for an initiative approved by the voters, if the court finds, by a preponderance of evidence, a violation of subdivision (a), the court shall impose a remedy specific to the violation found from the following list:(1) Before a judgment has been entered, the court may impose any of the following remedies:(A) Declare a mistrial, if requested the by defendant.(B) Discharge the jury panel and empanel a new jury.(C) If the court determines that it would be in the interest of justice, dismiss enhancements, special circumstances, or special allegations, or reduce one or more charges.(2) (A) When a judgment has been entered, if the court finds that a conviction was sought or obtained in violation of subdivision (a), the court shall vacate the conviction and sentence, find that it is legally invalid, and order new proceedings consistent with subdivision (a). If the court finds that the only violation of subdivision (a) that occurred is based on paragraph (3) of subdivision (a) and the court has the ability to rectify the violation by modifying the judgment, the court shall vacate the conviction and sentence, find that the conviction is legally invalid, and modify the judgment to impose an appropriate remedy for the violation that occurred. On resentencing, the court shall not impose a new sentence greater than that previously imposed.(B) When a judgment has been entered, if the court finds that only the sentence was sought, obtained, or imposed in violation of subdivision (a), the court shall vacate the sentence, find that it is legally invalid, and impose a new sentence. On resentencing, the court shall not impose a new sentence greater than that previously imposed.(3) When the court finds there has been a violation of subdivision (a), the defendant shall not be eligible for the death penalty.(4) The remedies available under this section do not foreclose any other remedies available under the United States Constitution, the California Constitution, or any other law.(f) This section also applies to adjudications and dispositions in the juvenile delinquency system.(g) This section shall not prevent the prosecution of hate crimes pursuant to Sections 422.6 to 422.865, inclusive.(h) As used in this section, the following definitions apply:(1) “More frequently sought or obtained” or “more frequently imposed” means that statistical evidence or aggregate data demonstrate a significant difference in seeking or obtaining convictions or in imposing sentences comparing individuals who have committed similar offenses and are similarly situated, and the prosecution cannot establish race-neutral reasons for the disparity.(2) “Prima facie showing” means that the defendant produces facts that, if true, establish that there is a substantial likelihood that a violation of subdivision (a) occurred. For purposes of this section, a “substantial likelihood” requires more than a mere possibility, but less than a standard of more likely than not.(3) “Racially discriminatory language” means language that, to an objective observer, explicitly or implicitly appeals to racial bias, including, but not limited to, racially charged or racially coded language, language that compares the defendant to an animal, or language that references the defendant’s physical appearance, culture, ethnicity, or national origin. Evidence that particular words or images are used exclusively or disproportionately in cases where the defendant is of a specific race, ethnicity, or national origin is relevant to determining whether language is discriminatory.(4) “State” includes the Attorney General, a district attorney, or a city prosecutor.(i) A defendant may share a race, ethnicity, or national origin with more than one group. A defendant may aggregate data among groups to demonstrate a violation of subdivision (a).(j) This section applies only prospectively in cases in which judgment has not been entered prior to January 1, 2021.(Added by Stats. 2020, Ch. 317, Sec. 3.5. (AB 2542) Effective January 1, 2021.)