Tex. Code Crim. Proc. art. 11.07
Sec. 1. This article establishes the procedures for an application for writ of habeas corpus in which the applicant seeks relief from a felony judgment imposing a penalty other than death.
(d) If the convicting court decides that there are controverted, previously unresolved facts which are material to the legality of the applicant's confinement, it shall enter an order within 20 days of the expiration of the time allowed for the state to reply, designating the issues of fact to be resolved. To resolve those issues the court may order affidavits, depositions, interrogatories, and hearings, as well as using personal recollection. Also, the convicting court may appoint an attorney or a magistrate to hold a hearing and make findings of fact. An attorney so appointed shall be compensated as provided in Article 26.05 of this code. It shall be the duty of the reporter who is designated to transcribe a hearing held pursuant to this article to prepare a transcript within 15 days of its conclusion. After the convicting court makes findings of fact or approves the findings of the person designated to make them, the clerk of the convicting court shall immediately transmit to the Court of Criminal Appeals, under one cover, the application, any answers filed, any motions filed, transcripts of all depositions and hearings, any affidavits, and any other matters such as official records used by the court in resolving issues of fact.
Sec. 4. (a) If a subsequent application for writ of habeas corpus is filed after final disposition of an initial application challenging the same conviction, a court may not consider the merits of or grant relief based on the subsequent application unless the application contains sufficient specific facts establishing that:
(c) For purposes of Subsection (a)(1), a factual basis of a claim is unavailable on or before a date described by Subsection (a)(1) if the factual basis was not ascertainable through the exercise of reasonable diligence on or before that date.
Sec. 5. The Court of Criminal Appeals may deny relief upon the findings and conclusions of the hearing judge without docketing the cause, or may direct that the cause be docketed and heard as though originally presented to said court or as an appeal. Upon reviewing the record the court shall enter its judgment remanding the applicant to custody or ordering his release, as the law and facts may justify. The mandate of the court shall issue to the court issuing the writ, as in other criminal cases. After conviction the procedure outlined in this Act shall be exclusive and any other proceeding shall be void and of no force and effect in discharging the prisoner.
Sec. 6. Upon any hearing by a district judge by virtue of this Act, the attorney for applicant, and the state, shall be given at least seven full days' notice before such hearing is held.
Sec. 7. When the attorney for the state files an answer, motion, or other pleading relating to an application for a writ of habeas corpus or the court issues an order relating to an application for a writ of habeas corpus, the clerk of the court shall mail or deliver to the applicant a copy of the answer, motion, pleading, or order.
Sec. 2 amended by Acts 1977, 65th Leg., p. 1974, ch. 789, Sec. 1, eff. Aug. 29, 1977; Sec. 5 added by Acts 1979, 66th Leg., p. 1017, ch. 451, Sec. 1, eff. Sept. 1, 1979. Amended by Acts 1995, 74th Leg., ch. 319, Sec. 5, eff. Sept. 1, 1995; Sec. 3(b) amended by Acts 1999, 76th Leg., ch. 580, Sec. 2, eff. Sept. 1, 1999.
Sec. 2. After indictment found in any felony case, other than a case in which the death penalty is imposed, and before conviction, the writ must be made returnable in the county where the offense has been committed.
Sec. 3. (a) After final conviction in any felony case, the writ must be made returnable to the Court of Criminal Appeals of Texas at Austin, Texas.
Acts 1965, 59th Leg., vol. 2, p. 317, ch. 722.
Amended by Acts 1967, 60th Leg., p. 1734, ch. 659, Sec. 7, eff. Aug. 28, 1967;
Acts 1973, 63rd Leg., p. 1271, ch. 465, Sec. 2, eff. June 14, 1973.
Acts 2023, 88th Leg., R.S., Ch. 933 (S.B. 1516), Sec. 20, eff. September 1, 2023.