The plaintiff, Patrick Sanford, was formerly an inmate of a minimum security facility in Iowa. He sued the State and prison officials, claiming damages from the imposition of excessive discipline for his violation of prison rules. The district court granted the State’s motion to dismiss and entered summary judgment for the *362 individual defendants. Upon Sanford’s appeal, we affirm the dismissal of his claim against the State, but reverse the adverse summary judgment ruling and remand for further proceedings.
I. Background Facts and Proceedings.
The facts in this case are undisputed. In 1994, Sanford was an inmate of the Luster Heights minimum security facility in Anamosa, Iowa. Shortly before his scheduled release, he received two disciplinary reports for theft. The disciplinary committee found him guilty of both charges and sanctioned him with a total of twenty days of disciplinary detention, 360 days in disciplinary detention I, and a loss of 1000 days of good-conduct time.
Lacking success in his administrative challenges to these decisions, Sanford filed petitions for postconviction relief, which were consolidated for trial. He challenged his convictions for reasons not pertinent here, and also alleged that his sanctions were excessive, arbitrary, and capricious. The district court upheld Sanford’s convictions, but ruled that the loss of 1000 days of good-conduct time was excessive. The district court remanded the cases to the Iowa Department of Corrections (IDOC) for review and imposition of new sanctions not inconsistent with the court’s ruling. Upon its review, the IDOC reduced Sanford’s loss of good-conduct time to 465 days. Sanford’s record was credited accordingly.
The unusual circumstances giving rise to the present civil suit result from the timing of the disciplinary charges and post-conviction relief actions as it relates to Sanford’s discharge date. Prior to the thefts in 1994, Sanford was scheduled to be discharged on May 28, 1994. Due to the sanctions imposed for his rule violations, he was not discharged until October 6, 1995. The district court’s ruling on his postconviction relief petitions was issued after Sanford was discharged. When prison authorities credited him with the good-conduct time they restored upon reconsideration of his sanctions, his official discharge date was changed to February 6, 1995.
Sanford filed this action to recover damages for the time he spent in prison between February 6, 1995, the date he claims he should have been discharged, and the date of his actual discharge, October 6, 1995. He has sued the prison officials who imposed and upheld his disciplinary sanctions: the administrative law judges, Jerome Manternach and Larry Brimeyer; the warden, John Thalacker; and the assistant warden, John Sissel. Sanford has alleged they deprived him of a constitutionally protected liberty interest by imposing excessive sanctions for his rule infractions. See 42 U.S.C. § 1983. Sanford has also sued the State, claiming the State breached a duty under Iowa Code section 903A.3(1) (1993) to have internal guidelines established for determining the loss of good-time credits.
The individual defendants filed a motion for summary judgment. In their motion, they asserted several reasons that Sanford’s claim against them should be dismissed: (1) Sanford was not entitled to postconviction relief because his claims were moot due to his release from prison and, therefore, that relief should not be used as the basis for a damages claim; (2) any error in Sanford’s discipline was remedied by the reconsideration and reduction of his sanctions; (3) Sanford is precluded from bringing a claim for damages because the underlying convictions and sanctions were not reversed or invalidated; (4) an inmate’s interest in good-conduct time is not a liberty interest protected by the Fourteenth Amendment; and (5) the individual defendants are entitled to qualified immunity.
The district court specifically rejected the first two arguments alleging mootness and the prior remediation of any error. The court did, however, hold that a prisoner’s claim under § 1983 was not cognizable unless the plaintiff could demonstrate that
*363
his conviction or sentence had been previously invalidated.
See Heck v. Humphrey,
The State filed a motion to dismiss, alleging that it owed no duty to Sanford and that section 903A.3(1) did not create a private cause of action for the recovery of damages. Applying the four-factor test used in
Marcus v. Young,
The plaintiff appealed the court’s rulings. The arguments on appeal mirror those made in the district court with one exception. The individual defendants have not asserted on appeal that they are entitled to qualified immunity. We will discuss the remaining issues separately.
II. Standard of Review.
A.
Summary judgment.
Review of a ruling on a summary judgment motion is for correction of errors of law. See
Continental Ins. Co. v. Bones,
B.
Motion to dismiss.
The supreme court reviews the district court’s granting of a motion to dismiss for errors of law.
See Iowa Tel. Ass’n v. City of Hawarden,
III. Summary Judgment Ruling— § 1983 Claim.
A.
Is the plaintiffs claim moot?
The defendants claim that Sanford’s § 1983 claim for damages is moot because he was discharged prior to the adjudication of his postconviction relief actions. They argue that any relief Sanford received as a result of those actions was “erroneously granted” because Sanford had already been released. Therefore, the defendants assert, Sanford should not be allowed to use that relief as a basis for his claim for damages. Their authority for this conclusion is our decision in a prison disciplinary case,
Wilson v. Farrier,
Although the defendants state that the
present action
is moot, their argument and authority are directed to the mootness of Sanford’s
original postconviction relief actions.
They claim that
those actions
were moot when they were decided and, therefore, the district court should not have entered a ruling in the postconviction relief cases. The fact is, however, that the district court did enter a ruling and the State did not appeal that ruling. Thus, the defendants’ argument in this case is actually
*364
a collateral attack on that prior judgment.
See Brown v. Tank,
Our prior case law is clear that a judgment is not subject to collateral attack except on jurisdictional grounds.
See Fetters v. Degnan,
B.
Does Sanford have a protected liberty interest in good-time credits?
The Due Process Clause of the Fourteenth Amendment provides that no State shall “deprive any person of life, liberty or property, without due process of law.” U.S. Const, amend. XIV, § 1;
see also Wolff v. McDonnell,
Every person who, under color of any statute, ordinance, regulation, custom, or usage, of any State or Territory or the District of Columbia, subjects, or causes to be subjected, any citizen of the United States or other person within the jurisdiction thereof to the deprivation of any rights, privileges, or immunities secured by the Constitution and laws, shall be liable to the party injured in an action at law, suit in equity, or other proper proceeding for redress.
42 U.S.C. § 1983. In order to establish that he has suffered a deprivation of his due process rights, however, a plaintiff must first establish that he has a liberty interest of constitutional dimension.
See Olim v. Wakinekona,
This court has frequently stated that a liberty interest is created by Iowa’s law providing for good-time credits.
See, e.g., Marshall v. State,
Our analysis begins with
Wolff v. McDonnell,
wherein the United States Supreme Court first considered whether an inmate’s interest in good-time credits was constitutionally protected. The Court held in
Wolff
that, where a state has created a right to good-conduct time, that right is embraced within the liberty interest protected by the Fourteenth Amendment.
Although there are intervening United States Supreme Court cases on this issue, we next examine the Court’s most recent opinion on this topic,
Sandin v. Conner.
In
Sandin,
the inmate, Conner, complained that he was denied due process after a prison disciplinary committee had denied his request to present witnesses at a disciplinary hearing.
Consequently, in considering Conner’s claim, the Court focused on “the nature of the deprivation” rather than on the “language of a particular regulation.”
Id.
at 481-87,
Before turning to the facts before us, we briefly consider the
Moorman
case cited by the State. In
Moorman,
the United States Court of Appeals for the Eighth Circuit stated that to consider good-time credits as liberty interests “the state must
*366
have created a
mandatory
scheme which necessarily affects the duration of a prisoner’s sentence.”
We now consider whether Sanford has a liberty interest, using the principles set forth in
Sandin
and
Wolff.
It is important at this juncture to precisely identify the right that Sanford asserts as the basis for his liberty interest. Sanford’s claim is grounded on his right to a reduction in his sentence based' on the good-conduct time that he has already earned, as opposed to a right to earn good-time credits in the first instance.
See Cardenas v. Wigen,
Iowa Code chapter 903A provides for the reduction of a prisoner’s sentence under various circumstances. One of the situations addressed in this statute is an inmate’s eligibility “for a reduction of sentence of one day for each day of good conduct.” Iowa Code § 903A.2. Any good-conduct time earned may be forfeited by the inmate for the violation of an institutional rule at the discretion of an administrative law judge; the amount of time to be forfeited is “based upon the severity of the violation.” Id. § 903A.3(1). Pursuant to these statutes, Sanford accrued good-conduct time that was later forfeited by institutional authorities as part of sanctions subsequently ruled to be excessive.
We conclude that Sanford had an interest of “real substance,”
see Wolff,
Additionally, we conclude an Iowa inmate’s interest in the reduction of his sentence for good-conduct time is no different from the Nebraska inmate’s interest in good-time credits found to be of constitutional magnitude in Wolff. Although it is true that the Nebraska statute according good-time credits is couched in more mandatory language than the comparable Iowa statute, this distinction is not controlling under Sandin. Compare Neb.Rev.Stat. § 83 — 1,107 (Cum.Supp.1972) (“The chief *367 executive officers of a facility shall reduce, for parole purposes, for good behavior and faithful performance of duties while confined in a facility the term of a committed offender as follows:.... ” (Emphasis added.)), ioith Iowa Code § 903A.2 (“each inmate of an institution under the Iowa department of corrections! ] is eligible for a reduction of sentence of one day for each day of good conduct of the inmate” (emphasis added)). Nor do we think this aspect of the statutes, dealing with the accrual of good time, is relevant to the right under consideration here, the forfeiture of good-time credits that have already accrued. ' Therefore, this dissimilarity in the Nebraska and Iowa statutes is of no significance.
We also recognize that the statutory provisions for forfeiture of good-time credits are not precisely the same under the Nebraska and Iowa statutes. Nebraska allowed good-time credits to be forfeited “[i]n cases of flagrant or serious misconduct.” Neb.Rev.Stat. § 83 — 185 (1971). In contrast, the Iowa law allows forfeiture “[u]pon finding that an inmate has violated an institutional rule”; the severity of the violation merely affects the amount of time forfeited. Iowa Code § 903A.3(1). We initially note that even under Iowa’s scheme, an inmate’s good-conduct time is protected from forfeiture in the absence of the inmate’s misconduct. In that respect, the Nebraska and Iowa statutes are alike; they differ only with respect to the degree of misconduct that can result in forfeiture of good-time credits. Secondly, although Nebraska’s limitation on the forfeiture of good-time credits can be interpreted as an acknowledgment by the state of the importance of these credits, the absence of such a limitation on the forfeiture of good-eon-duct time in Iowa does not diminish the importance
to the inmate
of the reduction in sentence that accompanies the accrual of good-conduct time. In other words, our focus is on the nature of the
inmate’s
interest, not the
state’s
assessment of that interest.
Cf. Gotcher v. Wood,
For the foregoing reasons, we conclude that the nature of an inmate’s interest in sentence reduction for good-conduct time is the same here as it was under the Nebraska statute considered in
Wolff.
Inmates’ interests are of “real substance” under both statutory schemes because the forfeiture of good-time credits affects the duration of the inmates’ sentences.
See Whitlock v. Johnson,
C.
Was any error in the disciplinary proceeding remedied in the post-conviction relief action?
The defendants claim that Sanford ultimately received due process because his discipline was corrected upon review by prison officials. They rely on a series of cases decided by the Eighth Circuit Court of Appeals:
Ragan v. Lynch,
113 F.Sd 875 (8th Cir.1997);
Wycoff v. Nichols,
In
Harper,
the Court of Appeals for the Eighth Circuit considered the claim of a prison inmate who had been disciplined after a hearing at which he was denied the opportunity to introduce certain documents.
In
Wycoff,
the prisoner was disciplined for a rule violation and lost good-time credits.
The
Ragan
case presented the Court of Appeals for the Eighth Circuit with a similar set of facts. In
Ragan,
the inmate lost good-conduct time in a disciplinary proceeding, but in a postconviction relief action, his conviction was reversed and his good-conduct time restored.
We agree with the district court that these cases are distinguishable from the case at hand. In all three cases any damage to the inmate was remedied. In
Harper,
the due process violation was procedural and had been corrected in the second hearing.
Unfortunately, that is not the case here. Any relief obtained by Sanford in the post-conviction relief process came too late — he had already spent time in prison that he allegedly would not have spent had the excessive discipline not been imposed. Consequently, the paper transaction of changing the prison records to indicate a new discharge date did not remedy the allegedly improper denial of Sanford’s liberty interest in his good-time credits.
Cf. Cespedes v. Coughlin,
D. Is Sanford precluded from bringing this claim because his convictions and sanctions toere not reversed? The individual defendants successfully argued in the district court that Sanford could not pursue a claim for damages because his underlying disciplinary report had not been reversed or remanded. Because the defendants rely primarily on the Supreme Court’s decision in Heck v. Humphrey, we start our discussion with a review of the holding in that case.
In
Heck,
the United States Supreme Court considered a § 1983 claim for damages based on the petitioner’s voluntary manslaughter conviction.
in order to recover damages for allegedly unconstitutional conviction or imprisonment, or for other harm caused by actions whose unlawfulness would render a conviction or sentence invalid, a § 1983 plaintiff must prove that the conviction or sentence has been reversed on direct appeal, expunged by executive order, declared invalid by a state tribunal authorized to make such determinations, or called into question by a federal court’s issuance of a writ of habeas corpus .... Thus, when a state prisoner seeks damages in a § 1983 suit, the district court must consider whether a judgment in favor of the plaintiff would necessarily imply the invalidity of his conviction or sentence; if it would, the complaint must be dismissed unless the plaintiff can demonstrate that the conviction or sentence has already been invalidated.
Id.
at 486-87,
In applying these principles to Sanford’s claim, the district court held that Sanford’s § 1983 action must fail because his disciplinary reports were remanded for reconsideration of the sanctions, but were not “reversed” or “invalidated” as required by
Heck.
We initially note that one of the arguments made in Sanford’s postconviction relief actions was that the sanctions imposed upon him were excessive, arbitrary and capricious. The postconvietion relief court found that the loss of good-conduct time imposed on Sanford was excessive. Based on this finding, the court remanded for a redetermination of the ap
*370
propriate sanction “not inconsistent with this opinion.” Although the postconviction relief court did not use the words “reverse” or “invalid,” we think the essence of the court’s ruling was that the good-time sanctions assessed against Sanford were invalid and could not stand.
Cf. State v. Young,
That conclusion does not, however, entirely dispose of the defendants’ argument because the defendants claim that Sanford must also show that his underlying
convictions
were reversed or invalidated. We disagree. The logic behind
Heck
is to prevent collateral attacks on judgments.
E. Summary and conclusion. Sanford has alleged the deprivation of a constitutionally protected liberty interest in the reduction of his sentence for good-time credits. This claim is not moot simply because the State arguably could have asserted a mootness defense in the underlying postconviction relief actions. Such a defense was not raised in those actions and to consider it now would be an impermissible collateral attack on the postcon-viction relief judgment. The injury alleged by Sanford was not remedied in the postconviction relief actions by the technical restoration of forfeited good-conduct time because Sanford had already served his elongated sentence when the correction was made. Finally, Sanford has satisfied the prerequisite that his underlying sanctions, which form the basis for his § 1983 suit, have been invalidated. We hold that the district court erred in granting summary judgment to the individual defendants.
IV. Tort Claim Against the State.
Sanford’s claim against the State is brought pursuant to Iowa Code chapter 669, the Iowa Tort Claims Act. This act permits an injured party to recover damages for the negligent or wrongful acts of state employees
“
“where the state, if a private person, would be liable to the claimant for such damage.’ ”
Magers-Fionof v. State,
In order to recover under a tort claim, the plaintiff must establish that the defendant owed a duty to the plaintiff that was violated.
See Van Essen v. Farmers Coop. Exch.,
*371 Here, the plaintiff asserts that the State owes a duty to-inmates not to negligently impose excessive disciplinary sanctions. He claims that chapter 903A establishes such a duty for the benefit of inmates because it provides that the IDOC should establish guidelines for assessing discipline and a loss of good-conduct time. See Iowa Code § 903A.4. (At the time of Sanford’s discipline, the IDOC had no guidelines with respect to the appropriate discipline for a rule infraction of the type of which he was convicted.) Sanford points out that Iowa Code chapter 822 authorizes postconviction relief proceedings wherein an inmate can challenge the unlawful forfeiture of good-conduct time. See id. § 822.2(6).
Even if Sanford is correct that chapter 903A creates a duty, an issue we do not decide, that does not necessarily mean that he has a cause of action for violation of that duty. The violation of a statutory duty gives rise to a tort claim only when the statute, explicitly or implicitly, provides for such a cause of action.
See Marcus,
1. Is the plaintiff a member of the class for whose benefit the statute was enacted?
2. Is there any indication of legislative intent, explicit or implicit, to either create or deny such a remedy?
3. Would allowing such a cause of action be consistent with the underlying purpose of the legislation?
4. Would the private cause of action intrude into an area over which the federal government or a state administrative agency holds exclusive jurisdiction?
Id.
(citing
Cort v. Ash,
Considering the first factor, whether the plaintiff is within the class for whose benefit the statute was enacted, we note that chapter 903A allows a reduction in an inmate’s sentence for good conduct. See Iowa Code § 903A.2. That reduction may be forfeited, however, for infractions of prison rules. Id. § 903A.3(1). Section 903A.4 directs the IDOC to develop guidelines for the accrual and forfeiture of good-time credits. We think that one of the purposes of this section, in addition to providing guidance to prison officials implementing chapter 903A, is to protect inmates from arbitrary, inconsistent or excessive disciplinary sanctions. Therefore, Sanford, as an inmate at the time of his discipline, is a member of the class for whose benefit the statute was enacted.
The second factor requires consideration of the legislature’s intent to create a private cause of action. The plaintiff has pointed to no language in chapter 903A expressly giving inmates a claim for damages when the statute is violated. He relies instead on chapter 822, the postcon-viction relief statute, noting that it provides inmates with a judicial remedy for the wrongful loss of good-conduct time.
See
Iowa Code ch. 822. Sanford argues that the recognition of a tort remedy “is not a significant extension” of chapter 822. But that is not the issue; the issue is one of legislative intent.
See M.H. By and Through Callahan v. State,
We do not discuss the third and fourth factors of the Marcus test. Even if the recognition of a tort claim would be consistent with chapter 903A and would not intrude into an area over which the IDOC has exclusive jurisdiction, the lack of any indication that the legislature intended to create such a cause of action is fatal to the plaintiffs case. Therefore, we hold that the trial court correctly granted the State’s motion to dismiss because the plaintiff failed to state a claim upon which relief could be granted.
V. Disposition.
We affirm the district court’s dismissal of Sanford’s claim against the State. We reverse the district court’s summary judgment ruling dismissing the § 1983 claim against the individual defendants, and remand the case for further proceedings on that claim.
AFFIRMED IN PART, REVERSED IN PART, AND REMANDED.
