In this case petitioner seeks a writ of habeas corpus because he was not told that he would have to serve a mandatory parole term at the time he agreed to plead guilty to state criminal charges. We hold that in the circumstances of petitioner’s case the failure of the prosecutor and the trial court to advise him of the mandatory parole term created a defect of constitutional dimensions in his guilty plea. We therefore reverse the judgment of the district court denying the writ of habeas corpus.
I
On January 24, 1974 petitioner Theodore Baker pled guilty in the Circuit Court of Will County, Illinois to charges that he had committed armed violence in violation of Ill.Rev.Stat. Ch. 38, §§ 33A-2, 12-2(aXl), and had violated the Illinois Hypodermic Syringes and Needles Act, Ill.Rev.Stat. Ch. 38, § 22-53. The guilty plea was entered pursuant to an agreement reached by Baker’s court-appointed attorney and the prosecutor.
At the time Baker entered the plea, armed violence carried a penalty of one to three years’ imprisonment followed by two years of mandatory parole. Ill.Rev.Stat. Ch. 38, §§ 33A-2, 33A-3, 1005-8-l(b)(5), 1005-8-1(e)(3). Violations of the Hypodermic Syringes and Needles Act carried a maximum penalty of one year in prison. Ill.Rev.Stat. Ch. 38, §§ 22-53, 1005-8-3. Under the terms of the agreement, Baker was to be sentenced to prison terms of one to two years on the armed violence charge and one year for violation of the Hypodermic Syringes and Needles Act. The two sentences were to run concurrently. However, he was not told by his attorney or the prosecutor before he accepted these terms that under Illinois law he would have to serve two years on parole after his prison term had expired.
Baker was then incarcerated until September 23, 1974, when he was released on parole. He had served eight months of his two year prison sentence, and was given two months’ credit for time spent in custody prior to his guilty plea. On November 17, 1974 he was taken into custody for violating parole, and was declared a parole violator on March 3, 1975. 1 He was released on parole again on September 20, 1976, with the parole term to continue until March 20, 1977. 2
While he was in prison on the parole violation Baker filed a motion for a writ of habeas corpus, under 28 U.S.C. § 2254, in the United States District Court for the Northern District of Illinois. The basis for his claim was that he had not been informed of the mandatory two year parole term at the time he entered his guilty plea. The district court denied the motion on July 30, 1976 and Baker now appeals that judgment. 3
II
Under 28 U.S.C. § 2254(a), a state prisoner may seek a writ of habeas corpus “only on the ground that he is in custody in violation of the Constitution or laws or treaties of the United States.” Baker contends that his guilty plea was involuntary because he did not know of the mandatory parole term at the time he agreed to plead guilty. Since Baker does not assert that the state violated a law or treaty of the United States, he can prevail only if he can show that a constitutional error was committed. Accordingly, we must determine whether the circumstances surrounding Baker’s plea of guilty violated the Due Process Clause of the Fourteenth Amendment.
In
Boykin v. Alabama,
The state argues, citing this court’s decision in
Bachner v. United States,
We are not compelled to accept the state’s proposed standard of review. The holding of
Bachner
on the point in issue (
Regardless of whether the plea in the case before us survives the first of these tests, it cannot survive the second. This case presents different facts from those in
Bachner.
The petitioner in
Bachner
pled guilty, was informed that he could receive up to a fifteen year prison sentence, and was sentenced to ten years’ imprisonment. Under the applicable statute, he was required to serve a three year parole term after his prison term expired. The trial judge did not apprise him of this fact, and the petitioner asserted that this omission mandated the vacation of his guilty plea. However, there was nothing to indicate that he had entered the guilty plea pursuant to an agreement as to his sentence. Consequently, he could not complain about any sentence up to fifteen years' imprisonment. Since the district court subsequently resentenced him to seven years in prison, with the three year parole term to follow, he suffered no detriment as a result of the court’s failure to advise him of the mandatory parole term, as the
Bachner
court expressly noted.
In contrast, Baker did suffer a detriment. He agreed to plead guilty in exchange for the promise of a specific sentence by the prosecutor, which was then ratified by the trial judge. Yet he was given a more onerous sentence than he had been promised. Since he was not given the benefit of his bargain, this case is distinguishable from Bachner.
The correct test to be used in determining whether the circumstances surrounding Baker’s negotiated guilty plea violated the Due Process Clause is that the plea must withstand collateral attack unless the sentence actually imposed upon Baker significantly differed from the sentence which the prosecutor and the trial court promised him. We can grant Baker a writ óf habeas corpus only if the two year mandatory parole term constituted a substantial addition to the one to two year prison term that he was told he would receive.
We therefore hold that Baker’s guilty plea was unfairly induced in violation of the Due Process Clause. The difference between the three to four years in custody he did receive and the one to two years in custody he was told he would receive is substantial enough to justify a finding that he was unfairly compelled to accept the detrimental elements of his bargain without realizing its benefits.
Our holding comports with
People v. Wills,
Under the circumstances of this case it would be unjust to simply vacate the guilty plea, which theoretically would allow the state to reindict Baker. Since he has already performed his side of the bargain, fundamental fairness demands that the state be compelled to adhere to the agreement as well.
See Santobello,
The judgment of the district court is reversed.
Notes
. He was declared a parole violator for leaving the Peoria Renaissance Community Center without written permission and going to Chicago.
. There is some confusion as to how the mandatory two year parole term operated in this case, where Baker was released from incarceration on parole before the expiration of his full prison term. Arguably, he should have been subjected to the supervision of the parole authorities for the remainder of his two year prison term and only then subjected to the mandatory parole term. See
People v. Wills,
Regardless of the exact manner in which the mandatory parole term interacted with the ordinary parole term which Baker received instead of a portion of his prison term, however, it is clear that he was imprisoned for longer than two years, and remains on parole today, because of the mandatory parole term which was to follow his prison term.
. We note that the case is not moot even though Baker is out of prison because he is still in the “custody” of the parole authorities.
See Jones v. Cunningham,
. For example, in Illinois parole may be revoked if the parolee is away from his or her assigned place of residence after 11 p.m. on weekdays or 1 a.m. on Friday or Saturday, operates a motor vehicle without permission of the parole officer, gets married without permission, travels without permission beyond the boundaries of the county in which parole was granted, or associates with or writes to any person with a criminal record. See State of Illinois Department of Corrections, Rules of Conduct Governing Adult Parolees (1973).
. See President’s Commission on Law Enforcement and Administration of Justice, Task Force Report: Corrections 62 (1967) (best estimate is that thirty-five to forty-five percent of all parolees are returned to prison for parole violations).
. See id. (large majority of parolees returned are reincarcerated for violation of parole regulations; only about one-third commit new felonies); Note, Parole: A Critique of Its Legal Foundations and Conditions, 38 N.Y.U.L.Rev. 702, 721 (1963) (thirty to sixty percent are returned for noncriminal violations).
. The decision was based on an Illinois court rule that was not in effect at the time Baker was convicted. Moreover, the court held that the decision was not to be applied retroactively. 61 IU.2d at 109-11,
