Cal. Welf. & Inst. Code § 607.1
(b) (1)
(2) The court shall retain jurisdiction over a person who is described in paragraph (1) until one of the following applies:
Notwithstanding Section 607, the court shall retain jurisdiction as described in paragraph (2) over any person who meets both of the following criteria: