> 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 § 21-27-28 — Second imprisonment on same cause prohibited after discharge on writ--Circumstances justifying second imprisonment.

- **Citation**: SDCL § 21-27-28
- **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/21-27-28](https://sdlegislature.gov/Statutes/21-27-28)
- **Canonical URL**: [https://corpuslaw.us/codes/south-dakota/title-21/chapter-21-27/section-21-27-28](https://corpuslaw.us/codes/south-dakota/title-21/chapter-21-27/section-21-27-28)
- **Semantic URL**: [https://corpuslaw.us/codes/south-dakota/title-21/chapter-21-27/section-21-27-28](https://corpuslaw.us/codes/south-dakota/title-21/chapter-21-27/section-21-27-28)

## Hierarchy

Title 21 — JUDICIAL REMEDIES > Chapter 21-27 — HABEAS CORPUS

## Text

21-27-28. Second imprisonment on same cause prohibited after discharge on writ--Circumstances justifying second imprisonment.

No person who has been discharged by order of a court or judge upon a writ of habeas corpus shall be again imprisoned, restrained, or kept in custody for the same cause, unless he be afterward prosecuted for the same offense; nor unless by the legal order or process of the court wherein he is bound by recognizance to appear. The following shall not be deemed to be the same cause:

(1) If after a discharge for a defect of proof, or on any material defect in the commitment in a criminal case, such person should be again arrested on sufficient proof, and committed by legal process for the same offense;

(2) If in a civil suit such person has been discharged for any illegality in the judgment or process, and is afterward imprisoned by legal process for the same cause of action;

(3) Generally, whenever the discharge has been ordered on account of the nonobservance of any of the forms required by law, such person may be a second time imprisoned, if the cause be legal, and the forms required by law observed.

CCrimP 1877, § 677; CL 1887, § 7845; RCCrimP 1903, § 777; RC 1919, § 4983; SDC 1939 & Supp 1960, § 37.5506.
