(a) The court may retain jurisdiction over a person who is found to be a ward or dependent child of the juvenile court until the ward or dependent child attains 21 years of age, except as provided in subdivisions (b), (c), (d), and (e).
(b) The court may retain jurisdiction over a person who is found to be a person described in Section 602 by reason of the commission of an offense listed in subdivision (b) of Section 707, until that person attains 23 years of age, subject to the provisions of subdivision (c).
(c) The court may retain jurisdiction over a person who is found to be a person described in Section 602 by reason of the commission of an offense listed in subdivision (b) of Section 707 until that person attains 25 years of age if the person, at the time of adjudication of a crime or crimes, would, in criminal court, have faced an aggregate sentence of seven years or more.
(d) The court shall not discharge a person from its jurisdiction who has been committed to the Department of Corrections and Rehabilitation, Division of Juvenile Justice while the person remains under the jurisdiction of the Department of Corrections and Rehabilitation, Division of Juvenile Justice, including periods of extended control ordered pursuant to Section 1800.
(e) The court may retain jurisdiction over a person described in Section 602 by reason of the commission of an offense listed in subdivision (b) of Section 707, who has been confined in a state hospital or other appropriate public or private mental health facility pursuant to Section 702.3 until that person attains 25 years of age, unless the court that committed the person finds, after notice and hearing, that the person’s sanity has been restored.
(f) The court may retain jurisdiction over a person while that person is the subject of a warrant for arrest issued pursuant to Section 663.
(g) Notwithstanding subdivisions (b), (c), and (e), a person who is committed by the juvenile court to the Department of Corrections and Rehabilitation, Division of Juvenile Justice on or after July 1, 2012, but before July 1, 2018, and who is found to be a person described in Section 602 by reason of the commission of an offense listed in subdivision (b) of Section 707 shall be discharged upon the expiration of a two-year period of control, or when the person attains 23 years of age, whichever occurs later, unless an order for further detention has been made by the committing court pursuant to Article 6 (commencing with Section 1800) of Chapter 1 of Division 2.5. This subdivision does not apply to a person who is committed to the Department of Corrections and Rehabilitation, Division of Juvenile Justice, or to a person who is confined in a state hospital or other appropriate public or private mental health facility, by a court prior to July 1, 2012, pursuant to subdivisions (b), (c), and (e).
(h) (1) Notwithstanding subdivision (g), a person who is committed by the juvenile court to the Department of Corrections and Rehabilitation, Division of Juvenile Justice, on or after July 1, 2018, and who is found to be a person described in Section 602 by reason of the commission of an offense listed in subdivision (c) of Section 290.008 of the Penal Code or subdivision (b) of Section 707 of this code, shall be discharged upon the expiration of a two-year period of control, or when the person attains 23 years of age, whichever occurs later, unless an order for further detention has been made by the committing court pursuant to Article 6 (commencing with Section 1800) of Chapter 1 of Division 2.5.
(2) A person who, at the time of adjudication of a crime or crimes, would, in criminal court, have faced an aggregate sentence of seven years or more, shall be discharged upon the expiration of a two-year period of control, or when the person attains 25 years of age, whichever occurs later, unless an order for further detention has been made by the committing court pursuant to Article 6 (commencing with Section 1800) of Chapter 1 of Division 2.5.
(3) This subdivision does not apply to a person who is committed to the Department of Corrections and Rehabilitation, Division of Juvenile Justice, or to a person who is confined in a state hospital or other appropriate public or private mental health facility, by a court prior to July 1, 2018, as described in subdivision (g).
(i) The amendments to this section made by Chapter 342 of the Statutes of 2012 apply retroactively.
(j) This section does not change the period of juvenile court jurisdiction for a person committed to the Division of Juvenile Justice prior to July 1, 2018.
(k) This section shall become operative July 1, 2021.
(Amended (as added by Stats. 2020, Ch. 337, Sec. 24) by Stats. 2021, Ch. 18, Sec. 4. (SB 92) Effective May 14, 2021. Section operative July 1, 2021, by its own provisions.)