All parties are required to advise the court of any related cases, through means of the Civil Cover Sheet or otherwise. A writ of habeas corpus is based solely on the constitution and whether a sentence is unconstitutional.Include all of your grounds for relief and all of the facts that support each ground for relief in this petition. Federal habeas corpus is a procedure under which a federal court may review the legality of an individual's incarceration. Call 936-647-1540 for tailored legal solutions in state and federal cases. An application for a writ of habeas corpus must be made to the appropriate district court. 1. Instead, Petitioner waited until May 10, 2019, to file a state habeas corpus application challenging his conviction and sentence. Ex parte Martinez, No. Marshal in San Antonio, Texas; and the Texas Department of Criminal Justice. Of Texas, San Antonio, Division.