This is a petition for a writ of habeas corpus filed on behalf of. XXXXXXXXXXXXXXXXX seeking relief to remedy his unlawful detention.What Are The Issues Raised In A Habeas Corpus Writ? The following are just a few examples of possible habeas corpus claims: Ineffective Counsel Assistance. Below are just some examples of claims that may be raised on a writ of habeas corpus. A sample form from the United States Courts website for an incarcerated person petitioning for relief from a federal conviction or sentence. The state writ of habeas corpus is a legal mechanism that allows individuals to challenge their detention or imprisonment. An application for a writ of habeas corpus asks a court to overturn your conviction because of a state or federal constitutional violation. Successfully petitioning for a Writ of Habeas Corpus may result in a reduction of a prison sentence, a new trial, or even a person's freedom. It ensures that individuals are not held in custody without proper legal justification.