Every person imprisoned in any correctional institution or otherwise restrained of his or her liberty, other than persons imprisoned or restrained pursuant to a final judgment entered in a criminal proceeding, may prosecute a writ of habeas corpus, according to the provisions of this chapter, to obtain relief from the imprisonment or restraint, if it shall prove to be unlawful.

History of Section.
C.P.A. 1905, § 652; G.L. 1909, ch. 305, § 1; G.L. 1923, ch. 356, § 1; G.L. 1938, ch. 584, § 1; impl. am. P.L. 1956, ch. 3721, § 1; G.L. 1956, § 10-9-1; P.L. 1974, ch. 220, § 1.