> 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-17 — New commitment in criminal case to remedy defects in previous commitment--Admission of applicant to bail.

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

## Hierarchy

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

## Text

21-27-17. New commitment in criminal case to remedy defects in previous commitment--Admission of applicant to bail.

In all cases where the imprisonment is in a criminal, or supposed criminal matter, if it shall appear to the court or judge that there is sufficient legal cause for the commitment of the applicant, although such commitment may have been informally made or without due authority, or the process may have been executed by a person not authorized, the court or judge shall make a new commitment in proper form, directed to the proper officer, or shall admit the applicant to bail, if the case be bailable, as upon a preliminary examination.

CCrimP 1877, § 673; CL 1887, § 7841; RCCrimP 1903, § 773; RC 1919, § 4980; SDC 1939 & Supp 1960, § 37.5504.
