Notary fills out below. Include all of your grounds for relief and all of the facts that support each ground for relief in this petition.(The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS. Important Note: Asking for a Writ of Habeas Corpus or Writ of Attachment can be complicated. It is best to have lawyer. Habeas corpus is not a second appeal or a way around an unfavorable decision on direct appeal. TO THE HONORABLE DISTRICT JUDGE ELIA CORNEJO LOPEZ: Applicant Manuel Velez is currently confined on death row at the Texas Department of. The required application for a person currently incarcerated in TDCJ to file for a writ of habeas corpus under Texas Code of Criminal Procedure, Article 11.07. In Texas, a writ of habeas corpus is a court order in which the judge demands a law enforcement agency to produce a detainee for a court hearing. If the application is filed prior to disposition of the case, it is filed in the assigned District Court or County Criminal Court at Law.