I am the Petitioner in this Petition for Writ of Habeas Corpus. Include all of your grounds for relief and all of the facts that support each ground for relief in this petition.Fill out the Petition for Writ of Habeas Corpus to Return Child. Petition Under 28 U.S.C. § 2254 for a Writ of Habeas Corpus. If you fail to get relief on appeal, you may file a habeas corpus petition in state or federal court. Petition (includes Writ of Attachment in sample). Contact your DA ahead of time and see what agreement can be reached. (The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS. For example, such a claim may be raised in a motion for new trial.