This is a petition for a writ of habeas corpus filed on behalf of. XXXXXXXXXXXXXXXXX seeking relief to remedy his unlawful detention.Include all of your grounds for relief and all of the facts that support each ground for relief in this petition. Habeas corpus is not a second appeal or a way around an unfavorable decision on direct appeal. He further stated that retribution had already been accomplished in Lackey's case because of "the severe punishment already inflicted. A person incarcerated for civil contempt is "in custody" for purposes of invoking habeas jurisdiction under 28 U.S.C. § 2241. Winning a Texas Writ of Habeas Corpus. Call to schedule a FREE initial consultation with a Writ of Habeas Corpus lawyer. The Court of Criminal Appeals will, in most cases, remand the application to the trial court to resolve the issues set out in the trial court=s order. This pretrial habeascorpus action is a separate proceeding from the case in which the defendant is being prosecuted for the criminal offense.