Mr. Justice Stewart
delivered the opinion of the Court.
The question in this case is whether the Due Process Clause of the Fourteenth Amendment is violated when a state prosecutor carries out a threat made during plea negotiations to reindict the accused on more serious charges if he does not plead guilty to the offense with which he was originally charged.
I
The respondent, Paul Lewis Hayes, was indicted by a Fayette County, Ky., grand jury on a charge of uttering a forged instrument in the amount of $88.30, an offense then punishable by a term of 2 to 10 years in prison. Ky. Rev. Stat. §434.130 (1973) (repealed 1975). After arraignment, Hayes, his retained counsel, and the Commonwealth’s Attorney met in the presence of the Clerk of the Court to discuss a possible plea agreement. During these conferences the prosecutor offered to recommend a sentence of five years in prison if Hayes would plead guilty to the indictment. He also said that if Hayes did not plead guilty and “save the court the inconvenience and necessity of a trial,” he would return to the grand jury to seek an indictment under the Kentucky Habitual Criminal Act, then Ky. Rev. Stat. § 431.190 (1973) (repealed 1975), which would subject Hayes to a mandatory sentence of life imprisonment by reason of his two prior felony convictions. Hayes chose not to plead guilty, and the prosecutor did obtain an indictment charging him under the Habitual Criminal Act. It is not disputed that the recidivist charge was fully justified by the evidence, that the prosecutor was in possession of this evidence at the time of the original indictment, and that Hayes’ refusal to plead guilty to the original charge was what led to his indictment under the habitual criminal statute.
A jury found Hayes guilty on the principal charge of uttering a forged instrument and, in a separate proceeding, further found that he had twice before been convicted of felonies. As required by the habitual offender statute, he was sentenced to a life term in the penitentiary. The Kentucky Court of Appeals rejected Hayes’ constitutional objections to the enhanced sentence, holding in an unpublished opinion that imprisonment for life with the possibility of parole was constitutionally permissible in light of the previous felonies of which Hayes had been convicted, and that the prosecutor’s decision to indict him as a habitual offender was a legitimate use of available leverage in the plea-bargaining process.
On Hayes’ petition for a federal writ of habeas corpus, the United States District Court for the Eastern District of Kentucky agreed that there had been no constitutional violation in the sentence or the indictment procedure, and denied the writ. The Court of Appeals for the Sixth Circuit reversed the District Court’s judgment. Hayes v. Cowan, 547 F. 2d 42. While recognizing “that plea bargaining now plays an important role in our criminal justice system,” id., at 43, the appellate court thought that the prosecutor’s conduct during the bargaining negotiations had violated the principles of Blackledge v. Perry, 417 U. S. 21, which “protected] defendants from the vindictive exercise of a prosecutor’s discretion.” 547 F. 2d, at 44. Accordingly, the court ordered that Hayes be discharged “except for his confinement under a lawful sentence imposed solely for the crime of uttering a forged instrument.”. Id., at 45. We granted certiorari to consider a constitutional question of importance in the administration of criminal justice. 431 U. S. 953.
II
It may be helpful to clarify at the outset the nature of the issue in this case. While the prosecutor did not actually obtain the recidivist indictment until after the plea conferences had ended, his intention to do SO' was clearly expressed at the outset of the plea negotiations. Hayes was thus fully informed of the true terms of the offer when he made his decision to plead not guilty. This is not a situation, therefore, where the prosecutor without notice brought an additional and more serious charge after plea negotiations relating, only to the original indictment had ended with the defendant’s insistence on pleading not guilty. As a practical matter, in short, this case would be no different if the grand jury had indicted Hayes as a recidivist from the outset, and the prosecutor had offered to drop that charge as part of the plea bargain.
The Court of Appeals nonetheless drew a distinction between “concessions relating to prosecution under an existing indictment,” and threats to bring more severe charges not contained in the original indictment — a line it thought necessary in order to establish a prophylactic rule to guard against the evil of prosecutorial vindictiveness. Quite apart from this chronological distinction, however, the Court of Appeals found that the prosecutor had acted vindictively in the present case since he had conceded that the indictment was influenced by his desire to induce a guilty plea. The ultimate conclusion of the Court of Appeals thus seems to have been that a prosecutor acts vindictively and in violation of due process of law whenever his charging decision is influenced by what he hopes to gain in the course of plea bargaining negotiations.
Ill
We have recently had occasion to observe: “Whatever might be the situation in an ideal world, the fact is that the guilty plea and the often concomitant plea bargain are important components of this country’s criminal justice system. Properly administered, they can benefit all concerned.” Blackledge v. Allison, 431 U. S. 63, 71. The open acknowledgment of this previously clandestine practice has led this Court to recognize the importance of counsel during plea negotiations, Brady v. United States, 397 U. S. 742, 758, the need for a public record indicating that a plea was knowingly and voluntarily made, Boykin v. Alabama, 395 U. S. 238, 242, and the requirement that a prosecutor’s plea-bargaining promise must be kept, Santobello v. New York, 404 U. S. 257, 262. The decision of the Court of Appeals in the present case, however, did not deal with considerations such as these, but held that the substance of the plea offer itself violated the limitations imposed by the Due Process Clause of the Fourteenth Amendment. Cf. Brady v. United States, supra, at 751 n. 8. For the reasons that follow, we have concluded that the Court of Appeals was mistaken in so ruling.
IV
This Court held in North Carolina v. Pearce, 395 U. S. 711, 725, that the Due Process Clause of the Fourteenth Amendment “requires that vindictiveness against a defendant for having successfully attacked his first conviction must play no part in the sentence he receives after a new trial.” The same principle was later applied to prohibit a prosecutor from reindicting a convicted misdemeanant on a felony charge after the defendant had invoked an appellate remedy, since in this situation there was also a “realistic likelihood of Vindictiveness.’ ” Blackledge v. Perry, 417 U. S., at 27.
In those cases the Court was dealing with the State’s unilateral imposition of a penalty upon a defendant who had chosen to exercise a legal right to attack his original conviction — a situation “very different from the give-and-take negotiation common in plea bargaining between the prosecution and defense, which arguably possess relatively equal bargaining power.” Parker v. North Carolina, 397 U. S. 790, 809 (opinion of Brennan, J.). The Court has emphasized that the due process violation in cases such as Pearce and Perry lay not in the possibility that a defendant might be deterred from the exercise of a legal right, see Colten v. Kentucky, 407 U. S. 104; Chaffin v. Stynchcombe, 412 U. S. 17, but rather in the danger that the State might be retaliating against the accused for lawfully attacking his conviction. See Blackledge v. Perry, supra, at 26-28.
To punish a person because he has done what the law plainly allows him to do is a due process violation of the most basic sort, see North Carolina v. Pearce, supra, at 738 (opinion of Black, J.), and for an agent of the State to< pursue a course of action whose objective is to penalize a person’s reliance on his legal rights is “patently unconstitutional.” Chaffin v. Stynchcombe, supra, at 32-33, n. 20. See United States v. Jackson, 390 U. S. 570. But in the “give-and-take” of plea bargaining, there is no such element of punishment or retaliation so long as the accused is free to accept or reject the prosecution’s offer.
Plea bargaining flows from “the mutuality of advantage” to defendants and prosecutors, each with his own reasons for wanting to avoid trial. Brady v. United States, supra, at 752. Defendants advised by competent counsel and protected by other procedural safeguards are presumptively capable of intelligent choice in response to prosecutorial persuasion, and unlikely to be driven to false self-condemnation. 397 U. S., at 758. Indeed, acceptance of the basic legitimacy of plea bargaining necessarily implies rejection of any notion that a guilty plea is involuntary in a constitutional sense simply because it is the end result of the bargaining process. By hypothesis, the plea may have been induced by promises of a recommendation of a lenient sentence or a reduction of charges, and thus by fear of the possibility of a greater penalty upon conviction after a trial. See ABA Project on Standards for Criminal Justice, Pleas of Guilty § 3.1 (App. Draft 1968); Note, Plea Bargaining and the Transformation of the Criminal Process, 90 Harv. L. Rev. 564 (1977). Cf. Brady v. United States, supra, at 751; North Carolina v. Alford, 400 U. S. 25.
While confronting a defendant with the risk of more severe punishment clearly may have a “discouraging effect on the defendant’s assertion of his trial rights, the imposition of these difficult choices [is] an inevitable” — and permissible — '“attribute of any legiiimate system which tolerates and encourages the negotiation of pleas.” Chaffin v. Stynchcombe, supra, at 31. It follows that, by tolerating and encouraging the negotiation of pleas, this Court has necessarily accepted as constitutionally legitimate the simple reality that the prosecutor’s interest at the bargaining table is to persuade the defendant to forgo his right to plead not guilty.
It is not disputed here that Hayes was properly chargeable under the recidivist statute, since he had in fact been convicted of two previous felonies. In our system, so long as the prosecutor has probable cause to believe that the accused committed an offense defined by statute, the decision whether or not to prosecute, and what charge to file or bring before a grand jury, generally rests entirely in his discretion. Within the limits set by the legislature’s constitutionally valid definition of chargeable offenses, “the conscious exercise of some selectivity in enforcement is not in itself a federal constitutional violation” so long as “the selection was [not] deliberately based upon an unjustifiable standard such as race, religion, or other arbitrary classification.” Oyler v. Boles, 368 U. S. 448, 456. To hold that the prosecutor’s desire to induce a guilty plea is an “unjustifiable standard,” which, like race or religion, may play no part in his charging decision, would contradict the very premises that underlie the concept of plea bargaining itself. Moreover, a rigid constitutional rule that would prohibit a prosecutor from acting forthrightly in his dealings with the defense could only invite unhealthy subterfuge that would drive the practice of plea bargaining back into the shadows from which it has so recently emerged. See Blackledge v. Allison, 431 U. S., at 76.
There is no doubt that the breadth of discretion that our country's legal system vests in prosecuting attorneys carries with it the potential for both individual and institutional abuse. And broad though that discretion may be, there are undoubtedly constitutional limits upon its exercise. We hold only that the course of conduct engaged in by the prosecutor in this case, which no more than openly presented the defendant with the unpleasant alternatives of forgoing trial or facing charges on which he was plainly subject to prosecution, did not violate the Due Process Clause of the Fourteenth Amendment.
Accordingly, the judgment of the Court of Appeals is
Reversed.
While cross-examining Hayes during the subsequent trial proceedings the prosecutor described the plea offer in the following language:
“Isn't it a fact that I told you at that time [the initial bargaining session] if you did not intend to plead guilty to five years for this charge and . . . save the court the inconvenience and necessity of a trial and taking up this time that I intended to return to the grand jury and ask them to indict you based upon these prior felony convictions?” Tr. 194.
At the time of Hayes’ trial the statute provided that “[a]ny person convicted a . . . third time of felony . . . shall be confined in the penitentiary during his life.” Ky. Rev. Stat. §431.190 (1973) (repealed 1975). That statute has been replaced by Ky. Rev. Stat. § 532.080 (Supp. 1977) under which Hayes would have been sentenced to, at most, an indeterminate term of 10 to 20 years. § 532.080 (6) (b). In addition, under the new statute a previous conviction is a basis for enhanced sentencing only if a prison term of one year or more was imposed, the sentence or probation was completed within five years of the present offense, and the offender was over the age of 18 when the offense was committed. At least one of Hayes’ prior convictions did not meet these conditions. See n. 3, infra.
According to his own testimony, Hayes had pleaded guilty in 1961, when he was 17 years old, to a charge of detaining a female, a lesser included offense of rape, and as a result had served five years in the state reformatory. In 1970 he had been convicted of robbery and sentenced to five years’ imprisonment, but had been released on probation immediately.
The opinion of the District Court is unreported.
Compare United States ex rel. Williams v. McMann, 436 F. 2d 103 (CA2), with United States v. Ruesga-Martinez, 534 F. 2d 1367, 1370 (CA9). In citing these decisions we do not necessarily endorse them.
“Although a prosecutor may in the course of plea negotiations offer a defendant concessions relating to prosecution under an existing indictment ... he may not threaten a defendant with the consequence that more severe charges may be brought if he insists on going to trial. When a prosecutor obtains an indictment less severe than the facts known to him at the time might permit, he makes a discretionary determination that the interests of the state are served by not seeking more serious charges. . . . Accordingly, if after plea negotiations fail, he then procures an indictment charging a more serious crime, a strong inference is created that the only reason for the more serious charges is vindictiveness. Under these circumstances, the prosecutor should be required to justify his action.” 547 F. 2d, at 44-45.
“In this case, a vindictive motive need not be inferred. The prosecutor has admitted it.” Id., at 45.
This case does not involve the constitutional implications of a prosecutor’s offer during plea bargaining of adverse or lenient treatment for some person other than the accused, see ALI Model Code of Pre-Arraignment Procedure, Commentary to §350.3, pp. 614-615 (1975), which might pose a greater danger of inducing a false guilty plea by skewing the assessment of the risks a defendant must consider. Cf. Brady v. United States, 397 U. S. 742, 758.
This potential has led to many recommendations that the prosecutor’s discretion should be controlled by means of either internal or external guidelines. See ALI Model Code of Pre-Arraignment Procedure for Criminal Justice §§ 350.3 (2) — (3) (1975); ABA Project on Standards for Criminal Justice, The Prosecution Function §§2.5, 3.9 (App. Draft 1971); Abrams, Internal Policy: Guiding the Exercise of Prosecutorial Discretion, 19 UCLA L. Rev. 1 (1971).