1275b.
(a) A prosecuting attorney may file a motion with the court at any time, including any time before or after a defendant’s release pursuant to Section 1269b, seeking the pretrial detention of the defendant in any of the following circumstances:(1) The defendant is charged with a capital crime and the prosecuting attorney alleges that the facts are evident or the presumption great.
(2) The defendant is charged with a felony offense involving acts of violence on another person, or a felony sexual assault offense on another person and the prosecuting attorney alleges all of the following:
(A) The facts are evident or the presumption great.
(B) There is no condition or combination of conditions of pretrial release that would reasonably ensure the physical safety of another person or persons.
(C) There is a substantial likelihood the defendant’s release would result in great bodily harm to others.
(3) The defendant is charged with a felony offense and the prosecuting attorney alleges all of the following:
(A) The facts are evident or the presumption great.
(B) The defendant has threatened another with great bodily harm.
(C) There is no condition or combination of conditions of pretrial release that would reasonably ensure the safety of the person who has been threatened.
(D) There is a substantial likelihood that the defendant would carry out the threat if released.
(b) (1) If a motion for pretrial detention is filed pursuant to subdivision (a), a hearing shall be held before a magistrate or judge to determine whether to release the defendant pending trial unless the hearing is waived by the defendant, either directly or, if he or she is represented by counsel, through counsel. The defense attorney shall be given notice and a reasonable opportunity to be heard on the matter. If the defendant does not have counsel, the court shall appoint counsel. The hearing shall be held within 48 hours after filing the motion unless waived by the defendant either directly or, if represented by counsel, through counsel.
(2) If the defendant waives a hearing under this section and a pretrial risk assessment was conducted and a pretrial services report was prepared, they shall not be provided to the parties named in paragraph (2) of subdivision (f) and the defendant shall be ordered detained.
(c) The defendant shall be afforded an opportunity to present witnesses, to cross-examine witnesses who appear at the hearing, and to present relevant evidence.
(d) In determining whether the facts are evident or the presumption great as specified in paragraph (1), (2), or (3) of subdivision (a), the finding of an indictment or a holding order shall not add to the strength of the proof or create a presumption that the facts are evident or the presumption great.
(e) In making the determination whether there is a substantial likelihood that the defendant’s release would result in great bodily harm to others, as specified in subparagraph (C) of paragraph (2) of subdivision (a), or whether there is a substantial likelihood that the defendant would carry out the threat of great bodily harm if released, as specified in subparagraph (D) of paragraph (3) of subdivision (a), the court shall consider all of the following:
(1) If any condition or combination of conditions of pretrial release would reasonably ensure the physical safety of another person or persons from great bodily harm.
(2) The nature and seriousness of the physical harm to any person or persons that might be posed by the defendant’s release.
(3) Any relevant history or facts about the defendant that directly correspond to whether his or her release is likely to result in great bodily harm to others, as specified in subparagraph (C) of paragraph (2) of subdivision (a), or to the threatened person, as specified in subparagraph (D) of paragraph (3) of subdivision (a).
(f) In addition to the above factors, the court shall consider all of the following:
(1) The protection of the public.
(2) The safety of the victim.
(3) The nature and circumstances of the offense charged.
(4) The weight of the evidence against the defendant.
(5) The previous criminal record of the defendant.
(6) The probability of the defendant appearing at the trial or hearing of the case.
(7) The presumption of innocence and the presumption of release pending trial.
(g) If, after considering any relevant evidence provided by the prosecuting attorney or the defendant, and if no condition or combination of conditions would reasonably ensure the safety of another person or persons from great bodily harm, the court shall order the person detained pending trial only if, pursuant to Section 12 of Article 1 of the Constitution, the court finds that the defendant meets one of the following descriptions:
(1) The defendant has been charged with a capital crime and the facts are evident or the presumption great.
(2) The defendant has been charged with a felony offense involving an act of violence on another person, or a felony sexual assault offense on another person, the facts are evident or the presumption great, and the court finds based upon clear and convincing evidence that there is a substantial likelihood the person’s release would result in great bodily harm to another person or persons.
(3) The defendant has been charged with a felony offense, the facts are evident or the presumption great, and the court finds based on clear and convincing evidence that the person has threatened another with great bodily harm in the charged case and that there is a substantial likelihood that the person would carry out the threat if released.
(h) In a detention order issued under subdivision (g), the court shall include findings of fact and a statement of the reasons for the detention, including the specific likelihood of great bodily harm, if applicable, and why no condition or conditions could reasonably mitigate that likelihood.
(i) If the court does not order the pretrial detention of the person at the conclusion of the hearing under this section, pretrial services shall conduct a risk assessment and prepare a pretrial services report with recommendations for conditions of release and the court shall order the release of the person, with or without conditions, pursuant to Section 1275a.
(j) This section shall become operative on January 1, 2020.