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.

(Amended by Stats. 1968, Ch. 1064.)

Terms Used In California Penal Code 997

  • Bail: Security given for the release of a criminal defendant or witness from legal custody (usually in the form of money) to secure his/her appearance on the day and time appointed.
  • Defendant: In a civil suit, the person complained against; in a criminal case, the person accused of the crime.
  • Grand jury: agreement providing that a lender will delay exercising its rights (in the case of a mortgage,
  • Indictment: The formal charge issued by a grand jury stating that there is enough evidence that the defendant committed the crime to justify having a trial; it is used primarily for felonies.
  • magistrate: signifies any one of the officers mentioned in Section 808. See California Penal Code 7
  • person: includes a corporation as well as a natural person. See California Penal Code 7
  • Plea: In a criminal case, the defendant's statement pleading "guilty" or "not guilty" in answer to the charges, a declaration made in open court.
  • Trial: A hearing that takes place when the defendant pleads "not guilty" and witnesses are required to come to court to give evidence.