21-27-3. Contents of application for writ--Documentary authority for commitment attached--Identification of prior applications. An application for a writ of habeas corpus shall be in writing and signed by the applicant or some person on his behalf, setting forth the facts concerning his detention and in whose custody he is detained, and shall be accompanied by a copy of the warrant of commitment or other documentary authority, if any, or by an affidavit that such copy has been demanded of the person in whose custody he is detained and by him refused or not given. The application shall identify any previous applications made pursuant to this chapter, together with the grounds therein asserted.
Source: CCrimP 1877, §§ 671, 672; CL 1887, §§ 7839, 7840; RCCrimP 1903, §§ 771, 772; RC 1919, §§ 4978, 4979; SDC 1939 & Supp 1960, § 37.5501; SL 1983, ch 169, § 3.