California Code
CHAPTER 1 - The Judgment
Section 1203.42.

1203.42. (a) If a defendant was sentenced prior to the implementation of the 2011 Realignment Legislation for a crime for which the defendant would otherwise have been eligible for sentencing pursuant to subdivision (h) of Section 1170, the court, in its discretion and in the interest of justice, may order the following relief, subject to the conditions of subdivision (b):

(1) The court may permit the defendant to withdraw their plea of guilty or plea of nolo contendere and enter a plea of not guilty, or, if the defendant has been convicted after a plea of not guilty, the court shall set aside the verdict of guilty, and, in either case, the court shall thereupon dismiss the accusations or information against the defendant and the defendant shall be released from all penalties and disabilities resulting from the offense of which they have been convicted, except as provided in Section 13555 of the Vehicle Code.

(2) The relief available under this section may be granted only after the lapse of two years following the defendant’s completion of the sentence.

(3) The relief available under this section may be granted only if the defendant is not under supervised release, and is not serving a sentence for, on probation for, or charged with the commission of, an offense.

(4) The defendant may make the application and change of plea in person or by attorney, or by a probation officer authorized in writing.

(b) Relief granted pursuant to subdivision (a) is subject to the following conditions:

(1) In a subsequent prosecution of the defendant for any other offense, the prior conviction may be pleaded and proved and shall have the same effect as if the accusation or information had not been dismissed.

(2) The order shall state, and the defendant shall be informed, that the order does not relieve the defendant of the obligation to disclose the conviction in response to a direct question contained in a questionnaire or application for public office, for licensure by a state or local agency, or for contracting with the California State Lottery Commission.

(3) Dismissal of an accusation or information pursuant to this section does not permit a person to own, possess, or have in their custody or control a firearm or prevent a conviction under Chapter 2 (commencing with Section 29800) of Division 9 of Title 4 of Part 6.

(4) Dismissal of an accusation or information underlying a conviction pursuant to this section does not permit a person prohibited from holding public office as a result of that conviction to hold public office.

(c) When the court considers a petition for relief under this section, in its discretion and in the interest of justice, an unpaid order of restitution or restitution fine shall not be grounds for denial of the petition for relief.

(d) A person who petitions for a change of plea or setting aside of a verdict under this section may be required to reimburse the court for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the court not to exceed one hundred fifty dollars ($150), and to reimburse the county for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the county board of supervisors not to exceed one hundred fifty dollars ($150), and to reimburse any city for the actual costs of services rendered, whether or not the petition is granted and the records are sealed or expunged, at a rate to be determined by the city council not to exceed one hundred fifty dollars ($150). Ability to make this reimbursement shall be determined by the court and shall not be a prerequisite to a person’s eligibility under this section. The court may order reimbursement when the petitioner appears to have the ability to pay, without undue hardship, all or a portion of the costs for services established pursuant to this subdivision.

(e) (1) Relief shall not be granted under this section unless the prosecuting attorney has been given 15 days’ notice of the petition for relief. The probation officer shall notify the prosecuting attorney when a petition is filed, pursuant to this section.

(2) It shall be presumed that the prosecuting attorney has received notice if proof of service is filed with the court.

(f) If, after receiving notice pursuant to subdivision (e), the prosecuting attorney fails to appear and object to a petition for dismissal, the prosecuting attorney may not move to set aside or otherwise appeal the grant of that petition.

(Amended by Stats. 2022, Ch. 734, Sec. 7. (SB 1106) Effective January 1, 2023.)

Structure California Code

California Code

Penal Code - PEN

PART 2 - OF CRIMINAL PROCEDURE

TITLE 8 - OF JUDGMENT AND EXECUTION

CHAPTER 1 - The Judgment

Section 1191.

Section 1191.1.

Section 1191.10.

Section 1191.15.

Section 1191.16.

Section 1191.2.

Section 1191.21.

Section 1191.25.

Section 1191.3.

Section 1192.

Section 1192.1.

Section 1192.2.

Section 1192.3.

Section 1192.4.

Section 1192.5.

Section 1192.6.

Section 1192.7.

Section 1192.8.

Section 1193.

Section 1194.

Section 1195.

Section 1196.

Section 1197.

Section 1198.

Section 1199.

Section 1200.

Section 1201.

Section 1201.3.

Section 1201.5.

Section 1202.

Section 1202a.

Section 1202.05.

Section 1202.1.

Section 1202.4.

Section 1202.41.

Section 1202.42.

Section 1202.43.

Section 1202.44.

Section 1202.45.

Section 1202.46.

Section 1202.5.

Section 1202.51.

Section 1202.6.

Section 1202.7.

Section 1202.8.

Section 1203.

Section 1203.01.

Section 1203.016.

Section 1203.017.

Section 1203.018.

Section 1203.02.

Section 1203.03.

Section 1203.045.

Section 1203.046.

Section 1203.047.

Section 1203.048.

Section 1203.049.

Section 1203.05.

Section 1203.055.

Section 1203.06.

Section 1203.065.

Section 1203.066.

Section 1203.067.

Section 1203.07.

Section 1203.074.

Section 1203.075.

Section 1203.076.

Section 1203.08.

Section 1203.085.

Section 1203.09.

Section 1203.095.

Section 1203.096.

Section 1203.097.

Section 1203.098.

Section 1203.099.

Section 1203.1.

Section 1203.1a.

Section 1203.1ab.

Section 1203.1bb.

Section 1203.1d.

Section 1203.1f.

Section 1203.1g.

Section 1203.1h.

Section 1203.1i.

Section 1203.1j.

Section 1203.1k.

Section 1203.1l.

Section 1203.2.

Section 1203.2a.

Section 1203.25.

Section 1203.3.

Section 1203.35.

Section 1203.4.

Section 1203.4a.

Section 1203.4b.

Section 1203.41.

Section 1203.42.

Section 1203.425.

Section 1203.425.

Section 1203.426.

Section 1203.43.

Section 1203.45.

Section 1203.47.

Section 1203.49.

Section 1203.5.

Section 1203.7.

Section 1203.71.

Section 1203.72.

Section 1203.73.

Section 1203.74.

Section 1203.8.

Section 1203.9.

Section 1203.10.

Section 1203.11.

Section 1203.12.

Section 1203.13.

Section 1203.14.

Section 1203a.

Section 1203b.

Section 1203c.

Section 1203d.

Section 1203e.

Section 1203f.

Section 1203h.

Section 1204.

Section 1204.5.

Section 1205.

Section 1205.3.

Section 1207.

Section 1208.

Section 1208.2.

Section 1208.3.

Section 1208.5.

Section 1209.

Section 1209.5.

Section 1210.

Section 1210.1.

Section 1210.2.

Section 1210.5.

Section 1210.6.