Current through the 2022 Legislative Session.
Section 1238 - Appeal by people(a) An appeal may be taken by the people from any of the following:(1) An order setting aside all or any portion of the indictment, information, or complaint.(2) An order sustaining a demurrer to all or any portion of the indictment, accusation, or information.(3) An order granting a new trial.(4) An order arresting judgment.(5) An order made after judgment, affecting the substantial rights of the people.(6) An order modifying the verdict or finding by reducing the degree of the offense or the punishment imposed or modifying the offense to a lesser offense.(7) An order dismissing a case prior to trial made upon motion of the court pursuant to Section 1385 whenever such order is based upon an order granting the defendant's motion to return or suppress property or evidence made at a special hearing as provided in this code.(8) An order or judgment dismissing or otherwise terminating all or any portion of the action including such an order or judgment after a verdict or finding of guilty or an order or judgment entered before the defendant has been placed in jeopardy or where the defendant has waived jeopardy.(9) An order denying the motion of the people to reinstate the complaint or a portion thereof pursuant to Section 871.5.(10) The imposition of an unlawful sentence, whether or not the court suspends the execution of the sentence, except that portion of a sentence imposing a prison term which is based upon a court's choice that a term of imprisonment (A) be the upper, middle, or lower term, unless the term selected is not set forth in an applicable statute, or (B) be consecutive or concurrent to another term of imprisonment, unless an applicable statute requires that the term be consecutive. As used in this paragraph, "unlawful sentence" means the imposition of a sentence not authorized by law or the imposition of a sentence based upon an unlawful order of the court which strikes or otherwise modifies the effect of an enhancement or prior conviction.(11) An order recusing the district attorney pursuant to Section 1424.(b) If, pursuant to paragraph (8) of subdivision (a), the people prosecute an appeal to decision, or any review of such decision, it shall be binding upon them and they shall be prohibited from refiling the case which was appealed.(c) When an appeal is taken pursuant to paragraph (7) of subdivision (a), the court may review the order granting the defendant's motion to return or suppress property or evidence made at a special hearing as provided in this code.(d) Nothing contained in this section shall be construed to authorize an appeal from an order granting probation. Instead, the people may seek appellate review of any grant of probation, whether or not the court imposes sentence, by means of a petition for a writ of mandate or prohibition which is filed within 60 days after probation is granted. The review of any grant of probation shall include review of any order underlying the grant of probation.Amended by Stats. 1999, Ch. 344, Sec. 25. Effective September 7, 1999.