16-6-14. Circuit court jurisdiction as to persons detained. The circuit court has jurisdiction to inquire into the cause of detention of all persons confined in the jail of the county or otherwise detained, and to make an order for their recommitment or discharge, or otherwise according to law, and to exercise such other powers as are conferred by the Constitution and statutes of this state.
Source: CCrimP 1877, § 17; CL 1887, § 7041; RCCrimP 1903, § 13; RC 1919, § 4653; SDC 1939 & Supp 1960, § 32.0906; SL 1968, ch 143, § 10.