Section 1. Whoever is imprisoned or restrained of his liberty may, as of right and of course, prosecute a writ of habeas corpus, according to this chapter, to obtain release from such imprisonment or restraint, if it proves to be unlawful, unless—

Terms Used In Massachusetts General Laws ch. 248 sec. 1

  • Arrest: Taking physical custody of a person by lawful authority.
  • Bail: Security given for the release of a criminal defendant or witness from legal custody (usually in the form of money) to secure his/her appearance on the day and time appointed.
  • Habeas corpus: A writ that is usually used to bring a prisoner before the court to determine the legality of his imprisonment. It may also be used to bring a person in custody before the court to give testimony, or to be prosecuted.
  • Prosecute: To charge someone with a crime. A prosecutor tries a criminal case on behalf of the government.
  • Writ: A formal written command, issued from the court, requiring the performance of a specific act.

First, He has been committed for treason or felony, or on suspicion thereof, or as accessory before the fact to a felony, and the cause has been plainly expressed in the warrant of commitment.

Second, He has been convicted or is in execution upon legal process, civil or criminal.

Third, He has been committed on mesne process in a civil action in which he was liable to arrest and imprisonment, unless excessive and unreasonable bail was required.