The state writ of habeas corpus is a legal mechanism that allows individuals to challenge their detention or imprisonment. 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.The habeas writ was not a writ of error. When a Writ of Habeas Corpus is filed, you are asking the court to order the government agency to appear and bring you before the court. Application for Writ of Habeas Corpus from Final Felony Conviction (rev. Filed December 1, 2008; Petition for Writ of Habeas Corpus filed January 18, 2011;Motion. 2. (Petition Under 28 U.S.C. § 2254 for a Writ of Habeas Corpus). Instructions. Petitioner then filed a writ of error coram nobis petition in the Circuit Court of Montgomery County. It applies to those that have already been convicted of a crime and have served out their sentence. On August 31, 1993, Montgomery filed a petition for writ of habeas corpus ad prosequendum in the U.S. District Court for the District of Arizona.