> 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 § 15-21-30 — Attachment to Compel Obedience and Punish for Contempt.

- **Citation**: Ala. Code § 15-21-30
- **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#15-21-30](https://alison.legislature.state.al.us/code-of-alabama#15-21-30)
- **Canonical URL**: [https://corpuslaw.us/codes/alabama/title-15/chapter-21/section-15-21-30](https://corpuslaw.us/codes/alabama/title-15/chapter-21/section-15-21-30)
- **Semantic URL**: [https://corpuslaw.us/codes/alabama/title-15/chapter-21/section-15-21-30](https://corpuslaw.us/codes/alabama/title-15/chapter-21/section-15-21-30)

## Hierarchy

Title 15 — Criminal Procedure. > Chapter 21 — Habeas Corpus.

## Text

15-21-30. Attachment to Compel Obedience and Punish for Contempt.

(a) It is the duty of the officer before whom a writ of habeas corpus is returnable, in case of such refusal or neglect on the part of the person to whom it is directed, to proceed forthwith against him by process of attachment, as for contempt, to compel obedience to the writ and to punish him for such contempt.

(b) When such attachment is issued against the sheriff or his deputy, it may be directed to the coroner or to any constable and may be executed by such coroner or constable.

(Code 1852, §741; Code 1867, §4292; Code 1876, §4968; Code 1886, §4791; Code 1896, §4844; Code 1907, §7039; Code 1923, §4338; Code 1940, T. 15, §34.)
