1170.98.
(a) A person currently serving a sentence in state prison or in a county jail pursuant to subdivision (h) of Section 1170 may file a petition to have the petitioner’s conviction vacated and to be resentenced on any remaining counts when all of the following conditions apply:(1) The person is currently serving a sentence based on a conviction for robbery pursuant to Section 211, the person was sentenced under an alternative sentencing scheme based on one or more prior convictions for robbery, or the person’s sentence includes an enhancement based on one or more prior convictions for robbery.
(2) The person did not use a deadly weapon or cause great bodily injury during the robbery that is the basis of the current conviction or one or more of the prior convictions used in sentencing the individual.
(3) The person could not be convicted of robbery based on the changes to Sections 486 and 488 effective January 1, 2022.
(b) Any other person previously convicted of robbery pursuant to Section 211 may file a petition to have the petitioner’s conviction vacated when all of the following conditions apply:
(1) The person did not use a deadly weapon or cause great bodily injury during the robbery.
(2) The person could not be convicted of robbery
based on the changes to Sections 486 and 488 that became effective January 1, 2022.
(c) (1) The petition shall be filed with the presiding judge of the court that sentenced the petitioner and shall be served by the petitioner on the district attorney, or on the agency that prosecuted the petitioner, and on the attorney who represented the petitioner in the trial court or on the public defender of the county where the petitioner was convicted. The presiding judge may assign the petition to the judge that originally sentenced the petitioner or another judge designated to review such petitions. The petition shall include all of the following:
(A) A declaration by the petitioner that the petitioner is eligible for relief under this section, based on the
requirements of subdivision (a) or (b).
(B) The superior court case number and year of the petitioner’s conviction.
(C) Whether the petitioner requests the appointment of counsel.
(2) If any of the information required by this subdivision is missing from the petition and cannot be readily ascertained by the court, the court may deny the petition without prejudice to the filing of another petition and advise the petitioner that the matter cannot be considered without the missing information. If the petitioner has requested counsel, the court shall appoint counsel to represent the petitioner.
(d) The prosecutor shall file and serve a response within 60 days
of service of the petition and the petitioner may file and serve a reply within 30 days after the prosecutor’s response is served. These deadlines shall be extended for good cause. If the petitioner makes a prima facie showing that the petitioner is entitled to relief, the court shall issue an order to show cause.
(e) (1) Within 60 days after the order to show cause has issued, the court shall hold a hearing to determine whether to vacate the conviction and, if the petition is filed pursuant to subdivision (a), whether to recall the sentence and resentence the petitioner on any remaining counts in the same manner as if the petitioner had not been previously sentenced, provided that the new sentence, if any, is not greater than the initial sentence. This deadline shall be extended for good cause.
(2) The parties may waive a resentencing hearing and stipulate that the petitioner is eligible to have the conviction vacated and for resentencing.
(3) At the hearing to determine whether the petitioner is entitled to relief, the burden of proof shall be on the prosecution to prove, beyond a reasonable doubt, that the petitioner is ineligible for resentencing. If the prosecution fails to sustain its burden of proof, the prior conviction shall be vacated and the petitioner shall be resentenced on the remaining charges. The prosecutor and the petitioner may rely on the record of conviction or offer new or additional evidence to meet their respective burdens.
(f) This section does not diminish or abrogate any rights or remedies
otherwise available to the petitioner.
(g) A person who is resentenced pursuant to this section shall be given credit for time served.