> 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).

# Ala. Code § 12-21-223 — Discharged Codefendant as Witness for Prosecution.

- **Citation**: Ala. Code § 12-21-223
- **Node Type**: section
- **Jurisdiction**: Alabama (state)
- **Code Body**: Code of Alabama 1975 (through the 2026 Regular Session) (Ala. Code)
- **Official Source**: [https://alison.legislature.state.al.us/code-of-alabama#12-21-223](https://alison.legislature.state.al.us/code-of-alabama#12-21-223)
- **Canonical URL**: [https://corpuslaw.us/codes/alabama/title-12/chapter-21/article-2/division-2/division-1/section-12-21-223](https://corpuslaw.us/codes/alabama/title-12/chapter-21/article-2/division-2/division-1/section-12-21-223)
- **Semantic URL**: [https://corpuslaw.us/codes/alabama/title-12/chapter-21/article-2/division-2/division-1/section-12-21-223](https://corpuslaw.us/codes/alabama/title-12/chapter-21/article-2/division-2/division-1/section-12-21-223)

## Hierarchy

Title 12 — Courts. > Chapter 21 — Evidence and Witnesses. > Article 2 — Criminal Cases. > Division 2 — Witnesses. > Division 1 — Competency.

## Text

12-21-223. Discharged Codefendant as Witness for Prosecution.

When two or more defendants are jointly indicted, the court may, at any time before the evidence for the defense has commenced, order any defendant to be discharged from the indictment in order that he may be a witness for the prosecution, and such order operates as an acquittal of such defendant, provided he does testify.

(Code 1852, §639; Code 1867, §4191; Code 1876, §4893; Code 1886, §4477; Code 1896, §5301; Code 1907, §7898; Code 1923, §5636; Code 1940, T. 15, §308.)
