Important Note: Asking for a Writ of Habeas Corpus or Writ of Attachment can be complicated. It is best to have a lawyer.This is a petition for a writ of habeas corpus filed on behalf of. XXXXXXXXXXXXXXXXX seeking relief to remedy his unlawful detention. If you are looking to file a Texas 11.07 Writ of Habeas Corpus application, post-convcition lawyer Sarah Durham is here to help. Attorney Corey Young has extensive experience with habeas corpus petitions, and he can provide skilled legal representation tailored to meet your unique needs. Attached are the forms you will need to file a petition for a writ of habeas corpus. The writ of habeas corpus is the remedy to be used when any person is restrained in his liberty. Most commonly, a person in custody due to ineffective assistance of counsel can petition for a writ of Habeas Corpus to the United States District Court. (The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS.