> 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. § 517 — Plea of guilty may be withdrawn.

- **Citation**: 22 O.S. § 517
- **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=206](https://www.oklegislature.gov/OK_Statutes/CompleteTitles/os22.pdf#page=206)
- **Canonical URL**: [https://corpuslaw.us/codes/oklahoma/title-22/section-22-517](https://corpuslaw.us/codes/oklahoma/title-22/section-22-517)
- **Semantic URL**: [https://corpuslaw.us/codes/oklahoma/title-22/section-22-517](https://corpuslaw.us/codes/oklahoma/title-22/section-22-517)

## Hierarchy

Title 22 — CRIMINAL PROCEDURE

## Text

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.
