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

# G.S. 17-30 — Notice to district attorney.

- **Citation**: G.S. 17-30
- **Node Type**: section
- **Jurisdiction**: North Carolina (state)
- **Code Body**: North Carolina General Statutes (compiled through S.L. 2026-30) (G.S.)
- **Official Source**: [https://www.ncleg.gov/EnactedLegislation/Statutes/HTML/BySection/Chapter_17/GS_17-30.html](https://www.ncleg.gov/EnactedLegislation/Statutes/HTML/BySection/Chapter_17/GS_17-30.html)
- **Canonical URL**: [https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-30](https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-30)
- **Semantic URL**: [https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-30](https://corpuslaw.us/codes/north-carolina/chapter-17/article-6/section-17-30)

## Hierarchy

Chapter 17 > Article 6

## Text

§ 17-30.  Notice to district attorney.
When it appears from the return that such party is detained upon any criminal accusation, the court or judge may, if he thinks proper, make no order for the discharge of such party until sufficient notice of the time and place at which the writ has been returned, or is made returnable, is given to the district attorney of the district in which the person prosecuting the writ is detained. (1868-9, c. 116, s. 13; Code, s. 1635; Rev., s. 1844; C.S., s. 2232; 1973, c. 47, s. 2.)
