OPINION
delivered the opinion for a unanimous Court.
The court of appeals held that it did not have jurisdiction over Armando Quintana Villanueva’s appeal from the trial judge’s decision to deny his Article 11.072 application for a writ of habeas corpus as frivolous because the trial judge refused to consider the merits of Villanueva’s claims. 1 We reverse the court of appeals’s decision and remand this case so that the court can determine whether it has jurisdiction to consider Villanueva’s appeal under Article, 11.072, Section 8, which governs the right to appeal. 2
Background
In 2000, Villanueva pled guilty to the Class A misdemeanor offense of assault. The trial judge accepted Villanueva’s plea, found Villanueva guilty, and assessed Villa-nueva’s punishment at one year imprisonment and a $10,000 fine. The trial judge then suspended the term of imprisonment and placed Villanueva on community supervision for two years.
In 2004, approximately two years after his community-supervision term expired, Villanueva filed an application for a writ of habeas corpus under Article 11.072, Texas Code of Criminal Procedure, requesting that the trial judge set aside his conviction and sentence. Villanueva claimed that his guilty plea was unknowing and involuntary and that he received ineffective assistance of counsel.
On January 20, 2005, the trial judge entered an order denying Villanueva’s request for findings and conclusions and a second order denying his application as frivolous. In denying Villanueva’s application for a second time, the judge explained that he wanted to enter an order that more clearly reflected his intentions. This time, the judge stated that it was unnecessary to reach the merits of Villanueva’s claims because Villanueva failed to present any evidence showing that his liberty was restrained as a result of his assault conviction. Villanueva filed a second notice of appeal, and the trial judge certified his right to appeal in February.
Before the Corpus Christi Court of Appeals, Villanueva challenged the trial judge’s decision to deny relief. 4 In an unpublished memorandum opinion, the court dismissed the appeal for lack of jurisdiction because the trial judge did not rule on the merits of Villanueva’s habeas claims. 5 In rendering its decision, the court relied on the Austin Court of Appeals’s opinion in Ex parte Gonzales, 6 which in turn relied on our opinion in Ex parte Hargett. 7
In Ex parte Hargett, Hargett, the applicant, filed an application for a writ of habeas corpus pursuant to Article V, Section 8 to the Texas Constitution, claiming that the State breached his plea bargain agreement and that he was denied his constitutional right to effective assistance of counsel. 8 We granted review to determine whether the court of appeals erred in dismissing Hargett’s appeal for lack of jurisdiction because it incorrectly concluded that the trial judge had refused to issue the writ. 9
We agreed with the court of appeals’s determination that no writ had issued but held that it erred in concluding that it was without jurisdiction to hear Hargett’s appeal. 10 After conducting an independent review of the record, we determined that, although the trial judge did not formally issue the writ, the trial judge did deny relief after reviewing the merits of Har-gett’s allegations. 11
In holding that the court of appeals erred in ruling that it lacked jurisdiction, we considered the applicable, longstanding rule of law concerning the right to appellate review — that “no appeal can be had from a refusal to issue or grant a "writ of habeas corpus even after a hearing.”
12
Applying Ex parte Hargett in Ex parte Gonzales, the Austin Court of Appeals held that it did not have jurisdiction to hear the applicant’s appeal from the trial judge’s decision to deny his writ application without a hearing after issuing an order granting his writ. 19 In doing so, the court observed that, when a trial judge refuses to issue a writ or denies a hearing on the merits, an applicant has no right to appeal. 20 The court then concluded: “Because the court did not consider and resolve the merits of [the applicant’s] habeas corpus application, we are constrained to hold that we are without appellate jurisdiction.” 21
We granted Villanueva’s petition for discretionary review to determine whether the Corpus Christi Court of Appeals erred in holding that it did not have jurisdiction to entertain Villanueva’s appeal. We also granted review to decide whether the court of appeals erred in rendering a judgment on the December 27, 2004, order denying relief when the trial judge entered a second order denying relief on January 20, 2005.
Analysis
Article I, Section 12 to the Texas Constitution commands: “The writ of ha-beas corpus is a writ of right, and shall never be suspended.” 22 It further directs the Legislature to “enact laws to render the remedy speedy and effectual.” 23 Article V, Section 8 to the Texas Constitution confers district courts with “exclusive, appellate, and original jurisdiction of all actions, proceedings, and remedies, except in cases where exclusive, appellate, or original jurisdiction may be conferred by this Constitution or other law on some other court, tribunal, or administrative body.” 24 Under its original jurisdiction, a district court possesses “plenary power to grant writs of habeas corpus.” 25
In 2003, the Legislature enacted Article 11.072, titled “Procedure in Community Supervision Case.”
36
Article 11.072, Section 1 “establishes the procedures for an application for a writ of habeas corpus in a felony or misdemeanor case in which the applicant seeks relief from an order or a judgment of conviction ordering community supervision.”
37
An application filed under Article 11.072 “must be filed with the district clerk of the court in which community supervision was imposed.”
38
The statute permits a person who is serving or who has completed a term of community supervision to file an application for a writ of habeas corpus.
39
The application must attack the “legal validity” of “(1) the conviction for which or order in which community supervision was imposed”; or “(2) the conditions of community supervision.”
40
A writ of habeas corpus “issues by operation of law” when the application is filed.
41
If the State files an answer, the trial judge must enter a written order granting or denying relief no “later than the 60th day
An “applicant may appeal under Article 44.02 and Rule 31, Texas Code of Appellate Procedure” if the trial judge “denied the application in whole or in part.” 45 And the State “may appeal under Article 44.01 and Rule 31” if the trial judge granted the application “in whole or part.” 46
Finally, like Article 11.07, Section 4, and Article 11.071, Section 5, Article 11.072, Section 9 restricts the circumstances under which a court can consider the merits of claims raised in a subsequent application:
(a)If a subsequent application for a writ of habeas corpus is filed after final disposition of an initial application under this article, 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 the current claims and issues have not been and could not have been presented previously in an original application or in a previously considered application filed under this article because the factual or legal basis for the claim was unavailable on the date the applicant filed the previous application.
(b) For purposes of Subsection (a), a legal basis of a claim is unavailable on or before a date described by that subsection if the legal basis was not recognized by and could not have been reasonably formulated from a final decision of the United States Supreme Court, a court of appeals of the United States, or a court of appellate jurisdiction of this state on or before that date.
(c) For purposes of Subsection (a), a factual basis of a claim is unavailable on or before a date described by that subsection if the factual basis was not ascertainable through the exercise of reasonable diligence on or before that date. 47 [2,3] Before Article 11.072 came into
effect, Article V, Section 8 of the Texas Constitution provided the only avenue through which an individual serving a term of community supervision or who completed a term of community supervision could pursue habeas relief.
48
The plain language of Article I, Section 12 to Texas Constitution gives the Legislature the authority to define the scope of a court’s original habe-as jurisdiction.
49
Thus, short of suspending the writ, the Legislature may regulate how a court exercises its original habeas jurisdiction by enacting particular procedural mechanisms that govern the submission and presentation of an application for writ of habeas corpus.
50
When an applica
By enacting Article 11.072, it is clear that the Legislature intended Article 11.072 to provide the exclusive means by which the district courts may exercise their original habeas jurisdiction under Article V, Section 8 of the Texas Constitution in cases involving an individual who is either serving a term of community supervision or who has completed a term of community supervision. 52 Section 4, which states that the writ issues by operation of law, represents a significant departure from prior writ law that allowed a judge, in his or her discretion, to refuse to issue a writ. As stated above, under the rule discussed in Hargett, when the trial judge refused to issue a writ, an applicant had no right to appeal. In providing for automatic issuance, it is evident that Section 4 was enacted with the specific purpose of eliminating a trial judge’s discretion to refuse to issue a writ. Taken together, Sections 4 and 8 signify that the rule governing appellate review that was most recently clarified in Hargett in 1991 and employed by the Austin Court of Appeals in Ex parte Gonzales in 2000 no longer applies to applications for a writ of habeas corpus filed by a person who is serving or who has served a community supervision term. Accordingly, the rule discussed in Har-gett — to the extent that it applies to an appeal from the disposal of an 11.072 application for a writ of habeas corpus filed by a person on community supervision or who has completed a term of community supervision — has been superceded by Sections 4 and 8 of Article 11.072. Against this backdrop, we are compelled to conclude that Section 8 of Article 11.072 plainly regulates an applicant's right to appeal. Therefore, the appealability of an application for writ of habeas corpus filed under Article 11.072 following a disposition by the district court is controlled by Section 8 of Article 11.072.
In this case, when dismissing Villa-nueva’s appeal for lack of jurisdiction, the court of appeals did not apply Section 8 of Article 11.072, even though it recognized that Villanueva’s application for a writ of habeas corpus was filed pursuant to Article 11.072. 53 Instead, the court relied solely on the rule addressing the right to appellate review that was examined in Hargett. 54 Therefore, we remand this case so that the court of appeals can address the merits of the appeal. 55 In doing so, the court shall consider the plain language of Article 11.072, Section 8. 56
Finally, we dismiss as improvidently granted Villanueva’s claim relating to the propriety of the court of appeals’s decision to render a judgment on the trial judge’s first order, entered on December 27, 2005, denying relief. Notably, we cannot discern from the record which order — the
Conclusion
Based on the foregoing, we reverse the judgment of the court of appeals and remand this case for proceedings consistent with this opinion.
Notes
.
Villanueva v. State,
No. 13-05-00114-CR,
. TexCode Crim. Proc. Ann. art. 11.072 § 8 (Vernon 2005).
. Tex.Code Crim. Proc. Ann. art. 11.072 § 7(a).
.
Villanueva,
. Id. at * 1, at ⅞2.
.
Id.
(citing
Ex parte Gonzales,
.
. Id. at 867.
. Id.
. Id. at 868-69.
. Id. at 868.
. Id.; see generally 43A Dix and Dawson, Criminal Practice and Procedure §§ 47.54-47.55 (2d ed.2001) (discussing the origination and continued development of this rule).
.
Hargett,
. Id.
. Id.
. Id.
. Id. at 868-69.
. Id. at 869.
.
. Id. at 915.
. Id.
. Tex. Const. Art. I § 12.
. Id.
. Tex. Const. Art. V § 8.
.
Ex parte Hargett,
.
Ex parte Ainsworth,
. Id.
.
.
Ex parte Ainsworth,
.
Ex parte Renier,
.
Id.
at 357 (Teague, J., dissenting);
Thomas v. State,
.
Ex parte Renier,
.
Ex parte Hargett,
. Id. at 868-69.
. Id. at 868.
. Added by Acts 2003, 78th Leg., ch. 587, § 1, eff. June 20, 2003.
. Tex.Code Crim. Proc. Ann. art. 11.072 § 1.
. Tex.Code Crim. Proc. Ann. art. 11.072 § 2(a).
. Tex.Code Crim. Proc. Ann. art. 11.072 § 2(b).
. Tex.Code Crim. Proc. Ann. art. 11.072 § 2(b)(l)-(2).
. TexCode Crim. Proc. Ann. art. 11.072 § 4(a).
. TexCode Crim. Proc. Ann. art. 11.072 § 6(a).
. TexCode Crim. Proc. Ann. art. 11.072 § 7(a).
. Id.
. TexCode Crim. Proc. Ann. art. 11.072 § 8.
. Id.
. TexCode Crim. Proc. Ann. art. 11.072 § 9.
.
Ex parte McCullough,
.
Cf. Ex parte Golden,
.
Ex parte Davis,
.
Id.
at 224;
Ex parte Carrio,
.
Cf. Ex parte Smith,
.
Villanueva,
. Id. at *1, at *2.
.
Lee v. State,
.
See Boykin v. State,
