A witness imprisoned pursuant to § 19-5-12 by an officer before whom his deposition is being taken may apply to a judge of the circuit court, who shall have the power to discharge him, if it appear that his imprisonment is illegal.
SDCL 19-5-13
A witness imprisoned pursuant to § 19-5-12 by an officer before whom his deposition is being taken may apply to a judge of the circuit court, who shall have the power to discharge him, if it appear that his imprisonment is illegal.
SDCL 19-5-13