Paradoxically, it was the HabeasCorpus Act of 1679, an attempt to give statutory force to the common-law writ, which paved the way for its gradual erosion.
Habeascorpus is a legal term for the right to have a judge decide if a person is being detained lawfully. The request is made to the court in a written document called a writ.