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

# SDCL § 12-26-31 — Offender as witness against another--Compelling testimony--Immunity from prosecution.

- **Citation**: SDCL § 12-26-31
- **Node Type**: section
- **Jurisdiction**: South Dakota (state)
- **Code Body**: South Dakota Codified Laws (through session laws effective 2026-09-03) (SDCL)
- **Official Source**: [https://sdlegislature.gov/Statutes/12-26-31](https://sdlegislature.gov/Statutes/12-26-31)
- **Canonical URL**: [https://corpuslaw.us/codes/south-dakota/title-12/chapter-12-26/section-12-26-31](https://corpuslaw.us/codes/south-dakota/title-12/chapter-12-26/section-12-26-31)
- **Semantic URL**: [https://corpuslaw.us/codes/south-dakota/title-12/chapter-12-26/section-12-26-31](https://corpuslaw.us/codes/south-dakota/title-12/chapter-12-26/section-12-26-31)

## Hierarchy

Title 12 — ELECTIONS > Chapter 12-26 — OFFENSES AGAINST THE ELECTIVE FRANCHISE

## Text

12-26-31. Offender as witness against another--Compelling testimony--Immunity from prosecution.

A person offending against any provision of this title is a competent witness against another person so offending, and may be compelled to attend and testify upon any trial, hearing, proceeding, or investigation, in the same manner as any other person. But the testimony so given shall not be used in any prosecution or proceeding, civil or criminal, against the person so testifying, and he shall not thereafter be liable to prosecution or punishment for the offense with reference to which his testimony was given.

SL 1891, ch 58, § 6; RPenC 1903, § 63; RC 1919, § 3654; SDC 1939, § 13.0904; SL 1939, ch 240, § 3; SDC Supp 1960, § 13.0930; SL 1974, ch 118, § 199.
