Cal. Welf. & Inst. Code § 707.01
(a) If a minor is found an unfit subject to be dealt with under the juvenile court law pursuant to Section 707, then the following shall apply:
(3) All petitions pending against the minor shall be transferred to the court of criminal jurisdiction where one of the following applies:
(4) All petitions pending against the minor shall be disposed of in the juvenile court pursuant to the juvenile court law, where one of the following applies:
(5) If, subsequent to a finding that a minor is an unfit subject to be dealt with under the juvenile court law, the minor is convicted of the violations which were the subject of the proceeding that resulted in a finding of unfitness, a new petition or petitions alleging the violation of any law or ordinance defining crime which would otherwise cause the minor to be a person described in Section 602 committed by the minor prior to or after the finding of unfitness need not be filed in the juvenile court if one of the following applies:
(6) Subsequent to a finding that a minor is an unfit subject to be dealt with under the juvenile court law, which finding was based solely on either or both the minor’s previous delinquent history or a lack of success of previous attempts by the juvenile court to rehabilitate the minor, and the minor was not convicted of the offense, a new petition or petitions alleging the violation of any law or ordinance defining crime which would otherwise cause the minor to be a person described in Section 602 committed by the minor prior to or after the finding of unfitness need not be filed in the juvenile court if one of the following applies: