1170.03.
(a) (1) When a defendant, upon conviction for a felony offense, has been committed to the custody of the Secretary of the Department of Corrections and Rehabilitation or to the custody of the county correctional administrator pursuant to subdivision (h) of Section 1170, the court may, within 120 days of the date of commitment on its own motion, at any time upon the recommendation of the secretary or the Board of Parole Hearings in the case of a defendant incarcerated in state prison, the county correctional administrator in the case of a defendant incarcerated in county jail, the district attorney of the county in which the defendant was sentenced, or the Attorney General if the Department of Justice originally prosecuted the case, recall the sentence and commitment previously ordered and resentence the defendant in the same manner as if they had not previously been sentenced, whether or not the defendant is still in custody, and provided the new sentence, if any, is no greater than the initial sentence.(2) The court, in recalling and resentencing under this subdivision, shall apply the sentencing rules of the Judicial Council and apply any changes in law that reduce sentences or provide for judicial discretion so as to eliminate disparity of sentences and to promote uniformity of sentencing.
(3) The resentencing court may, in the interest of justice and regardless of whether the original sentence was imposed after a trial or plea agreement, do the following:
(A) Reduce a defendant’s term of imprisonment by modifying the sentence.
(B) Vacate the defendant’s conviction and impose judgment on any necessarily included lesser offense or lesser related offense, whether or not that offense was charged in the original pleading, and then resentence the defendant to a reduced term of imprisonment, with the concurrence of both the defendant and the district attorney of the county in which the defendant was sentenced or the Attorney General if the Department of Justice originally prosecuted the case.
(4) In recalling and resentencing pursuant to this provision, the court may consider postconviction factors, including, but not limited to, the disciplinary record and record of rehabilitation of the defendant while incarcerated, evidence that reflects whether age, time served, and diminished physical condition, if any, have reduced the defendant’s risk for future violence, and evidence that reflects that circumstances have changed since the original sentencing so that continued incarceration is no longer in the interest of justice. The court shall consider if the defendant has experienced psychological, physical, or childhood trauma, including, but not limited to, abuse, neglect, exploitation, or sexual violence, if the defendant was a victim of intimate partner violence or human trafficking prior to or at the time of the commission of the offense, or if the defendant is a youth or was a youth as defined under subdivision (b) of Section 1016.7 at the time of the commission of the offense, and whether those circumstances were a contributing factor in the commission of the offense.
(5) Credit shall be given for time served.
(6) The court shall state on the record the reasons for its decision to grant or deny recall and resentencing.
(7) (A) Resentencing may be granted without a hearing upon stipulation by the parties.
(B) Notwithstanding subparagraph (A), if a victim of a crime wishes to be heard pursuant to the provisions of Section 28 of Article I of the California Constitution, or pursuant to any other provision of law applicable to the hearing, the victim shall notify the prosecution of their request to be heard within 15 days of being notified that resentencing is being sought and the court shall provide an opportunity for the victim to be heard.
(8) Resentencing shall not be denied, nor a stipulation rejected, without a hearing where the parties have an opportunity to address the basis for the intended denial or rejection. If a hearing is held, the defendant may appear remotely and the court may conduct the hearing through the use of remote technology, unless counsel requests their physical presence in court.
(b) If a resentencing request pursuant to subdivision (a) is from the Secretary of the Department of Corrections and Rehabilitation, the Board of Parole Hearings, a county correctional administrator, a district attorney, or the Attorney General, all of the following shall apply:
(1) The court shall provide notice to the defendant and set a status conference within 30 days after the date that the court received the request. The court’s order setting the conference shall also appoint counsel to represent the defendant.
(2) There shall be a presumption favoring recall and resentencing of the defendant, which may only be overcome if a court finds the defendant is an unreasonable risk of danger to public safety, as defined in subdivision (c) of Section 1170.18.