> 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-9.2 — Production of applicant--Payment of expenses--Applicant in state hospital or correctional facility.

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

## Hierarchy

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

## Text

21-27-9.2. Production of applicant--Payment of expenses--Applicant in state hospital or correctional facility.

The officer or person upon whom the writ of habeas corpus is served shall produce the body of the applicant before the court at the hearing of the cause of imprisonment or detainer. If the applicant is in the custody of a civil officer, the court or judge who granted the writ shall determine the expense of bringing the applicant to court, which shall be paid prior to the hearing. If remanded, security must be given to pay the charges for carrying the applicant back. If the applicant is confined in a state correctional facility or state hospital, the court shall issue an order commanding the sheriff of the county in which the application is made to take custody of the applicant during the pendency of any proceedings before the court and to transport the applicant from and return the applicant to a state correctional facility or state hospital if the applicant is not released.

SL 1983, ch 169, § 9; SL 1984, ch 161, § 2; SL 2023, ch 82, § 8.
