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.
Cal. Penal Code § 997
Setting Aside the Indictment or Information
Applied in 7 court decisions — leading case People v. Remiro (1979)
Most recently applied in 147 Cal. App. 4th 1192 - People v. Lexington National Insurance (February 2007)
Amended by Stats. 1968, Ch. 1064.
How often courts cite this section
Court decisions citing this, by year. The dip in the last several years is a data-coverage gap, not a real trend — our corpus holds fewer opinions from the most recent years, so recent citations are undercounted.
Official source: California Legislative Information. Reproduced from public-domain California statutes; confirm against the official source for the current text. Not legal advice.