reglab/housing_qa huggingface dataset:
22 OK Stat § 22-500 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-500. Resubmission of case - Bail.

|If the court direct that the case be resubmitted, the defendant, if already in custody, must so remain, unless he be admitted to bail; or if already admitted to bail, or money have been deposited instead thereof, the bail or money is answerable for the appearance of the defendant to answer a new indictment or information; and unless a new indictment or information is found before the next grand jury of the county is discharged, the court must, on the discharge of such grand jury, make the order prescribed in the preceding section. |R.L.1910, § 5787.
22 OK Stat § 22-501 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-501. Setting aside indictment or information not a bar.

|An order to set aside an indictment or information as provided in this article is no bar to a further prosecution for the same offense. |R.L.1910, § 5788.
22 OK Stat § 22-502 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-502. Defendant's pleadings.

|The only pleading on the part of the defendant is either a demurrer or a plea. |R.L.1910, § 5789.
22 OK Stat § 22-503 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-503. Defendant to plead in open court.

|Both the demurrer and the plea must be put in open court, either at the time of the arraignment or at such other time as may be allowed to the defendant for that purpose. |R.L.1910, § 5790.
22 OK Stat § 22-504 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-504. Demurrer to indictment or information.

|The defendant may demur to the indictment or information when it appears upon the face thereof either: |1. That the grand jury by which an indictment was found had no legal authority to inquire into the offense charged, by reason of its not being within the legal jurisdiction of the county.2. That it does not substantially conform to the requirements of this chapter.3. That more than one offense is charged in the indictment or information.4. That the facts stated do not constitute a public offense.5. That the indictment or information contains any matter which, if true, would constitute a legal justification or excuse of the offense charged, or other legal bar to the prosecution.R.L.1910, § 5791.
22 OK Stat § 22-504.1 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-504.1. Motion to quash for insufficient evidence - Proof - Setting aside of indictment or information - Double jeopardy - Denial of motion.

|A. In addition to a demurrer to the indictment or information, as provided in Section 504 of Title 22 of the Oklahoma Statutes, the defendant may file a motion to quash for insufficient evidence in felony cases after preliminary hearing. The defendant must establish beyond the face of the indictment or information that there is insufficient evidence to prove any one of the necessary elements of the offense for which the defendant is charged. |B. The motion to quash for insufficient evidence must be set for hearing on a day certain at the time it is made and notice shall be provided to all parties.C. The indictment or information must be set aside by the court, in which the defendant is formally arraigned, if judgment for the defendant on a motion to quash for insufficient evidence beyond the face of the information is granted.D. An order to set aside an indictment or information on judgment for the defendant on a motion to quash for insufficient evidence, as provided in this section, shall not be a bar to a further prosecution for the same offense. A denial of the motion to quash is not a final order from which a defendant may appeal.Added by Laws 1990, c. 261, § 4, emerg. eff. May 24, 1990.
22 OK Stat § 22-505 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-505. Demurrer to indictment or information, requisites of.

|The demurrer must be in writing, signed either by the defendant or his counsel, and filed. It must distinctly specify the grounds of the objection to the indictment or information, or it must be disregarded. |R.L.1910, § 5792.
22 OK Stat § 22-506 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-506. Hearing on demurrer.

|Upon the demurrer being filed, the objections presented thereby must be heard, either immediately or at such time as the court may appoint. |R.L.1910, § 5793.
22 OK Stat § 22-507 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-507. Ruling on demurrer.

|Upon considering the demurrer, the court must give judgment either sustaining or overruling it, and an order to that effect must be entered upon the minutes. |R.L.1910, § 5794.
22 OK Stat § 22-508 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-508. Demurrer sustained, effect of.

|If the demurrer is sustained, the judgment is final upon the indictment or information demurred to, and is a bar to another prosecution for the same offense, unless the court, being of opinion that the objection on which the demurrer is sustained may be avoided in a new indictment or information, direct the case to be resubmitted to the same or another grand jury, or that a new information be filed. |R.L.1910, § 5795.
22 OK Stat § 22-509 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-509. Demurrer sustained - Defendant discharged or bail exonerated, when.

|If the court do not direct the case to be further prosecuted, the defendant, if in custody, must be discharged, or if admitted to bail, his bail is exonerated, or if he have deposited money instead of bail, the money must be refunded to him. |R.L.1910, § 5796.
22 OK Stat § 22-510 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-510. Proceedings if case resubmitted.

|If the court direct that the case be further prosecuted, the same proceedings must be had thereon as are prescribed in this article. |R.L.1910, § 5797.
22 OK Stat § 22-511 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-511. Demurrer overruled, defendant to plead.

|If the demurrer be overruled, the court must permit the defendant, at his election, to plead, which he must do forthwith, or at such time as the court may allow. If he does not plead, judgment may be pronounced against him. |R.L.1910, § 5798.
22 OK Stat § 22-512 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-512. Certain objections, how taken.

|When the objections mentioned in Section 504 appear upon the face of the indictment or information, they can only be taken by demurrer, except that the objection to the jurisdiction of the court over the subject of the indictment or information, or that the facts stated do not constitute a public offense, may be taken after the arraignment of the defendant, or may be taken at the trial, under the plea of not guilty, and in arrest of judgment. |R.L.1910, § 5799; Laws 1968, c. 175, § 1, eff. Jan. 13, 1969.
22 OK Stat § 22-513 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-513. Pleas to indictment or information.

|There are four kinds of pleas to an indictment or information. A plea of: |First, Guilty.Second, Not guilty.Third, Nolo contendere, subject to the approval of the court. The legal effect of such plea shall be the same as that of a plea of guilty, but the plea may not be used against the defendant as an admission in any civil suit based upon or growing out of the act upon which the criminal prosecution is based.Fourth, A former judgment of conviction or acquittal of the offense charged, which must be specially pleaded, either with or without the plea of not guilty.R.L.1910, § 5800; Laws 1976, c. 20, § 1, eff. Oct. 1, 1976.
22 OK Stat § 22-514 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-514. Pleas to be oral - Entry.

|Every plea must be oral and must be entered upon the minutes of the court. |R.L.1910, § 5801.
22 OK Stat § 22-515 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-515. Form of plea.

|The plea must be entered in substantially the following form: |1. If the defendant plead guilty:The defendant pleads that he is guilty of the offense charged in this indictment or information.2. If he plead not guilty:The defendant pleads that he is not guilty of the offense charged in this indictment or information.3. If he plead a former conviction or acquittal:The defendant pleads that he has already been convicted (or acquitted, as the case may be), of the offense charged in this indictment or information, by the judgment of the court of ....... (naming it), rendered at ........ (naming the place), on the ...... day of .........R.L.1910, § 5802.
22 OK Stat § 22-516 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-516. Plea of guilty.

|A plea of guilty can in no case be put in, except by the defendant himself, in open court, unless upon an indictment or information against a corporation, in which case it can be put in by counsel. |R.L.1910, § 5803.
22 OK Stat § 22-517 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-517. Plea of guilty may be withdrawn.

|The court may, at any time before judgment, upon a plea of guilty, permit it to be withdrawn, and a plea of not guilty substituted. |R.L.1910, § 5804.
22 OK Stat § 22-518 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-518. Plea of not guilty, issues on.

|The plea of not guilty puts in issue every material allegation in the indictment or information. |R.L.1910, § 5805.
22 OK Stat § 22-519 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-519. Plea of not guilty, evidence under.

|All matters of fact tending to establish a defense other than specified in third subdivision of Section 5710 may be given in evidence under the plea of not guilty. |R.L.1910, § 5806.
22 OK Stat § 22-520 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-520. Acquittal, what does not constitute.

|If the defendant was formally acquitted on the ground of variance between the indictment or information and proof, or the indictment or information was dismissed upon an objection to its form or substance, or in order to hold the defendant for a higher offense, without a judgment of acquittal, it is not an acquittal of the same offense. |R.L.1910, § 5807.
22 OK Stat § 22-521 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-521. Acquittal, what constitutes.

|When, however, he was acquitted on the merits, he is deemed acquitted of the same offense, notwithstanding a defect in form or substance in the indictment or information on which he was acquitted. |R.L.1910, § 5808.
22 OK Stat § 22-522 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-522. Former acquittal or conviction as bar.

|When the defendant shall have been convicted or acquitted upon an indictment or information, the conviction or acquittal is a bar to another indictment or information for the offense charged in the former, or for an attempt to commit the same, or for an offense necessarily included therein, of which he might have been convicted under that indictment or information. |R.L.1910, § 5809.
22 OK Stat § 22-523 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-523. Refusal to plead.

|If the defendant refuse to answer the indictment or information by demurrer or plea, a plea of not guilty must be entered. |R.L.1910, § 5810.
22 OK Stat § 22-524 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-524. Preliminary hearing on felony indictment - Time for request - Witnesses - Dismissal.

|Upon the return and filing of an indictment for a felony, the defendant so charged and arrested thereon, or the state, upon filing a request in writing, shall be entitled to have a copy of said indictment, certified by the court clerk, filed with a district, superior, common pleas or county judge, to be designated by the Judge presiding over the grand jury, and the defendant shall have a preliminary hearing thereon, before such designated judge, as a magistrate, as though said charge had been originally filed by verified information, with such magistrate, and under the law applying to the institution and conduct of prosecutions by information filed by the state. Any such request must be filed within ten (10) days after the filing of such indictment with the court clerk, or within ten (10) days after the defendant charged under said indictment has been arrested thereon, whichever is later. Upon such preliminary hearing, the members of the grand jury shall not be subpoenaed or called as a witness except upon an indictment charging the commission of the offense of perjury before the grand jury. The names of witnesses other than those endorsed on the indictment may be endorsed on the indictment prior to said preliminary hearing and such additional persons may be called as witnesses at such preliminary hearing; provided, that this section shall not apply to motion to quash or vacate the grand jury proceedings or indictment upon other grounds. Provided, grand jurors may be called as rebuttal witnesses. |Upon application of the defendant or the state, after the filing of the copy of the indictment with the magistrate, as hereinabove provided, the court may order the indictment filed with the court clerk dismissed and any bond made in the case exonerated.Laws 1961, p. 237, § 1; Laws 1968, c. 258, § 1, emerg. eff. April 29, 1968.
22 OK Stat § 22-561 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-561. Change of venue - When granted - Application - Affidavits and evidence - Removal as to part of defendants.

|Any criminal cause pending in the district court may, at any time before the trial is begun, on the application of the defendant be removed from the county in which it is pending to some other county in said judicial district, whenever it shall appear in the manner hereinafter provided, that the minds of the inhabitants of the county in which the cause is pending are so prejudiced against the defendant that a fair and impartial trial cannot be had therein. Such order of removal may be made on the application of the defendant by petition, setting forth the facts, verified by affidavit, if reasonable notice of the application be given to the district attorney and the truth of the allegations in such petition be supported by the affidavits of at least three credible persons, who reside in said county. The district attorney may introduce counter affidavits to show that the persons making affidavits in support of the application are not credible persons and that the change is not necessary, and may examine the witnesses in support of said application in open court in regard to the truth of said application; and if it be made to appear by the affidavits and examination of witnesses that a fair and impartial trial cannot be had in the county, a change shall be granted and the order made by the court. When there are several defendants in any indictment or criminal prosecution, and the cause of the removal thereof exists only as to one or more of them, the other defendants shall be tried and all proceedings had against them in the county, in which the case is pending, in all respects as if no order of removal had been made as to any defendant. |R.L.1910, § 5811.
22 OK Stat § 22-562 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-562. Change of venue - Proceedings - Costs and expenses.

|A. The order of removal from the county must be entered upon the minutes and the court clerk must thereupon make out, and within ten (10) days transmit to the county to which the action is removed, a certified copy of the order of removal and the record, and shall transmit the pleadings including the undertaking for the appearance of the defendant, and of the witnesses, and the cause must be docketed and stand for trial within six (6) months from the date the cause was ordered removed. |B. If an order of removal is entered, all expenses incurred as a result of the action prior to the date of the order of removal shall be taxed as costs and shall remain payable to the court fund of the county from which the action was removed.C. Except as otherwise provided by this section, the court fund of the county from which the action is removed shall be liable for the expense and charge of removing, delivering and keeping the prisoner, and the fees of jurors and witnesses in attendance during the trial, court reporter's fees, all fees and mileage of the sheriff, and the per diem of bailiffs during the time said cause is on trial, and such other expenses as may be lawfully incurred incident to the trial, which costs and expenses shall be approved by the Court Administrator of the Supreme Court of the State of Oklahoma and certified by the clerk of the court to which the action was transferred to the court clerk of the county from which the cause was removed and shall show the name of each person and the amount due to him.D. On receipt of such certificate, the clerk of the court from which the action was transferred shall draw his warrants on the court fund for the total amount of costs allowed by the transferee court, payable to the order of the court fund of the transferee court subject to the order of the person entitled thereto, and forward the same to the clerk of the court where the cause was tried, who shall deposit it in the court fund.E. If the court fund of the county from which the action was removed does not contain sufficient revenue to make payment to the transferee court, the court clerk of the payor county shall notify the Administrative Director of the courts who shall make payment of any deficiency in the amount due and owing to the transferee court from the Supreme Court Revolving Fund.F. All fees not claimed two (2) years after having been received by the clerk of the transferee court, shall by him be returned to the clerk of the transferor court to be held in the court fund for the benefit of the owner for a period of one (1) year, and, if not claimed within that time, such fees shall become the property of the court fund of the county.R.L. 1910, § 5817. Amended by Laws 1971, c. 155, § 1, emerg. eff. May 22, 1971; Laws 1994, c. 225, § 13, eff. July 1, 1994.
22 OK Stat § 22-563 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-563. Disposition of defendant on change of venue.

|If the defendant is in custody, the order must provide for the removal of the defendant, by the sheriff of the county where he is imprisoned, to the custody of the proper officer of the county to which the action is removed, and he must be removed according to the terms of such order. |R.L.1910, § 5818.
22 OK Stat § 22-564 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-564. Change of venue - Court may require bail.

|When the court has ordered a removal of the action, it may require the accused, if the offense be then bailable, to enter into an undertaking with good and sufficient sureties to be approved by the court, in such sum as the court may direct conditioned for his appearance in the court to which the action has been removed, on the first day of the next term thereof, and to abide the order of such court; and in default of such undertaking, a warrant shall be issued to the sheriff or other proper officer commanding him safely to keep the prisoner and at the proper time to convey him to the jail of the county where he is to be tried, there to be safely kept by the jailer thereof until discharged by due course of law. |R.L.1910, § 5819.
22 OK Stat § 22-565 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-565. Change of venue - Recognizance of witnesses.

|When a removal of the action is allowed, the court may recognize the witnesses on the part of the state to appear before the court to which the defendant is to be tried. |R.L.1910, § 5820.
22 OK Stat § 22-566 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-566. Trial on change of venue - Records and papers.

|The court to which the action is removed must proceed to trial and judgment therein the same in all respects as if the action had been commenced in such court. If it is necessary to have any of the original pleadings or other papers before such court, the court from which the action is removed must at any time upon the application of the district attorney or the defendant, order such papers or pleadings to be transmitted by the clerk, a certified copy thereof being retained. |R.L.1910, § 5821.
22 OK Stat § 22-576 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-576. Trial before judge other than one who conducted preliminary examination.

|The judge who conducts the preliminary examination shall not try the case except with the consent of all parties. |Laws 1968, c. 175, § 2, eff. Jan. 13, 1969.
22 OK Stat § 22-581 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-581. Issue of fact arises, when.

|An issue of fact arises, |1st, upon a plea of not guilty, or,2nd, upon a plea of a former conviction or acquittal of the same offense.R.L.1910, § 5822.
22 OK Stat § 22-582 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-582. Issue of fact, how tried.

|Issues of fact must be tried by a jury. |R.L.1910, § 5823.
22 OK Stat § 22-583 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-583. Defendant must be present, when.

|If the indictment or information is for a felony, the defendant must be personally present at the trial, but if for a misdemeanor not punishable by imprisonment, the trial may be had in the absence of the defendant; if, however, his presence is necessary for the purpose of identification, the court may, upon application of the district attorney, by an order or warrant, require the personal attendance of the defendant at the trial. |R.L.1910, § 5824.
22 OK Stat § 22-584 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-584. Postponement for cause.

|When an indictment or information is called for trial, or at any time previous thereto, the court may, upon sufficient cause shown by either party, as in civil cases, direct the trial to be postponed to another day in the same or next term. |R.L.1910, § 5837.
22 OK Stat § 22-585 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-585. Postponement for investigation of claimed alibi.

|Whenever testimony to establish an alibi on behalf of the defendant shall be offered in evidence in any criminal case in any court of record of the State of Oklahoma, and notice of the intention of the defendant to claim such alibi, which notice shall include specific information as to the place at which the defendant claims to have been at the time of the alleged offense, shall not have been served upon the district attorney at or before five (5) days prior to the trial of the case, upon motion of the district attorney, the court may grant a postponement for such time as it may deem necessary to make an investigation of the facts in relation to such evidence. |Laws 1935, p. 18, § 1.
22 OK Stat § 22-591 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-591. Same jurors in both civil and criminal actions.

|The jurors duly drawn and summoned for the trial of civil actions may also be the jurors for the trial of criminal actions. In any district court where an electronic jury management system is implemented pursuant to Section 13 of this act, jurors may be selected and summoned utilizing the automated functionality provided in the jury management system. Whenever the court utilizes the approved jury management system to randomly select and sequentially order juror names during any step in the jury selection process, the laws relating to the use of a jury wheel, and laws requiring paper ballots drawn from a jury wheel or a shaken box, shall not apply, including but not limited to those requirements set forth in Sections 301 through 363 and Sections 591 through 693 of this title. |R.L. 1910, § 5825. Amended by Laws 2015, c. 242, § 3, emerg. eff. May 4, 2015.
22 OK Stat § 22-592 (2021)
2021 Oklahoma Statutes|Title 22. Criminal Procedure|§22-592. Trial jury - How formed.

|Trial juries for criminal actions may also be formed in the same manner as trial juries in civil actions. |R.L.1910, § 5826.