State every ground (reason) that supports your claim that you are being held in violation of the Constitution, laws, or treaties of the United States. Attach additional pages if you have more than four grounds. State the facts supporting each ground. Any legal arguments must be submitted in a separate memorandum.
Today, habeas corpus is mainly used as a post-conviction remedy for state or federal prisoners who challenge the legality of the application of federal laws that were used in the judicial proceedings that resulted in their detention.
(b) An application for writ of habeas corpus filed after final conviction in a felony case, other than a case in which the death penalty is imposed, must be filed with the clerk of the court in which the conviction being challenged was obtained, and the clerk shall assign the application to that court.
A Writ of Habeas Corpus is usually filed by submitting a Petition, a Memorandum of Points and Authorities, a Declaration from the defendant, and other evidence which supports the Writ of Habeas Corpus. The Memorandum of Points of Authorities is a legal memorandum, which contains the legal arguments of the defendant.
In Texas, a writ of habeas corpus is a court order in which the judge demands a law enforcement agency to produce a detainee for a court hearing. Prosecutors must show that they have a valid reason for detaining the person. If the detention is illegal, the detainee can be released.
—The writ of habeas data is a remedy available to any person whose right to privacy in life, liberty or security is violated or threatened by an unlawful act or omission of a public official or employee, or of a private individual or entity engaged in the gathering, collecting or storing of data or information ...
A writ of habeas corpus is used to bring a prisoner or other detainee (e.g. institutionalized mental patient) before the court to determine if the person's imprisonment or detention is lawful. A habeas petition proceeds as a civil action against the State agent (usually a warden) who holds the defendant in custody.
Typical examples where a court has granted a habeas corpus petition include claims of new evidence discovered in the case, ineffective assistance of counsel, prosecutorial misconduct, incompetence to stand trial, and challenging conditions of confinement.
Without the writ of habeas corpus, people would be at risk of being detained indefinitely without good reason or at least the right to have a fair hearing. The writ of habeas corpus assures the accused of asking for a hearing to determine the validity of their detainment.
"The privilege of the writ of habeas corpus shall not be suspended except in cases of invasion or rebellion when the public safety requires it." The Constitution protects the writ as a critical instrument for ensuring that the state or any other detaining authority respects an individual's fundamental rights.