Âś1delivered the opinion of the Court,
Âś2In this case we reconsider the âHelms Ruleâ that, âWhere a plea of guilty is voluntarily and understandingly made, all non-jurisdictional defects including claimed deprivation of federal due process are waived,â Helms v. State, 484 S.W.2d 925, 927 (Tex.Cr.App.1972).
Âś4When the appellant got off a flight from Belize at Houston Intercontinental Airport, an immigration inspector decided that she should be excluded from entry into the United States. She was to be detained overnight and returned to Belize the following day. She was taken to the Liberty County jail, which had a contract with the Immigration and Naturalization Service to house detainees. When she was searched at the jail, cocaine was found taped to her legs.
Âś5The appellant was indicted for possession of cocaine in the amount of at least 200 grams but less than 400 grams. She moved to suppress the evidence of her possession of cocaine on the ground that it was obtained incident to an illegal arrest. The district court heard evidence on the motion and denied it. Immediately after that ruling the appellant waived trial by jury and pleaded guilty. There was no plea-bargain agreement between the appellant and the State. After preparation of a presentence investigation report, the court held a hearing on punishment and sentenced the appellant to ten years in prison.
Âś6The appellant asked the court of appeals to reverse her conviction because the trial court erred by denying her motion to suppress evidence. She also asked the court to overrule Helms. The court of appeals held that the appellant was precluded from appealing the trial courtâs ruling on the motion to suppress because, in a case in which there was no plea-bargain agreement, the HelmsRule meant that such matters were waived. Young v. State, 940 S.W.2d 680, 681 (Tex.App. â Beaumont 1996). The court held that it was not authorized to overrule Helms. Ibid.It suggested that the appellant should have pleaded not guilty to avoid the HelmsRule. Id. at 681-82.
Âś7We granted discretionary review on our own motion
Âś8II.
Âś9The âHelms Ruleâ is a distortion of a rule that we imported from federal habeas corpus decisions. This federal rule was born at a time in which we found, as we said in Ex parte Young, 418 S.W.2d 824, 826 (Tex.Cr.App.1967):
New concepts of the meaning of due process announced by the Supreme Court of the United States are binding on State as well as Federal Judges, and their duties and responsibilities in the administration of federal constitutional law are co-equal.
A judgment of conviction obtained in violation of due process of law is void for want of jurisdiction of the court to enter such judgment. Fay v. Noia, 372 U.S. 391 [, 83 S.Ct. 822, 9 L.Ed.2d 837 (1963) ].
Habeas corpus is an appropriate means by which relief from confinement under a void conviction may be obtained in the State as well as in the Federal Courts.
Âś10The first antecedents of the HelmsRule entered our jurisprudence as obiter dicta in Hoskins v. State, 425 S.W.2d 825 (Tex.Cr.App.1968). Hoskins appealed from the revocation of his probation, claiming that insufficient evidence was entered to prove his guilt in the earlier proceeding at which he pleaded guilty and was granted probation. The Court held that it was well settled that Hoskins, having failed to appeal at the time of his original conviction, could not bring such a challenge after the revocation of probation. Then we added a reference to a rule that the United States Court of Appeals for the Fifth Circuit had developed in its habeas corpus cases from Texas:
With reference to appellantâs claim of deprivation of federal constitutional due *658process, attention is directed to Bee v. Beto, 384 F,2d 925, wherein the Fifth Circuit Court of Appeals held that a guilty plea entered by a Texas state defendant was conclusive as to the defendantâs guilt, admitted all facts charged in the indictment and waived all nonjurisdictional defects, citing White v. Beto, 367 F.2d 557; Law v. Beto, 370 F.2d 369 and Haynes v. United States, 372 F.2d 651.
Âś12In turn, the authority for all the decisions that we cited in Hoskinsis another decision of the federal court, Busby v. Holman, 356 F.2d 75 (5th Cir.1966).
There is no merit in this contention, even if we assume that the appellantâs confession was not voluntary and even if we assume further that he was required to be furnished with counsel when he was being interrogated even though he did not ask for such assistance. For the confession was not offered in evidence in view of the fact that the appellant pleaded guilty and the question of its legality is relevant in the present proceedings only to the extent that it may have affected the voluntary character of the appellantâs plea. It is settled by a host of authorities that a judgment on a plea of guilty which has been entered voluntarily on advice of counsel is not rendered invalid because the defendant had previously made a confession under circumstances which might have rendered it inadmissible in evidence if the defendant had pleaded not guilty and had gone to trial. This is so because the plea, if voluntarily and understanding^ made, is conclusive as to the defendantâs guilt, admitting all the facts charged and waiving all non-jurisdietional defects in the prior proceedings against him. The judgment and sentence which follow a plea of guilty are based solely upon the plea and not upon any evidence which may have been acquired improperly by the prosecutor. Accordingly, a confession in the possession of the prosecutor which has been illegally obtained cannot be made the basis for a collateral attack upon a judgment of conviction entered upon a plea of guilty voluntarily and understandably made.
Âś13Ibid, (footnotes omitted).
Âś14The Supreme Court would soon agree with the Fifth Circuitâs reasoning. In McMann v. Richardson, 397 U.S. 759, 90 S.Ct. 1441, 25 L.Ed.2d 763 (1970), state prisoners brought habeas corpus cases in federal court, alleging that their guilty pleas were motivated by involuntary confessions. The Court said:
A conviction after trial in which a coerced confession is introduced rests in part on the coerced confession, a constitutionally unacceptable basis for conviction. It is that conviction and the confession on which it rests that the defendant later attacks in collateral proceedings. The defendant who pleads guilty is in a different posture. He is convicted on his counseled admission in open court that he committed the crime charged against him. The prior confession is not the basis for the judgment, *659has never been offered in evidence at a trial, and may never be offered in evidence. ...
What is at stake in this phase of the case is not the integrity of the state convictions obtained on guilty pleas, but whether, years later, defendants must be permitted to withdraw their pleas, which were perfectly valid when made, and be given another choice between admitting their guilt and putting the State to its proof. ... This would be an improvident invasion of the Stateâs interests in maintaining the finality of guilty-plea convictions that were valid under constitutional standards applicable at the time. It is no denigration of the right to trial to hold that when the defendant waives his state court remedies and admits his guilt, he does so under the law then existing; further, he assumes the risk of ordinary error in either his or his attorneyâs assessment of the law and facts. Although he might have pleaded differently had later decided cases then been the law, he is bound by his plea and his conviction unless he can allege and prove serious derelictions on the part of counsel sufficient to show that his plea was not, after all, a knowing and intelligent act.
Âś15Id. at 773-74, 90 S.Ct. 1441.
Âś16McMannwas one of the Brady trilogy: three cases decided on the same day in which the Court held that, after the entry of a guilty plea which was otherwise voluntary and untainted by ineffective assistance of counsel, a defendant could not collaterally attack the judgment in federal court on a theory that the guilty plea was coerced because of constitutional violations that were not the basis of the judgment.
Âś17Therefore the rule that we quoted in Hoskins, and which was validated by subsequent decisions of the Supreme Court, was the rule for habeas corpus attacks on a judgment that resulted from a guilty plea in which the unconstitutionally-obtained evidence was not the basis for the judgment. During the time that this rule filtered through the federal judicial system, we began to apply it to our appeals.
Âś18The first of our cases to have applied this rule to a contention that evidence was inadmissible in a guilty plea was Fierro v. State, 437 S.W.2d 833 (Tex.Cr.App.1969). In that appeal from a conviction for possession of heroin, we said:
The three grounds of error set forth in appellantâs brief relate to the overruling of his motion to suppress the evidence obtained as the result of an illegal search and appellantâs alleged confession following such search, and the contention that excluding the fruits of the illegal search and seizure, the evidence is insufficient to support any conviction in this case.
A plea of guilty, if voluntarily and understandingly made, is conclusive as to the defendantâs guilt and waives all non jurisdictional defects including claimed deprivation of federal constitutional due process. Hoskins v. State, Tex.Cr.App., 425 S.W.2d 825; Law v. Beto, 5 Cir., 370 F.2d 369, cert. denied, 389 U.S. 863, 88 S.Ct. 123, 19 L.Ed.2d *660132; Litton v. Beto, 386 F.2d 820; Bee v. Beto, 384 F.2d 925.
Âś20Fierrowas followed by two other appeals from guilty pleas in drug-possession cases, which we disposed of in like fashion.
Appellant contends that the heroin was unlawfully obtained. We need not pass upon this contention, because, if a plea of guilty is voluntarily and understandingly made, it is conclusive as to the defendantâs guilt and waives all non-jurisdictional defects including claimed deprivation of federal constitutional due process. Fierro v. State, supra, and cases cited therein.
Âś21Then, in Helms, 484 S.W.2d at 926, we said:
Appellant contends that the court was in error in admitting evidence [of possession of marihuana] obtained as the result of an illegal search and seizure. Where a plea of guilty is voluntarily and understandingly made, all non-jurisdictional defects including claimed deprivation of federal due process are waived. Soto v. State, Tex.Cr.App., 456 S.W.2d 389; Fierro v. State, Tex.Cr.App., 437 S.W.2d 833. We perceive no error.
Âś22Thereafter the HelmsRule has been frequently applied, and occasionally criticized,
Âś23III.
Âś24The rule of Hoskins, Fierro, and Soto, which ultimately was followed in the Brady trilogy, is significantly different from the HelmsRule. In the first three opinions we cited a federal rule that said âa guilty plea entered by a Texas state defendant was conclusive as to the defendantâs guilt.â
Âś25First, if the reason for the rule is that the plea of guilty is conclusive as to the defendantâs guilt, the rule would not justify forfeiture of claims of error that do not go to the question of guilt, such as denials of motions to dismiss because the penal statute was invalid
Âś26Second, if the reason for the rule is that the plea of guilty is conclusive as to the defendantâs guilt, the rule would not apply to a felony case in which a jury has been waived. Texas has a unique requirement that, if a jury trial has been waived, the judgment of guilt in a felony case must be *661supported by evidence even when a plea of guilty was entered.
Âś27The requirement of evidence was part of a 1931 act that amended a statute to permit a jury trial to be waived. Before 1931 the statute required a jury in every felony trial in Texas. In 1930 the Supreme Court held that the Sixth Amendment was not violated by the waiver of trial by jury in a criminal case in the federal courts. Patton v. United States, 281 U.S. 276, 50 S.Ct. 253, 74 L.Ed. 854. The Court also said that maintenance of the jury in criminal cases was so important that, âbefore any waiver can become effective, the consent of government counsel and the sanction of the court must be had, in addition to the express and intelligent consent of the defendant.â Id. at 312, 50 S.Ct. 253.
Âś28Texas promptly amended its statute to permit the waiver of jury trial âin order to reduce the expense of law enforcement and to hasten the disposition of felony cases wherein pleas of guilty are entered.â
Âś29The requirement of evidence showing guilt was not based on any constitutional requirement. So far as the Constitution of the United States is concerned, a voluntary and knowing plea of guilty is a sufficient basis for a judgment of guilt.
Âś30The HelmsRule, therefore, imposes on a guilty plea the procedural consequence that was established in the line of federal cases from which it is descended
Âś31IV.
Âś32In Hoskins, Fierro, Soto, and Helms, we also passed over the difference between a direct appeal in state court and a collateral attack in federal court.
Âś33The distinction was made in the cases that we cited in our earliest opinion, Hos-kins. Three of the cases were federal habeas corpus attacks on judgments that resulted from guilty pleas in Texas courts, and in which the prisoners complained of constitutional violations that occurred before they pleaded guilty. The federal courts applied the rule of waiver which we quoted to the three habeas corpus applicants, who were held to have waived their *663constitutional complaints. The fourth case, Haynes v. United States, 372 F.2d 651 (5th Cir.1967), was a direct appeal of a pre-trial ruling after a guilty plea in federal court. Haynes was allowed to present his point of error on appeal. The rule of waiver was quoted in Haynes, but it was not applied because the court went on to hold that a guilty plea does not necessarily foreclose appeal:
A guilty plea is a waiver of all nonjuris-dictional defects and defenses and admits the facts charged, White v. Beto, 5 Cir., 1966, 367 F.2d 557; Law v. Beto, 5 Cir., 1966, 370 F.2d 369. Where, prior to his guilty plea, a defendant appropriately raises the unconstitutionality of the applicable statute, an appeal, directed to that issue, is not foreclosed, Ex Parte Siebold, 100 U.S. 371, 25 L.Ed. 717 (1879); Rice v. United States, 5 Cir., 1929, 30 F.2d 681; United States v. Ury, 2 Cir., 1939, 106 F.2d 28, 124 A.L.R. 569.
œ34Id. at 652. Far from being waived, the pre-trial ruling was ultimately held to be error. See Haynes v. United States, 390 U.S. 85, 88 S.Ct. 722, 19 L.Ed.2d 923 (1968) (proper claim of the privilege against self-incrimination provided a full defense to any prosecution under 26 U.S.C. § 5841 for failure to register a firearm or under § 5851 for possession of an unregistered firearm). So it is certainly permissible for appeal to be taken from a pre-trial ruling that is followed by a guilty plea.
Âś35The procedure that makes such an appeal possible is a âconditional pleaâ of guilty, by which a plea of guilty is âconditioned onâ the right to appeal a pre-trial ruling. A conditional plea of guilty is not a waiver of the right to contest the admissibility of any evidence the State might have offered against the defendant. This procedure was expressly recognized in the very line of cases on which the HelmsRule was supposedly based.
Âś36Before 1966 there was little or no possibility of a conditional appeal in a Texas court because our law did not provide for a pre-trial hearing to resolve such questions as the admissibility of evidence. The pretrial hearing and the motion to suppress evidence were authorized by statute by the enactment of article 28.01 of the Code of Criminal Procedure when the Code was recodified in 1965.
Âś37In the first attempt to appeal a pre-trial ruling by way of a conditional plea under the 1965 Code revisions, the defendant in a heroin-possession case changed his plea to nolo contendere after the trial court overruled his motion to suppress the evidence. The trial court told the defendant his plea of nolo contendere âwould protect him on his motion to suppress ... [and] retain any rights he has on this constitutional question.â Chavarria v. State, 425 S.W.2d 822, 823 (Tex.Cr.App.1968). This Court pointed out that âthe legal effect of a plea of nolo contendere is the same as a plea of guilty insofar as the criminal prosecution is concerned.â Ibid.We said, âThe judgment entered upon such plea demonstrated the correctness of such holding,â since the judgment said in one place that the plea was nolo contendere and in another that it was âGuilty.â Ibid.Then we concluded, âUnder the record, the trial court was in error in accepting the plea of nolo conten-dere.â Ibid.This holding disposed of any misconception that the availability of a conditional plea turned on whether the plea was guilty or nolo contendere. But it did not address the underlying issue: whether the new pre-trial statute authorized a conditional plea. âStrikingly similarâ facts led to the same result on the same reasoning in Killebrew v. State, 464 S.W.2d 838, 839 (Tex.Cr.App.1971).
Âś38Then an appeal on a conditional plea of guilty, not nolo contendere, reached us. We asked, âDid the appellant waive any claimed error when he entered a plea of guilty?â Utsman v. State, 485 S.W.2d 573, 574 (Tex.Cr.App.1972). An opinion for a narrowly divided court quoted the rule of waiver as it appeared in such cases as Fierro. We said, âThe Supreme Court of the United States held that constitutional rights were waived when a defendant voluntarily enters a plea of guilty. See McMann v. Richardson, 397 U.S. 759, 90 S.Ct. 1441, 25 L.Ed.2d 763.â Ibid.We did not mention the exception for conditional pleas which was specifically recognized in McMann.
A trial court in Texas may not accept a plea- of guilty or nolo contendere by a defendant with the understanding that he may preserve his right to appeal an adverse ruling. Killebrew v. State, Tex.Cr.App., 464 S.W.2d 838, and Chavarria v. State, Tex.Cr.App., 425 S.W.2d 822. To enter a plea of guilty one must waive such rights.
Âś39Utsman, 485 S.W.2d at 575. As we have seen, Chavarriaand Killebrewcontained no such holding about a conditional plea of guilty; they merely held that a plea of nolo contendere gave no greater right to appeal than a plea of guilty. Our leading decision on" the availability of a conditional plea thus rests on precedents that do not support the holding, and it gave no consideration to whether the enactment of the pretrial statute in 1965 changed the law in this regard.
Âś40During the same period of time, in two other opinions in which appellants who pleaded guilty complained of pre-trial rulings, we disposed of the points by citing McMannand the rest of the Brady trilogy of cases
Âś41*665We have stated that the HelmsRule of waiver prevented a conditional plea of guilty.
Âś42V.
Âś43In a judicial system that does not permit a conditional plea of guilty, âa defendant who has lost one or more pre-trial motions will often go through an entire trial simply to preserve the pre-trial issues for later appellate review. This results in a waste of prosecutorial and judicial resources, and causes delay in the trial of other cases.â
Âś44In 1977 an act of the legislature recognized a conditional plea of guilty. The act amended Article 44.02, which had previously read, âA defendant in any criminal action has the right of appeal under the rules hereinafter prescribed.â The amendment added a proviso:
provided, however, before the defendant who has been convicted upon either his plea of guilty or plea of nolo contendere before the court and the court, upon the election of the defendant, assesses punishment and the punishment does not exceed the punishment recommended by the prosecutor and agreed to by the defendant and his attorney may prosecute his appeal, he must have permission of the trial court, except on those matters which have been raised by written motion filed prior to trial.27
Âś45The main thrust of the 1977 amendment was to eliminate appeals where the defendant had entered a plea of guilty or nolo contendere before the court as a result of a plea bargain and the punishment assessed did not exceed that agreed upon.
Âś46By recognizing that even plea-bargaining defendants could appeal rulings on written, pre-trial motions after a plea of guilty, the proviso to Article 44.04 also had the purposes of encouraging guilty pleas and discouraging the trial of cases for the mere reason of preserving an issue for appeal.
Âś47As construed by this Court, the 1977 proviso authorized such conditional appeals only in plea-bargained cases.
Âś48The appellant in this case is such a defendant, and we must decide whether the HelmsRule should continue to operate on her appeal.
Âś49VI.
Âś50As we have said, the HelmsRule is not justified by its premises or its precedents. It has operated to deny the full benefit of the pre-trial hearing which was authorized in 1965. Largely abrogated by an act of the legislature, its continued existence is fundamentally at odds with the public policy that is expressed in that act: to increase efficiency and decrease costs by encouraging conditional pleas of guilty and discouraging trials that have only the purpose of preserving the ability to appeal issues that were fully resolved before the trial. This Court agrees with this policy. The HelmsRule shall no longer be enforced in the terms in which it was stated in 1972.
Âś51Whether entered with or without an agreed recommendation of punishment *667by the State, a valid plea of guilty or nolo contendere âwaivesâ or forfeits the right to appeal a claim of error only when the judgment of guilt was rendered independent of, and is not supported by, the error.
Âś52In this case the judgment of guilt is not independent of the trial courtâs ruling on the motion to suppress the evidence of the offense, and the judgment would not be supported without that evidence. The court of appeals, therefore, must consider the appellantâs point of error which raises the correctness of that ruling.
Âś53Reversed and remanded.
Âś54. See Tex.R.App. P. 67.
Âś55. Bee, Law, and Haynes, all rely on White, the sole authority for which is Bushy. See White, 367 F.2d at 559.
Âś56. Brady v. United States, 397 U.S. 742, 90 S.Ct. 1463, 25 L.Ed.2d 747 (1970); McMann v. Richardson, 397 U.S. 759 (1970); Parker v. North Carolina, 397 U.S. 790, 90 S.Ct. 1458, 25 L.Ed.2d 785 (1970).
Âś57. In a third case, Glenn v. State, 442 S.W.2d 360, 361 (Tex.Cr.App.1969), Hoskinswas quoted, but in that case the defendant had pleaded guilty before the trial court made any decision on his pre-trial motion to suppress evidence.
Âś58. See Judge Clintonâs dissents in Dees v. State, 676 S.W.2d 403, 406 (Tex.Cr.App.1984), and King v. State, 687 S.W.2d 762, 766 (Tex.Cr.App.1985).
Âś59. Hoskins, 425 S.W.2d at 829-30. See Fierro, 437 S.W.2d at 834 ("A plea of guilty, if voluntarily and understandingly made, is conclusive as to the defendant's guiltâ); Soto, 456 S.W.2d at 390 ("if a plea of guilty is voluntarily and understandingly made, it is conclusive as to the defendantâs guiltâ).
Âś60. See, e.g., Haynes v. United States, 390 U.S. 85, 88 S.Ct. 722, 19 L.Ed.2d 923 (1968).
Âś61. See, e.g., Jaben v. United States, 381 U.S. 214, 85 S.Ct. 1365, 14 L.Ed.2d 345 (1965).
Âś62. Tex.Code Crim. Proc. art. 1.15 (emphasis added):
No person can be convicted of a felony except upon the verdict of a jury duly rendered and recorded, unless the defendant, upon entering a plea, has in open court in person waived his right of trial by jury in writing in accordance with Articles 1.13 and 1.14; provided, however, that it shall be necessary for the state to introduce evidence into the record showing the guilt of the defendant and said evidence shall be accepted by the court as the basis for its judgment and in no event shall a person charged be convicted upon his plea without sufficient evidence to support the same. The evidence may be stipulated if the defendant in such case consents in writing, in open court, to waive the appearance, confrontation, and cross-examination of witnesses, and further consents either to an oral stipulation of the evidence and testimony or to the introduction of testimony by affidavits, written statements of witnesses, and any other documentary evidence in support of the judgment of the court. Such waiver and consent must be approved by the court in writing, and be filed in the file of the papers of the cause.
Âś63. The author of the governmentâs brief in Patton, who later became Dean of the Harvard Law School and Solicitor General of the United States, said he never understood the basis for the Courtâs requiring the consent of the prosecutor and the approval of the trial court. Erwin N. Griswold, Oulde Fields, New Corne 84 (1992).
œ64. Act of April 9, 1931, 42d Leg., R.S., ch. 43, §§ 1-3, 1931 Tex. Gen. Laws 65-66.
Âś65. See Tex.Code Crim. Proc. art. 1.13.
Âś66. See North Carolina v. Alford, 400 U.S. 25, 91 S.Ct. 160, 27 L.Ed.2d 162 (1970); Boykin v. Alabama, 395 U.S. 238, 89 S.Ct. 1709, 23 L.Ed.2d 274 (1969); Ex parte Williams, 703 S.W.2d 674, 682 (Tex.Cr.App.1986).
Âś67. This is the line that began with Busby v. Holman, 356 F.2d 75 (5th Cir.1966), and continued through Tollett v. Henderson, 411 U.S. 258, 93 S.Ct. 1602, 36 L.Ed.2d 235 (1973); see supra at pp. 657-60.
Âś68. The rationale is plainly stated in the cases.
It is settled by a host of authorities that a judgment on a plea of guilty which has been entered voluntarily on advice of counsel is not rendered invalid because the defendant had previously made a confession under circumstances which might have rendered it inadmissible in evidence if the defendant had pleaded not guilty and had gone to trial. This is so because the plea, if voluntarily and understanding^ made, is conclusive as to the defendantâs guilt, admitting all the facts charged and waiving all non-jurisdictional defects in the prior proceedings against him. The judgment and sentence which follow a plea of guilty are based solely upon the plea and not upon any evidence which may have been acquired improperly by the prosecutor.
Âś69Busby, 356 F.2d at 77.
The defendant who pleads guilty is ... convicted on his counseled admission in open court that he committed the crime charged against him. The prior confession is not the basis for the judgment, has never been offered in evidence at a trial, and may never be offered in evidence.
Âś70McMann, 397 U.S. at 773, 90 S.Ct. 1441.
[A] guilty plea represents a break in the chain of events which has preceded it in the criminal process. When a criminal defendant has solemnly admitted in open court that he is in fact guilty of the offense with which he is charged, he may not thereafter raise independent claims relating to the deprivation of constitutional rights that occurred prior to the entry of the guilty plea.
Âś71Tollett, 411 U.S. at 266, 93 S.Ct. 1602.
Âś72. When this Court has been unconstrained by the HelmsRule, our decisions have broadened the availability of the conditional-appeal procedure.
In Isam v. State, [582 S.W.2d 441 (Tex.Cr.App.1979)], this Court addressed the issue of proper application of former Article 44.02, V.A.C.C.P. to pleas of guilty or nolo contendere in misdemeanor prosecutions. The Court held that the rule announced in Brown v. State, 507 S.W.2d 235 (Tex.Cr.App.1974), that such pleas admit every element of the offense charged, "does not apply to an appeal from a misdemeanor guilty plea that challenges the ruling on- ... a pretrial motion.â 582 S.W.2d at 444. A contrary holding, we observed, would have "thwartedâ one of the legislative purposes underlying Article 44.02, [see infra, p. 665] viz: to encourage guilty pleas in cases where the only contested issue is some matter such as the lawfulness of a search or voluntariness of a confession, see Ferguson v. State, 571 S.W.2d 908 (Tex.Cr.App.1978), in that application of the rule in Brown, supra,would defeat the necessity for an appellate determination of such issues. Isam, at 443. Thus, much as we have lately held that a judicial confession given in support of a plea of guilty or nolo contendere in a felony prosecution will not, standing alone, obviate substantive treatment of the merits of a pre-trial motion to suppress, Morgan v. State, 688 S.W.2d 504 (Tex.Cr.App.1985), neither will such a plea in a misdemeanor prosecution by itself defeat the defendant's appeal merely because it has been held for other purposes to admit every element of the offense charged.
Âś73Kraft v. State, 762 S.W.2d 612, 613 (Tex.Cr.App.1988).
Âś74. In addition to Haynes, supra, the Supreme Court adverted to the conditional plea in McMann. "[T]he plea is also a waiver of trial â and unless the applicable law otherwise provides, [note 11] a waiver of the right to contest the admissibility of any evidence the State might have offered against the defendant." Id.,397 U.S. at 766, 90 S.Ct. 1441 (1970). In the footnote, the Court observed that New York adopted a procedure for a conditional plea after the petitioners pleaded guilty. See ibid. n. 11.
Âś75. "Conditional Pleas. With the approval of the court and the consent of the government, a defendant may enter a conditional plea of guilty or nolo contendere, reserving in writing the right, on appeal from the judgment, to review of the adverse determination of any specified pretrial motion. A defendant who prevails on appeal shall be allowed to withdraw the plea.â Fed.R.Crim.P. 11(a)(2).
Âś76. See generally Lefkowitz v. Newsome, 420 U.S. 283, 95 S.Ct. 886, 43 L.Ed.2d 196 (1975).
Âś77. "Act establishing and adopting a Code of Criminal Procedure for the State of Texas,â 59th Leg., R.S., ch. 722, § 1, art. 28.01, 1965 Tex. Gen. Laws, vol. 2, p. 317, 432.
Âś78. Fred Erisman, Introduction to 1965 Revision, 1 Vernonâs Annotated Code of Criminal Procedure xi, xix (1966) ("In an effort to avoid delays that could have been anticipated provisions are made for hearings on ... motions to suppress evidence"; W.A. Morrison, Interpretive Commentary, 2 Vernonâs Annotated Code of Criminal Procedure 340 (1966)) ("In order to expedite trials and save waiting time for jurors, the Committee provided for a pre-trial hearing to be had prior to the day set for trialâ); John F. Onion, Jr., Special Commen*664tary, id. at 340-41 ("An innovation in Texas criminal procedure will be pre-trial hearings. ... Under the old practice such matters and motions were not required to be presented until the actual trial date, which caused jurors and witnesses to be kept waiting (sometimes for days) while such motions were heardâ).
Âś79. See supra note 16.
Âś80. See supra note 3.
Âś81. âBefore 1977, a defendant in a criminal action had a general right to appeal anything. Article 44.02, V.A.C.C.P., as enacted in 1925; former Article 813, C.C.P.1925. However, as a matter of decisional law, we held a guilty plea waived all nonjurisdictional defects in the prior proceedings; this rule is commonly known as the Helms rule.â Lyon v. State, 872 S.W.2d 732, 734 (Tex.Cr.App.1994) (footnotes and citations omitted).
Âś82. Fed.R.Crim.P. 11(a), Advisory Committee Note (1983 amendment).
Âś83. Lyon, 872 S.W.2d at 734.
œ84. Act of June 10, 1977, 65th Leg., R.S., ch. 351, § 1, 1977 Tex. Gen. Laws 940. repealed by Act of June 14, 1985, 69th Leg., R.S., ch. 685, §§ 1 & 4, 1985 Tex. Gen. Laws 2472 (authorizing Court of Criminal Appeals to promulgate rules of procedure and conditionally repealing articles of Code of Criminal Procedure). The proviso was repealed simultaneously with the effective date of former Rule of Appellate Procedure 40(b)(1), the predecessor of Texas Rule of Appellate Procedure 25.2(b).
Âś85. Morris v. State, 749 S.W.2d 772, 774 (Tex.Cr.App.1986).
œ86. Before 1977, all misdemeanants and all felons whose sentences did not exceed 15 years were entitled to bail. See Code of Criminal Procedure Act of 1965, 59th Leg., R.S., ch. 722, § 1, art. 44.04(a), 1965 Tex. Gen. Laws vol. 2, p. 317, 511. The 1977 amendment authorized trial courts to deny bail to felons whose sentences did not exceed 15 years, if there was good cause to believe that they would not appear when the convictions became final or that they would commit other offenses while on bail. See Act of May 25, 1977, 65th Leg., R.S., ch. 234, § 1, 1977 Tex. Gen. Laws 636. The act also authorized the courts to impose conditions on bail. Ibid.
Âś87. See Lyon, 872 S.W.2d at 735 (amendment was made "in order 'to conserve judicial resources by encouraging guilty pleasâ and to prevent âwindyâ appealsâ).
Âś88. Prochaska v. State, 587 S.W.2d 726 (Tex.Cr.App.1979). Accord, e.g., Cleveland v. State, 588 S.W.2d 942, 944 (Tex.Cr.App.1979) (alternative holding). This construction of the statute was not inevitable. After the 1977 amendment, Article 44.02 had three clauses:
(1) the original statute, which said that defendants had the right to appeal;
(2) an exception to the first clause, which said that plea-bargainers must have permission of the trial court to appeal, and
(3) an exception to the exception, which allowed even plea-bargainers the right to appeal rulings on written, pre-trial motions. In Prochaskawe construed the third clause
Âś89as creating a new right to appeal only for the defendants who were the subject of the second clause â the plea-bargainers. This led us to some self-contradictory statements, such as that in Cleveland, 588 S.W.2d at 944, in which we said that the statute did not create a right to a conditional appeal because, "By its very language, Article 44.02, supra, does not limit appeals in cases, such as the instant one, where the defendant pleads guilty before the court without a plea bargain and recommendation as to punishmentâ (emphasis added). We found that the legislative purpose for such a statute was not clear to us. See id. at 729 ("whatever the reasoning ... by the Legislature, we must reluctantly conclude that the [.Helms ] rule remains viable in a case where a plea bargain has not been reachedâ). We recognized that, thus construed, the statute encouraged conditional guilty pleas only in plea-bargained cases. See Christal v. State, 692 S.W.2d 656, 658 (Tex.Cr.App.1981).
Âś90It is at least as reasonable to say that the third clause merely preserved for plea-bargainers a portion of the right that was given to all defendants by the first clause â the right to appeal from a guilty plea. This construction takes into account the sequence of the three clauses, which gave a right to appeal, took away the right from some defendants, but gave it back in part. Another indication that this construction is correct is that it would effect the legislative purpose to encourage conditional pleas of guilty. The benefits that such pleas give the system do not depend in any way on the pleas being the result of bargains; the savings in time and expense are exactly the same if the guilty plea were not accompanied by a plea-bargain agreement. It was something of an inconsistency for us to have recognized that the purpose of the statute was to encourage guilty pleas, Lyon, 872 S.W.2d at 735, while we continued to construe the statute as though its purpose was to encourage plea bargaining.
Âś91The question is mooted by our decision today to revise the HelmsRule.
Âś92. Even though a guilty plea was accompanied by a judicial confession, a judgment is not independent of a ruling that admitted evidence in error. "[I]t cannot be rationally stated that this ruling [on a motion to suppress evidence] is immaterial to the validity of the guilty plea. ,..[T]he court of appeals erred in not reviewing the merits of the appellantâs motion to suppress.â McKenna v. State, 780 S.W.2d 797 (Tex.Cr.App.1989).
Âś93. See Tex.R.App. P. 25.2(b)(3).
Âś94delivered a dissenting opinion, in which MANSFIELD and KELLER, JJ., joined.
Âś95I respectfully dissent. In this case a significant event occurred and the basic purpose of the criminal justice system was accomplished when, without the benefit of a plea-bargain, appellant voluntarily pled guilty in open court to the charged offense.
Âś96The criminal justice systemâs basic and overriding purpose is to ascertain the truth.
Âś97The dynamics of the situation change, however, when a defendant admits her guilt in open court. When this happens, *668the criminal justice systemâs basic purpose of ascertaining the truth outweighs or ârenders irrelevantâ the defendantâs interest in pursuing a Fourth Amendment claim. Compare Leday, 983 S.W.2d at 723 (voluntary guilty plea âwaivesâ all previous nonjurisdictional errors), with, Leday, 983 S.W.2d at 731-32 (McCormick, P.J., dissenting) (this rale not based on âwaiverâ but on idea that voluntary guilty plea ârenders irrelevantâ previous nonjurisdictional errors). Generally a defendant is not permitted to âhave her cake and eat it tooâ by pleading guilty and also pursuing a Fourth Amendment claim. This upsets the delicate balance, the âconstant struggle in American criminalâ jurisprudence, âbetween truth-finding and other values.â See Leday, 983 S.W.2d at 725.
Âś98Here, it is clear and the Courtâs opinion also recognizes that precluding appellant from raising her Fourth Amendment claim offends no principle of federal constitutional law.
Âś99The Court now holds the Helms Rule does not preclude appellant from raising her Fourth Amendment claim because her judgment of guilt âwould not be supportedâ without the evidence that appellant claims was seized in violation of the Fourth Amendment. This holding rests in part on the Courtâs conclusion that âthe Helms Rule is not justified by its premises or its precedentsâ and on an examination of a defendantâs statutory right to appeal as it existed before this Courtâs Helms decision in 1972.
Âś100The decision in this case essentially boils down to examining what the Legislature did in 1977 in response to Helms. Then the general rule by virtue of Helms was that all guilty-pleading defendants were precluded from raising appellate complaints about matters or âdeprivation of constitutional rightsâ occurring before the plea even if these errors supported the judgment of guilt.
Âś101In 1977 the Legislature effectively codified the Helms Rule when, having the opportunity to abrogate this rule in its entirety and to restore a defendantâs pre-1972 right âto appeal anything,â it made through the proviso to Article 44.02, *669V.A.C.C.P.,
Âś102So, even though the Helms Rule might not have been justified âby its premises or its precedentsâ and even though it might have been inconsistent with a defendantâs pre-1972 statutory right âto appeal anything,â the Legislatureâs âlimited abrogationâ of the Helms Rule clearly indicates a legislative approval of the Helms Rule subject to the 1977 proviso. Otherwise, the Legislature would have entirely abrogated the Helms Rule. The Courtâs opinion contravenes this clear legislative intent and policy which we are bound to follow even if, as the Courtâs opinion says, it is âfundamentally at oddsâ with the public policy expressed in the 1977 proviso.
Âś103It also is noteworthy that the Courtâs opinion retains some of the Helms Rule for errors that are independent of the judgment of guilt. See Young, 8 S.W.3d at 666-67 (Helms Rule still ârenders irrelevantâ any errors that are independent of the judgment of guilt). But, if, as the Courtâs opinion seems to say, the 1977 proviso was meant to âlargely abrogateâ the Helms Rule and to restore a defendantâs pre-1972 right âto appeal anything,â then the Court should be holding that a defendant has a right âto appeal anythingâ and not just those errors that support the judgment of guilt.
Âś104Finally, the Courtâs opinion also contains a significant holding with respect to plea-bargained or conditional guilty pleas that heretofore has not been the law. Contrary to the âplainâ language of the 1977 proviso, the Courtâs opinion also holds a conditional guilty plea âforfeitsâ the right to appeal âa claim of error only when the judgment of guilt was rendered independent of, and is not supported by, the error.â See Young, 8 S.W.3d at 666-67. Until now a conditional guilty plea did not âforfeitâ the right to appeal these errors.
Âś105I respectfully dissent.
Âś106. See McGlothlin v. State, 896 S.W.2d 183, 191 (Tex.Cr.App.) (Meyers, J., dissenting), cert. denied, 516 U.S. 882, 116 S.Ct. 219, 133 L.Ed.2d 150 (1995).
Âś107. See Nelson v. State, 765 S.W.2d 401, 403 (Tex.Cr.App.1989).
Âś108. See, e.g., United States v. Leon, 468 U.S. 897, 104 S.Ct. 3405, 82 L.Ed.2d 677 (1984); Kimmelman v. Morrison, 477 U.S. 365, 106 S.Ct. 2574, 2593, 91 L.Ed.2d 305 (1986) (Powell, J., concurring in the judgment).
Âś109. See Kimmelman, 106 S.Ct. at 2593 (Powell, J., concurring in the judgment); Mapp v. Ohio, 367 U.S. 643, 81 S.Ct. 1684, 1701-08, 6 L.Ed.2d 1081 (1961) (Harlan, J., dissenting).
Âś110. See Tollett v. Henderson, 411 U.S. 258, 93 S.Ct. 1602, 1608, 36 L.Ed.2d 235 (1973); Brady v. United States, 397 U.S. 742, 90 S.Ct. 1463, 25 L.Ed.2d 747 (1970); Parker v. North Carolina, 397 U.S. 790, 90 S.Ct. 1458, 25 L.Ed.2d 785 (1970); McMann v. Richardson, 397 U.S. 759, 90 S.Ct. 1441, 25 L.Ed.2d 763 (1970).
Âś111. Helms v. State, 484 S.W.2d 925, 927 (Tex.Cr.App.1972).
Âś112. The gist of the Courtâs discussion that the HelmsRule "is not justified by its premises or its precedentsâ is that the HelmsRule is based on federal decisions under which a guilty plea alone is sufficient to support a judgment of guilt. See Young v. State, 8 S.W.3d at 660-61 (Tex.Cr.App. delivered this date). The Court's opinion says Helms' reli-anee on these federal decisions is misplaced because of Texas' "unique requirement that, if a jury trial has been waived, the judgment of guilt in a felony case must be supported by evidence even when a plea of guilty was entered.â See Young, 8 S.W.3d at 660.
Âś113The Court also observes that before Helmsa defendant had a statutory right "to appeal anythingâ and that Helms"operated to deny the full benefit of the pre-trial hearing which was [legislatively] authorized in 1965.â See Young v. State, 8 S.W.3d at 665 fn 24, 666; Acts 1965, 59 th Leg., R.S., ch. 722, Section 1, codified in Article 44.02, V.A.C.C.P. So, according to the Court's opinion, Helmswas inconsistent with this 1965 legislative enactment allowing a defendant "to appeal anything.â
Âś114. Now Tex.R.App.Proc. 25.2(b)(3).
Âś115. The Courtâs opinion claims this 1977 proviso "largely abrogatedâ the HelmsRule. See Young, 8 S.W.3d at 666. Our cases, however, recognize that this was only a "limited abrogationâ of the Heltns Rule. See Lyon v. State, 872 S.W.2d 732, 734-35 (Tex.Cr.App.), cert. denied, 512 U.S. 1209, 114 S.Ct. 2684, 129 L.Ed.2d 816 (1994).
Âś116. The Courtâs opinion says the HelmsRule is "fundamentally at oddsâ with the public policy expressed in the 1977 proviso "to increase efficiency and decrease costs by encouraging conditional guilty pleas.â See Young, 8 S.W.3d at 666. I disagree. The HelmsRule is consistent with this public policy of encouraging conditional guilty pleas. See Leday, 983 S.W.2d at 735 fn. 14 (McCormick, P.J., dissenting). With the HelmsRule a defendant would be encouraged to conditionally plead guilty with the right to appeal certain issues while a defendant who does not conditionally plead guilty would lose her right to appeal these issues. See id.The Courtâs opinion arguably puts a defendant who wastes time and resources by pleading guilty during trial in the same or in a better position as a defendant who conditionally pleads guilty pretrial. See id.This is inconsistent with the public policy of the 1977 proviso.