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.An application for a Writ of Habeas Corpus is filed when a person seeks relief from unlawful detention or imprisonment. In this application form: 1. You must file a 2254 petition within one year from the time your conviction becomes final—when you have exhausted all your appeals. This petition, called a writ of Habeas Corpus, is filed in Federal Court (US District Court ) whether you are serving time in a federal or state prison. There is no clear-cut deadline to file a Texas state writ of habeas corpus. It is advised, however, to file the writ as soon as possible. Stephen Austin traveled to Mexico City to present the petition, whereupon he was arrested and imprisoned indefinitely without the right of habeas corpus.