Application for the writ shall be made to the superior court in the county in which the person is imprisoned, by a person so imprisoned or restrained, or by some person in his behalf.
RSA 534:3
RS 202:3. CS 215:3. GS 224:3. GL 243:3. PS 239:3. PL 350 :3. RL 406:3. RSA 534:3. 1994, 56:1, eff. Jan. 1, 1995.