The Writ of Habeas Corpus is one of the oldest principles of criminal law in the United States with a rich history dating back to medieval times. There are procedural rules that apply to Habeas Corpus Petitions.They are: o Rules Governing Habeas Corpus Cases Under Section 2254 in the U.S. District. In Maryland, a person who is being held in custody can file a petition for a writ of habeas corpus to challenge the legality of their detention. Habeas Corpus (Trans: you have the body) -- A writ which brings a person before a court. In United States law, habeas corpus is a recourse challenging the reasons or conditions of a person's confinement under color of law. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Those imprisoned have no legal means to protest or challenge the imprisonment. Many prisoners use a writ to challenge the legality of their confinement. The U.S. Supreme Court interprets the Constitution, which means it defines constitutional rights and violations in the cases it decides.