§ 15A‑534.8.  Rioting or looting; bail and pretrial release.

(a) In all cases in which the defendant is charged with a violation of G.S. 14‑288.2 or G.S. 14‑288.6, the judicial official who determines the conditions of pretrial release shall be a judge. The judge shall direct a law enforcement officer or a district attorney to provide a criminal history report for the defendant and shall consider the criminal history when setting conditions of release. After setting conditions of release, the judge shall return the report to the providing agency or department. No judge shall unreasonably delay the determination of conditions of pretrial release for the purpose of reviewing the defendant's criminal history report. The following provisions shall apply in addition to the provisions of G.S. 15A‑534:

(1) Upon a determination by the judge that the immediate release of the defendant will pose a danger of injury to persons and upon a determination that the execution of an appearance bond as required by G.S. 15A‑534 will not reasonably assure that such injury will not occur, a judge may retain the defendant in custody for a reasonable period of time while determining the conditions of pretrial release.

(2) A judge may order the defendant to stay away from specific locations or property where the offense occurred. This condition may be imposed in addition to requiring that the defendant execute a secured appearance bond.

(3) Should the defendant be mentally ill and dangerous to himself or herself or others, or a substance abuser and dangerous to himself or herself or others, the provisions of Article 5 of Chapter 122C of the General Statutes shall apply.

(b) A defendant may be retained in custody not more than 24 hours from the time of arrest without a determination being made under this section by a judge. If a judge has not acted pursuant to this section within 24 hours of arrest, the magistrate shall act under the provisions of this section. (2023‑6, s. 4.)