In this case, we consider whether a person convicted of a criminal offense may present a facial challenge to the constitutionality of a statute for the first time in an application for a post-conviction writ of habeas corpus under circumstances in which the statute at issue has never been judicially declared by any court with binding authority to be facially unconstitutional. We agree with the court of appeals’s conclusion that Clinton David Beck, appellant, may not bring, in the first instance, his facial constitutional challenge to the statute of conviction in a post-conviction habeas proceeding in which he seeks relief from his plea of guilty to the offense of engaging in an improper relationship with one of his students. Because the statute challenged by appellant has never before been declared facially unconstitutional by any court with binding authority and he did not preserve this challenge in the trial court, this complaint is not cognizable when raised for the first time in a postconviction habeas application. We will affirm the court of appeals’s judgment upholding the trial court’s denial of post-conviction habeas relief.I. BackgroundIn 2010, appellant was working as a middle school teacher. Appellant began to form a close relationship with one of his students, Danielle,[1] who was in eighth grade and thirteen or fourteen years old at the time. Danielle participated in a mentoring program that appellant oversaw, and appellant also instructed Danielle in health class. Despite the school’s policy against texting between teachers and students, appellant began sending text messages to Danielle. At one point, Danielle’s mother became concerned about the frequency of the text messages between appellant and her daughter, and she checked Danielle’s phone. Danielle’s mother found text conversations between appellant and Danielle pertaining to sexual topics. Danielle’s mother called the police to report appellant’s behavior, and she also brought the matter to the attention of the school principal.Appellant was arrested and charged with the offenses of online solicitation of a minor and engaging in an improper relationship with a student. See former TEX. PENAL CODE §§ 33.021(b) (setting forth offense of online solicitation of a minor due to sexually explicit electronic communications), 21.12(a)(2) (setting forth offense of improper educator-student relationship due to sexually explicit electronic communications) (West 2010). Pursuant to a plea bargain, appellant agreed to plead guilty to the improper-relationship charge, forfeit his teaching license, and not apply for any future teaching licenses in the United States.[2] In exchange, the State dismissed the online-solicitation charge. Following appellant’s guilty plea, the trial court sentenced him to ten years’ confinement, suspended for ten years, and it placed him on community supervision. Appellant did not raise any objection to the constitutionality of the improper-relationship statute prior to pleading guilty. Appellant did not appeal his conviction or sentence.In 2014, appellant filed an application for a post-conviction writ of habeas corpus pursuant to Code of Criminal Procedure Article 11.072.[3] In his application, appellant argued that his conviction was invalid because the improper-relationship statute under which he had been convicted was unconstitutional on its face. At the time of appellant’s offense, the statute prohibited, in relevant part, “[a]n employee of a public or private primary or secondary school” from engaging in “conduct described by [the online-solicitation-of-a- minor statute,] Section 33.021 [,]” with a student “ enrolled in a public or private primary or secondary school at which the employee works,” regardless of the age of the student. See former TEX. PENAL CODE § 21.12(a)( 1),(2) (West 2010).[4] The relevant portion of the online- solicitation-of-a-minor statute, Section 33.021, in turn, specified at the time of appellant’s conduct that a person over the age of seventeen commits an offense if, “with the intent to arouse or gratify the sexual desire of any person,” he intentionally “communicates in a sexually explicit manner with a minor” or “distributes sexually explicit material to a minor” “over the Internet, by electronic mail or text message or other electronic message service or system, or through a commercial online service.” Id. § 33.021(b) (West 2010).[5]In his application, appellant noted that, after he pleaded guilty to the improper- relationship charge, this Court declared former Subsection (b) of the online-solicitation-of-a- minor statute facially unconstitutional in violation of the First Amendment in Ex parte Lo, 424 S.W.3d 10, 14, 26-27 (Tex. Crim. App. 2013) (holding former Penal Code Section 33.021(b) unconstitutional “because it prohibits a wide array of constitutionally protected speech and is not narrowly drawn to achieve only the legitimate objective of protecting children from sexual abuse”). In light of this, appellant argued that, because the improper- relationship statute references the online-solicitation provision that this Court declared to be facially unconstitutional in Lo, the holding in that case also necessarily meant that the improper-relationship statute was unconstitutional on its face. He further contended that he was entitled to relief even though his complaint was presented for the first time in a post-conviction habeas proceeding because a facially unconstitutional statute is void from its enactment, and a conviction pursuant to such a statute may be challenged at any time.The trial court denied appellant’s request for habeas relief. In its findings of fact and conclusions of law, the trial court determined that the improper-relationship statute is “distinct from” the online-solicitation statute and that, although the improper-relationship statute “incorporates elements of” the online-solicitation statute, the improper-relationship statute “has additional narrowing elements and is applicable in an entirely different context” from the online-solicitation statute. The trial court also determined that, “[b]ecause of the distinct context of [the improper-relationship statute], a different speech analysis applies than that applied to [the online-solicitation statute] in Ex parte Lo.” The trial court concluded that the law regarding the constitutionality of the improper-relationship statute “has not changed” in light of Lo, and it upheld the statute as constitutional.On appeal, the court of appeals affirmed the trial court’s denial of relief by reasoning that appellant was barred from raising his constitutional challenge to the improper- relationship statute for the first time in a post-conviction habeas proceeding. Ex parte Beck, No. 03-14-00818-CR, 2016 WL 2732131, at *5-7 (Tex. App.—Austin May 4, 2016) (mem. op., not designated for publication). Relying on this Court’s opinion in Karenev v. State, the court of appeals reasoned that facial challenges to the constitutionality of a statute implicate the type of right that is subject to forfeiture, and thus a defendant forfeits his complaint if he fails to object at trial. Id. at *6 (citing Karenev v. State, 281 S.W.3d 428, 434 (Tex. Crim. App. 2009)). The court of appeals also cited Karenev for the proposition that a statute is “‘presumed to be constitutional until it is determined otherwise.’” Id. (quoting Karenev, 281 S.W.3d at 434). Applying these principles to appellant’s case, the court of appeals held that appellant had waived any facial constitutional challenge to the improper-relationship statute by failing to object to the statute’s constitutionality in the trial court. Id.[6]Regarding appellant’s argument that Lo had automatically invalidated the improper- relationship statute and thus he should be permitted to challenge his conviction pursuant to a void statute even though he failed to object at trial, the court of appeals disagreed. It reasoned that this Court “has made no determination regarding the constitutionality of [the improper-relationship statute] in Lo or in any other case.” Id. It continued, “Whether or not the court of criminal appeals or this Court might ultimately determine that [the improper- relationship statute] is unconstitutional for the reasons identified in Lo, there has been no binding judicial declaration on that matter at this point.” Id. at *7. The court of appeals went on to observe that, although the improper-relationship statute references the provisions in the online-solicitation statute, the improper-relationship statute sets forth an entirely separate offense that is “not dependent on any determination being made under” the online- solicitation statute. Id. The court of appeals also noted that the improper-relationship statute “has additional elements that were not required for conviction under [the] former [online- solicitation statute] and that those additional elements might ultimately impact the constitutionality of the prohibition.” Id. Although the court of appeals acknowledged the general principle that a defendant, at any time and without regard to ordinary preservation-of- error requirements, may bring a challenge to his conviction under a statute that has already been declared facially unconstitutional, the court of appeals concluded that that principle was inapplicable here, under these circumstances in which the improper-relationship statute is distinct from the defunct online-solicitation provision and there has been no binding judicial declaration striking down the improper-relationship statute. Id. The court of appeals held that appellant’s constitutional challenge to the improper-relationship statute was subject to the ordinary requirement of a trial objection, and thus it concluded that he was barred from raising that complaint for the first time in a post-conviction habeas proceeding. Id.This Court granted appellant’s petition for discretionary review to assess whether the court of appeals correctly held that his challenge to the constitutionality of the improper- relationship statute could not be raised in a post-conviction habeas proceeding because it had not been preserved at trial or presented on direct appeal.[7]II. AnalysisWe agree with the court of appeals’s conclusion that appellant is barred from presenting his challenge to the improper-relationship statute for the first time in this application for a post-conviction writ of habeas corpus due to the factual and procedural posture of this case. After we address the applicable standard of review, we explain our reasoning below by reviewing this Court’s precedent describing the general rule that a facial constitutional challenge must be preserved during the trial proceedings or later attacks will be forfeited. We also review the law that provides for an exception to that general rule for challenges to convictions pursuant to statutes that have already been declared facially unconstitutional through a binding judicial determination. We then address the basis for our conclusion that neither the general rule nor any exception to that rule permits review of appellant’s first-time challenge to the facial constitutionality of the improper-relationship statute in the instant post-conviction habeas proceeding. Standard of Review In a post-conviction proceeding pursuant to Code of Criminal Procedure Article 11.072, we review de novo the trial court’s resolution of mixed questions of law and fact that do not turn on witness credibility and its resolution of pure questions of law. Absalon v. State, 460 S.W.3d 158, 162 (Tex. Crim. App. 2015). The question before us in the instant case implicates a pure question of law, and we accordingly will review this issue de novo. We will uphold the trial court’s ruling if it is correct under any theory of applicable law. Id.; see also Alford v. State, 400 S.W.3d 924, 929 (Tex. Crim. App. 2013). In General, Facial Constitutional Challenge to Statute May Not Be Raised for the First Time On Post-Conviction Review The crux of the issue before us in this case is whether appellant should be permitted to present his facial constitutional challenge to the statute of his conviction for the first time in the instant post-conviction habeas proceeding. We begin our analysis by reviewing the general law that governs the cognizability of claims on post-conviction review.As a general matter, this Court has held that complaints that could have been raised on direct appeal cannot be raised on post-conviction habeas review. Garza v. State, 435 S.W.3d 258, 261-62 (Tex. Crim. App. 2014); Ex parte Jimenez, 364 S.W.3d 866, 880 (Tex. Crim. App. 2012). “We have said countless times that habeas corpus cannot be used as a substitute for appeal, and that it may not be used to bring claims that could have been brought on appeal.” Ex parte Nelson, 137 S.W.3d 666, 667 (Tex. Crim. App. 2004). This Court has recognized that, in general, even constitutional claims may be forfeited if the applicant had the opportunity to raise the issue on appeal. Ex parte Townsend, 137 S.W.3d 79, 81 (Tex. Crim. App. 2004). This is because the writ of habeas corpus is an extraordinary remedy that is available only in the absence of an adequate remedy at law. Id. In determining that appellant had forfeited his post-conviction challenge to the improper-relationship statute, the court of appeals did not rely on these general principles of cognizability on habeas. Instead, the court of appeals relied on this Court’s direct-appeal decision in Karenev v. State that specifically addressed preservation-of-error requirements in the context of a facial constitutional challenge to a statute. See 281 S.W.3d at 429. In Karenev, this Court held that, in general, a facial constitutional challenge to a statute does not implicate an absolute requirement or prohibition that is exempt from ordinary preservation-of-error requirements, and, therefore, such a challenge may not be presented for the first time on direct appeal. Id. at 434. After a jury convicted him of harassment, Karenev complained for the first time on appeal that the harassment statute was unconstitutionally vague on its face. Id. at 429; see also TEX. PENAL CODE § 42.07(a)(7) (setting forth offense of harassment). This Court concluded that Karenev had forfeited his constitutional challenge by failing to object in the trial court and thus he was precluded from raising that challenge for the first time on appeal. Karenev, 281 S.W.3d at 434. We explained that, pursuant to Marin v. State, our watershed case in the area of error preservation, rules are divided into three categories: (1) absolute requirements or prohibitions, (2) rights that are waivable-only, and (3) rights that can be forfeited. Id. (citing Marin v. State, 851 S.W.2d 275, 279-80 (Tex. Crim. App. 1993)). We concluded that a facial challenge to the constitutionality of a statute “falls within the third category” involving rights that are subject to forfeiture. Id. We additionally observed that statutes “are presumed to be constitutional until it is determined otherwise.” Id. We concluded by stating, “The State and the trial court should not be required to anticipate that a statute may later be held to be unconstitutional.” Id.[8]Applying the reasoning of Karenev to appellant’s case, the court of appeals held that, due to his failure to object in the trial court prior to entering his guilty plea, appellant was barred from presenting his facial constitutional challenge to the improper-relationship statute for the first time in a post-conviction habeas proceeding. See Beck, 2016 WL 2732131, at *6. Appellant now urges that the court of appeals’s application of Karenev to his case was erroneous, but we agree with that court that the underlying premise of Karenev generally applies to this case. Although Karenev was a jury-trial case that was presented to this Court on direct appeal and thus it is not precisely on point as to the question at issue here with respect to whether facial constitutional challenges are cognizable when raised for the first time on post-conviction habeas review, we agree with the court of appeals’s assessment that the reasoning of Karenev generally precludes consideration of such complaints that are presented in the first instance in a habeas application that may be filed many years or even decades after a final judgment. Our cases have recognized that questions of error preservation on appeal and in collateral habeas proceedings are substantially overlapping and that “the requirement in each context informs the other.” Garza, 435 S.W.3d at 261. By holding that a facial challenge to a statute implicates a Marin category-three forfeitable right that must first be raised in the trial court and may not be complained of for the first time on direct appeal, Karenev signaled by extension that this type of complaint generally may not be presented for the first time at the even later stage of post-conviction review, when the added concern for the State’s interest in the finality of its judgments weighs heavily against permitting consideration of such complaints. We thus hold that, as a general matter, a first- time challenge to the facial constitutionality of a statute may not be presented in a postconviction habeas proceeding. This conclusion follows logically not only from the reasoning of Karenev, but also from the general rule governing the cognizability of claims on postconviction review that, with the exception of category-one systemic complaints that may be raised at any time, record-based complaints that could have been adequately litigated at trial or on direct appeal may not later be litigated on habeas. See Jimenez, 364 S.W.3d at 880-81; Townsend, 137 S.W.3d at 81.[9]Accordingly, we reject appellant’s contention that the court of appeals erred by concluding that such facial constitutional challenges are generally not cognizable when advanced for the first time on post-conviction review. We now turn to consider appellant’s arguments as to why this general rule should not apply to his case.C. An Exception to the General Rule Permits a First-Time Challenge To Conviction Under Statute that Has Already Been Declared Facially UnconstitutionalAppellant contends that he should be permitted to litigate his constitutional challenge for the first time on post-conviction habeas review because this situation falls within an exception to the Karenev general rule for statutes that have already been declared facially unconstitutional. In Smith v. State, this Court permitted a defendant to present for the first time on direct appeal a challenge to his conviction on the basis that the underlying statute was facially unconstitutional, despite the fact that he had not raised any objection to the statute’s constitutionality in the trial court. Smith v. State, 463 S.W.3d 890, 895 (Tex. Crim. App. 2015). The basis for this Court’s decision in Smith was that, by the time of Smith’s direct appeal, this Court had already declared the statute at issue, Subsection (b) of the former online-solicitation-of-a-minor statute, to be unconstitutionally overbroad in Lo. Id. at 894 (citing Lo, 424 S.W.3d at 19-20). In Smith, we explained that an unconstitutional statute is “‘void from its inception’” and that, “‘when a statute is adjudged to be unconstitutional, it is as if it had never been[.]‘” Id. at 895 (quoting Reyes v. State, 753 S.W.2d 382, 383 (Tex. Crim. App. 1988)). We then proceeded to consider the Marin categories of rights, and we determined that the “right to be free from the enforcement of a statute that has been declared unconstitutional and void” implicates a category-one absolute requirement. Id. (citing Marin, 851 S.W.2d at 279). Thus, we explained that a “consequence of declaring a penal statute unconstitutional and void is to put a conviction pursuant to that statute into the Marin ‘category one’—an absolute right or legal requirement that is so fundamental that it cannot be forfeited or waived by those complaining thereafter.” Id. at 896. In distinguishing the situation in Smith from the issue that was before us in Karenev, we observed that, whereas in Karenev the defendant on appeal was seeking to attack a valid statute that had not yet been declared void, Smith was “seeking relief for a conviction of a non-crime under a statute that has already been held to be invalid.” Id. We concluded that Smith was entitled to relief on direct appeal even in the absence of any trial objection because we had previously held that the statute of conviction, the former online-solicitation provision, was facially unconstitutional and thus there was no valid statute upon which to base his conviction. Id. at 896-97.Based on the rationale of Smith that had permitted an unpreserved direct-appeal challenge to a conviction pursuant to a statute that had already been found to be facially unconstitutional, this Court has granted post-conviction habeas relief in other cases on the basis that a statute has already been declared facially unconstitutional, despite the lack of preservation with a trial objection or presentation of the complaint on direct appeal. See, e.g., Ex parte Fournier, 473 S.W.3d 789, 796 (Tex. Crim. App. 2015); Ex parte Chance, 439 S.W.3d 918 (Tex. Crim. App. 2014) (per curiam).[10] Thus, although the general rule in Karenev and the Smith exception involved direct-appeal first-time facial constitutional challenges that had not been preserved at trial, this Court has since applied those concepts to grant post-conviction habeas relief on the basis of first-time facial constitutional challenges under circumstances in which an appellate court with binding authority had already determined the statute at issue to be facially unconstitutional.Contrary to appellant’s suggestion that Texas always requires trial preservation for all facial constitutional challenges presented on direct appeal or habeas, the preceding discussion shows that Texas has, in limited circumstances, permitted relief on direct appeal or on habeas review even when such a complaint was not preserved at trial, on the basis that a statute had previously been held to be facially unconstitutional. Such an approach is consistent with this Court’s recognition that certain types of claims alleging violations of systemic rights may be remedied at any time, regardless of whether the claim was preserved at trial or could have been litigated on direct appeal.[11] Given that Texas has granted relief for unpreserved facial constitutional challenges raised for the first time on habeas under circumstances in which the statute underlying an applicant’s conviction had been declared to be facially unconstitutional by a binding judicial determination, and given that Texas more generally permits unpreserved first-time habeas challenges for violations of systemic rights, we disagree with appellant that Texas is out of step with other jurisdictions that he suggests would afford more favorable treatment to his complaint.[12]D. Neither the General Rule nor the Exception to that Rule Permits Review of Appellant’s First-Time Challenge to the Facial Constitutionality of this StatuteBecause our general rules of preservation-of-error and habeas cognizability indicate that a person finally convicted of a criminal offense may not bring a facial constitutional challenge to the statute of his conviction for the first time in a post-conviction habeas proceeding, appellant’s complaint may not properly be considered at this juncture, absent some exception to those rules. Appellant argues that, because this Court’s Smith exception permits first-time habeas challenges not preserved at trial under circumstances in which a statute already has been judicially declared to be facially unconstitutional, his complaint is cognizable under that theory. Appellant asserts that the improper-relationship statute under which he was convicted refers to and incorporates language from a void statute, namely, the portion of the former online-solicitation statute that this Court struck down in Lo, and, as such, the improper-relationship statute is also necessarily void from its enactment. Therefore, relying on Smith, appellant asserts that he may challenge his conviction pursuant to that statute at any time. For reasons that we will explain further below, we agree with the court of appeals’s rejection of appellant’s contention.As we have explained above, at the time of appellant’s conduct, the improper- relationship statute provided, in relevant part, that an employee of a public or private school commits an offense if the employee engages in “conduct described by Section 33.021 [the online-solicitation statute],” with “a person who is enrolled in a public or private primary or secondary school at which the employee works,” regardless of the age of that person. TEX. PENAL CODE § 21.12(a)(2) (West 2010).[13] The relevant portion of the former online- solicitation provision, in turn, provided that a person aged seventeen or older commits an offense if, “with the intent to arouse or gratify the sexual desire of any person, the person, over the Internet, by electronic mail or text message or other electronic message service or system, or through a commercial online service, intentionally communicates in a sexually explicit manner with a minor[.]“ Id. § 33.021(b)(1).[14] The following table compares the two statutes:Elements of the Then-Applicable Improper-Relationship StatuteElements of the Statute Found Facially Unconstitutional in Lo1. An employee of a public or private school1. A person aged seventeen years or older2. Engages in conduct described by the online-solicitation statute: With the intent to arouse or gratify the sexual desire of any person The person over the Internet, text message, or other types of communication listed in the statute Intentionally communicates in a sexually explicit manner with the complainant 2. Same3. The complainant must be a person who is enrolled in a public or private primary or secondary school regardless of the age of the student3. The complainant must be a “minor,” as defined by the statute4. The employee must work at the same place where the complainant is a student4. The statute has no relationship requirementAs the court of appeals observed in its analysis, although the improper-relationship statute refers to the conduct described by the online-solicitation provision, it contains the additional elements that the actor be a school employee and that the recipient of the sexually explicit communications be a student. Compare TEX. PENAL CODE § 21.12(a)(2), with id. § 33.021(b)(1) (West 2010). The improper-relationship statute thus applies in a much narrower context than did the former online-solicitation provision, which applied broadly to any sexually explicit communications between an adult and a minor. In Lo, this Court was particularly concerned with the online-solicitation statute’s sweeping breadth that brought within its coverage a substantial amount of constitutionally protected speech. Lo, 424 S.W.3d at 20, 23. Here, this statute contains material differences from the portion of the online- solicitation statute found to be unconstitutional in Lo because the improper-relationship statute is limited to addressing only sexually explicit communications in the particular context of the teacher-student relationship. As the State observes in its brief, courts have recognized that the government has greater leeway to regulate speech in the educational context.[15] Further, the particular context in which a statute applies is key to conducting a First Amendment overbreadth analysis.[16] This Court’s holding that the online-solicitation provision in Lo was facially unconstitutional because of its sweeping breadth in prohibiting all titillating talk between adults and minors is not a binding judicial declaration that the improper-relationship statute, which applies much more narrowly to educational settings, is also unconstitutional.[17] Given the differences between these two statutes and the distinct manner in which they operate, we agree with the court of appeals’s assessment that this Court’s holding in Lo did not automatically invalidate the improper-relationship statute. See Beck, 2016 WL 2732131, at *7; Lo, 424 S.W.3d at 26-27. Because appellant’s challenge is not based on the same facial constitutionality determination that had already been sustained by a binding judicial declaration in Lo, appellant’s first-time habeas challenge premised on an unpreserved complaint is not cognizable at this juncture.[18]In sum, the improper-relationship statute is an entirely different statute that applies in a much narrower context than did the former online-solicitation provision. Thus, this Court’s decision in Lo that invalidated the online-solicitation provision did not also automatically invalidate the improper-relationship statute. Because no binding judicial authority from this Court or the Supreme Court has ever declared the improper-relationship statute to be invalid, the Smith exception does not apply. We, therefore, agree with the court of appeals’s conclusion that, absent the Smith exception, appellant’s first-time facial constitutional challenge to the statute of conviction falls under the general rule that provides that such complaints may not be presented for the first time in a post-conviction habeas proceeding. See Beck, 2016 WL 2732131, at *6. We hold that, under these circumstances, appellant has forfeited his complaint that the improper-relationship statute is facially unconstitutional, and he may not now litigate that issue in the instant post-conviction habeas proceeding.III. ConclusionWe agree with the court of appeals’s determination that, by failing to present any challenge to the facial constitutionality of the improper-relationship statute at any point prior to the instant habeas application, appellant is now foreclosed from raising that challenge for the first time in this post-conviction proceeding under these circumstances in which the statute at issue has never before been declared invalid through any binding judicial determination. We, therefore, affirm the judgment of the court of appeals denying appellant relief.Delivered: November 22, 2017Publish