California Penal Code Section 1237.5

CA Penal Code § 1237.5 (2017)  

No appeal shall be taken by the defendant from a judgment of conviction upon a plea of guilty or nolo contendere, or a revocation of probation following an admission of violation, except where both of the following are met:

(a) The defendant has filed with the trial court a written statement, executed under oath or penalty of perjury showing reasonable constitutional, jurisdictional, or other grounds going to the legality of the proceedings.

(b) The trial court has executed and filed a certificate of probable cause for such appeal with the clerk of the court.

(Amended by Stats. 2002, Ch. 784, Sec. 550. Effective January 1, 2003.)

Last modified: October 25, 2018