General Laws

Section 21. If a person is committed to jail on a criminal accusation for want of bail, a justice of the superior court or of a district court or a trial justice may issue a writ of habeas corpus and cause the prisoner to be brought before him, when it is necessary for the purpose of admitting him to bail pursuant to chapter two hundred and seventy-six.