Choose one: Check (1) if you are claiming superior rights under a court order. (The district clerk of the county of conviction will fill in this blank.) IN THE COURT OF CRIMINAL APPEALS OF TEXAS.The writ of habeas corpus is the remedy to be used when any person is restrained in his liberty. Mail the completed petition and one copy to the U. S. District Clerk. An application for a Writ of Habeas Corpus is filed when a person seeks relief from unlawful detention or imprisonment. Writ of Habeas Corpus Application Art. Writ proceedings begin when the convicted defendant files an application for writ of habeas corpus and serves the state with a copy. Writ proceedings begin when the convicted defendant files an application for writ of habeas corpus and serves the state with a copy. 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. Please carefully read through all the steps listed below before you begin.