California Codes homeSearch California
Cal. CodesPenal CodePart 2. Of Criminal ProcedureTitle 6. Pleadings and Proceedings Before TrialChapter 2. Setting Aside the Indictment or Information

Cal. Penal Code § 997 (2026)

Edition and currency
leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). The text is the edition Syfert holds; for a past event, check the version in force on that date.
Other sources
CURRENTleginfo export of Sept. 26, 2026 (applied Oct. 1, 2026) cited 1947–2007 14citing cases
At a glance

Courts have cited this section in 14 opinions since 1947.

The motion must be heard at the time it is made, unless for cause the court postpones the hearing to another time. The court may entertain such motion prior to trial whether or not a plea has been entered and such plea need not be set aside in order to consider the motion. If the motion is denied, and the accused has not previously answered the indictment or information, either by demurring or pleading thereto, he shall immediately do so. If the motion is granted, the court must order that the defendant, if in custody, be discharged therefrom; or, if admitted to bail, that his bail be exonerated; or, if he has deposited money, or if money has been deposited by another or others instead of bail for his appearance, that the same be refunded to him or to the person or persons found by the court to have deposited said money on behalf of said defendant, unless it directs that the case be resubmitted to the same or another grand jury, or that an information be filed by the district attorney; provided, that after such order of resubmission the defendant may be examined before a magistrate, and discharged or committed by him, as in other cases, if before indictment or information filed he has not been examined and committed by a magistrate.

The 14 cases that cite Cal. Penal Code § 997 most heavily, weighted by court and treatment. RelevanceNewestTreatment
1
GREENPeople v. Remiro, 89 Cal. App. 3d 809 (Ct. App. 1979).
cites § 997 2×cited by 70 cases
Where it cites § 997
“The trial court properly denied the renewed motion as untimely (Pen. Code, § 997; People v. Waters (1975) 52 Cal.”
The case’s holding
An Allen-type instruction that encourages minority jurors to reexamine their views in light of the majority and asserts that a case must be decided constitutes reversible error.
2
GREENPeople v. Waters, 52 Cal. App. 3d 323 (Ct. App. 1975).
cites § 997 3×cited by 35 cases
Where it cites § 997
“Appellant charges error, contending the trial court could still hear the motion “prior to trial” under the provisions of Penal Code section 997.”
The case’s holding
A guilty plea bars a later motion to set aside the indictment, since the plea admits probable cause and terminates the right to challenge sufficiency of the evidence.
3
GREENAnderson v. Superior Court, 66 Cal. 2d 863 (1967).
cites § 997 1×cited by 37 cases
Where it cites § 997
“” The court ordered (as allowed by Pen. Code, §§ 997, 998) that a preliminary examination be held before a magistrate and that if the petitioner be committed or held to answer, an information against him be filed by the district attorney.”
The case’s holding
An appeal from an order in a criminal case removes the subject matter of that order from the jurisdiction of the trial court.
Later courts cite it for
“that an appeal from an order in a criminal case removes the subject matter of that order from the jurisdiction of the trial court.” · 3 citing courts
4
GREENPeople v. Lexington Nat'l Ins., 147 Cal. App. 4th 1192 (Ct. App. 2007).
cites § 997 1×cited by 6 cases
Where it cites § 997
“Code, § 1384), when the trial court grants a motion to set aside the indictment or information (Pen. Code, § 997), when a defendant is committed after being convicted (Pen.”
5
GREENPeople v. Superior Court, 13 Cal. App. 3d 672 (Ct. App. 1970).
cites § 997 1×cited by 23 cases
Where it cites § 997
“(Pen. Code, § 997.) But as pointed out above, there was no hearing of defendant’s motion upon the merits, and the indictment was not set aside pursuant to section 995.”
The case’s holding
A dismissal of criminal charges in furtherance of justice is invalid unless reasons are entered in the minutes, and dismissing merely to save court time is an abuse of discretion.
6
GREENMartinez v. Superior Court, 106 Cal. App. 3d 975 (Ct. App. 1980).
cites § 997 1×cited by 6 cases
Where it cites § 997
“5 The indictment and the evidence presented to the grand jury would be completely supplanted by the new proceedings, and review of the question whether the accused has been committed upon probable cause would necessarily have to be determined by reference to the evidence…”
7
GREENCook v. Superior Court of San Diego, 4 Cal. App. 3d 822 (Ct. App. 1970).
cites § 997 2×cited by 5 cases
Where it cites § 997
“, thereby denying them their right of cross-examination and other constitutional rights; (3) the superior court was without jurisdiction of the misdemeanor charge of possession of a burglar’s tool in violation of Penal Code section 466 because that misdemeanor charge was…”
8
GREENZiesmer v. Superior Court, 107 Cal. App. 4th 360 (Ct. App. 2003).
cites § 997 1×cited by 27 cases
Where it cites § 997
“(See Pen.Code, §§ 997, 998 & 1010.) Immediately after the dismissal was entered, the People filed a *132 complaint under the same case number charging the same crimes as those in the dismissed indictment.”
9
GREENPeople v. Hjelm, 224 Cal. App. 2d 649 (Ct. App. 1964).
cites § 997 1×cited by 9 cases
Where it cites § 997
“) It becomes necessary, therefore, to review the proceedings before the grand jury in order to ascertain what evidence, if any, was in the record concerning the completion of the deposition by defendant, and the effect of certain stipulations made at the taking of the deposition.”
10
GREENPeople v. Ferrera, 149 Cal. App. 2d 850 (Ct. App. 1957).
cites § 997 1×cited by 8 cases
Where it cites § 997
“Referring to the motion under section 995, Penal Code, section 997, reads: “The motion must be heard at the time it is made, unless for cause the court postpones the hearing to another time.”
11
GREENZiesmer v. Superior Court, 107 Cal. App. 4th 360 (Ct. App. 2003).
cites § 997 1×cited by 1 case
Where it cites § 997
“(See Pen. Code, §§ 997, 998 & 1010.) Immediately after the dismissal was entered, the People filed a complaint under the same case number charging the same crimes as those in the dismissed indictment.”
The case’s holding
A section 995 dismissal of a criminal action terminates the action for Code of Civil Procedure section 170.6, permitting a new peremptory challenge to the refiled case's judge.
Later courts cite it for
“the abuse of discretion standard is itself much abused.” · 2 citing courts
12
NEUTRALPeople v. Spencer, 52 Cal. App. 3d 563 (Ct. App. 1975).
cites § 997 1×cited by 7 cases
Where it cites § 997
“(Pen. Code, § 997.) Regardless of said failure, be it intentional or *565 inadvertent, the district attorney could have sought a new indictment or filed an information alleging violation of subdivision 1 of section 487.”
13
NEUTRALPeople v. Superior Court (schultz), 100 Cal. App. 4th 340 (Ct. App. 2002).
cites § 997 1×cited by 0 cases
Where it cites § 997
“In his statement of decision, Judge Ochoa ordered, "Pursuant to Penal Code section 997 this court directs that the case either be resubmitted to a grand jury composed in compliance with the provisions of 904.”
14
NO FLAGPeople v. McRae, 79 Cal. App. 2d 79 (Ct. App. 1947).
cites § 997 1×cited by 0 cases
Where it cites § 997
“” (Pen. Code, §§ 997, 1009.) Section 997 provides that: “If the motion is granted, the court must order that the defendant, if in custody, be discharged therefrom; or, if admitted to bail, that his bail be exonerated; .”

The flag is Syfertize’s treatment of the citing case itself, not of the statute. “Where it cites” is the passage in the opinion; the holding is a summary of the whole case and may concern another point. Annotations are extracted automatically from the opinions in the Syfert caselaw corpus.

Citing cases by year
194719772007

One bar per year. Tallest: 2 cases in 1970. These are opinions in the Syfert collection, which holds more of some courts’ recent opinions than their older ones, so a rise can reflect what the collection holds and not more litigation.

By court
Cal. Ct. App.13Cal.1
By subsection

Courts have not cited this section by subsection, so its cases are not split up here. The Leading cases tab lists the cases that cite it most heavily.

Enactment and amendments

Syfert holds no separate history line for this section. Where this code prints a source or history note, it appears with the text, usually at the end.

Versions

Edition shown: leginfo export of Sept. 26, 2026 (applied Oct. 1, 2026). Syfert holds no earlier or later version of this section.

California Codes Home  |  Search California  |  Search cases for this section  |  syfert.com