> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# 22 O.S. § 512 — Certain objections, how taken.

- **Citation**: 22 O.S. § 512
- **Node Type**: section
- **Jurisdiction**: Oklahoma (state)
- **Code Body**: Oklahoma Statutes (through the 2024 or 2025 session, by title) (O.S.)
- **Official Source**: [https://www.oklegislature.gov/OK_Statutes/CompleteTitles/os22.pdf#page=205](https://www.oklegislature.gov/OK_Statutes/CompleteTitles/os22.pdf#page=205)
- **Canonical URL**: [https://corpuslaw.us/codes/oklahoma/title-22/section-22-512](https://corpuslaw.us/codes/oklahoma/title-22/section-22-512)
- **Semantic URL**: [https://corpuslaw.us/codes/oklahoma/title-22/section-22-512](https://corpuslaw.us/codes/oklahoma/title-22/section-22-512)

## Hierarchy

Title 22 — CRIMINAL PROCEDURE

## Text

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.
