*932In 1972, a jury convicted Louis Taylor in Arizona state court of 28 counts of felony murder, on the theory that he had started a deadly fire at a Tucson hotel. In 2012, while still in prison, Taylor filed a state post-conviction petition advancing newly discovered evidence: an expert, using new and more sophisticated investigative techniques, determined that arson did not cause the hotel fire. The government disputed Taylor's new theory but nevertheless agreed to the following procedure. The government and Taylor entered into a plea agreement in 2013 under which the original convictions were vacated and, in their place, Taylor pleaded no contest to the same counts, was resentenced to time served, and was released from prison.
Taylor then sued Pima County and the City of Tucson in state court, under 42 U.S.C. § 1983, alleging violations of his constitutional rights to due process and a fair trial. With respect to the County, Taylor alleged unconstitutional practices, policies, and customs regarding criminal prosecutions, including racially motivated prosecutions of African-Americans and a failure to train and supervise deputy prosecutors. The City removed the case to federal court, and the County consented to removal.
The County then moved to dismiss Taylor's operative complaint. Two of the County's arguments are relevant on appeal. First, the County argued that the relevant government officials acted on behalf of the State, not the County; the County asserted that, accordingly, it was entitled to "Eleventh Amendment immunity." Second, the County argued that, because all of Taylor's time in prison was supported by the valid 2013 criminal judgment, Taylor could not recover damages for wrongful incarceration.
The district court granted in part and denied in part the motion to dismiss. The court held that the County was not entitled to Eleventh Amendment immunity. But the court agreed with the County that Taylor could not recover damages for wrongful incarceration. The district court then certified its order for interlocutory appeal pursuant to 28 U.S.C. § 1292(b), concluding that resolution of several legal issues "may materially advance the ultimate termination of the litigation."
Both parties applied to this court for permission to appeal. See 28 U.S.C. § 1292(b) (permitting an "application for *933an appeal hereunder"). The County sought permission to appeal the district court's denial of immunity, and Taylor sought permission to appeal the district court's ruling that he may not recover damages for wrongful incarceration.
A motions panel of this court denied both applications to appeal pursuant to § 1292(b). But the motions panel construed the County's application, in part, as a timely notice of appeal from the denial of Eleventh Amendment immunity from suit. See Cortez v. County of Los Angeles , 294 F.3d 1186, 1188 (9th Cir. 2002) (holding that we have appellate jurisdiction under the collateral-order doctrine over a denial of Eleventh Amendment immunity from suit (citing Puerto Rico Aqueduct & Sewer Auth. v. Metcalf & Eddy, Inc. , 506 U.S. 139, 147, 113 S.Ct. 684, 121 L.Ed.2d 605 (1993) ) ). The motions panel therefore ordered that the appeal proceed under the collateral-order doctrine of 28 U.S.C. § 1291.
In accordance with that order, the parties then filed briefs addressing the issue of the County's asserted immunity under the Eleventh Amendment. At our request, the parties also filed supplemental briefs addressing whether Taylor may recover damages for wrongful incarceration.
A. Eleventh Amendment Immunity
The County asserts that we have jurisdiction to review the district court's ruling on Eleventh Amendment immunity under the two jurisdictional provisions noted above: discretionary review under § 1292(b) and the collateral-order doctrine under § 1291.
"When a party seeks a section 1292(b) interlocutory appeal, the court of appeals must undertake a two-step analysis." Arizona v. Ideal Basic Indus. (In re Cement Antitrust Litig. ), 673 F.2d 1020, 1026 (9th Cir. 1982). First, we determine whether the appeal meets the legal requirements of § 1292(b). Id. "If we conclude that the requirements have been met, we may, but need not, exercise jurisdiction. The second step in our analysis is therefore to decide whether, in the exercise of the discretion granted us by the statute, we want to accept jurisdiction." Id. ; see 28 U.S.C. § 1292(b) ("The Court of Appeals ... may thereupon, in its discretion , permit an appeal to be taken from such order...." (emphasis added) ); see also Gelboim v. Bank of Am. Corp. , --- U.S. ----, 135 S.Ct. 897, 906, 190 L.Ed.2d 789 (2015) (stating that a district court's certification under § 1292(b)"may be accepted or rejected in the discretion of the court of appeals"). Where, as here, the motions panel has decided the § 1292(b) issue in the first instance, "we give deference to the ruling of the motions panel." Kuehner v. Dickinson & Co. , 84 F.3d 316, 318 (9th Cir. 1996). With respect to the question of Eleventh Amendment immunity, we see no reason to second-guess the motions panel's denial of interlocutory review under § 1292(b).
We therefore turn to whether we have appellate jurisdiction under § 1291. On preliminary review, the motions panel concluded that appellate jurisdiction appeared to be proper under the collateral-order doctrine because the County asserted "Eleventh Amendment immunity." "Although we defer to the ruling of the motions panel granting an order for interlocutory appeal, we have an independent duty to confirm that our jurisdiction is proper." Reese v. BP Expl. (Alaska) Inc. , 643 F.3d 681, 688 (9th Cir. 2011) (internal quotation marks omitted). For the reasons stated below, we now conclude that the collateral-order doctrine does not apply here.
*934In an interlocutory appeal, we have appellate jurisdiction under 28 U.S.C. § 1291 to consider claims of immunity from suit , but we lack such appellate jurisdiction to consider claims of immunity from liability . SolarCity Corp. v. Salt River Project Agric. Improvement & Power Dist. , 859 F.3d 720, 725 (9th Cir. 2017). Under Puerto Rico Aqueduct , 506 U.S. at 144-45, 113 S.Ct. 684, an ordinary claim of Eleventh Amendment immunity encompasses a claim of immunity from suit. The rationale of Puerto Rico Aqueduct is that an interlocutory appeal is necessary to vindicate a state entity's entitlement to immunity from suit, which would be lost if a case were permitted to go to trial. Id. But an immunity from liability may be vindicated fully after final judgment, so the collateral-order doctrine does not encompass an interlocutory appeal from a denial of immunity from liability. See SolarCity , 859 F.3d at 725 ("Unlike immunity from suit, immunity from liability can be protected by a post-judgment appeal. Denials of immunity from liability therefore do not meet the requirements for immediate appeal under the collateral-order doctrine." (citation omitted) ).
Before us, Taylor argued that the County, by consenting to removal of the case to federal court, waived Eleventh Amendment immunity. See Lapides v. Bd. of Regents of Univ. Sys. , 535 U.S. 613, 624, 122 S.Ct. 1640, 152 L.Ed.2d 806 (2002) (holding that the state's consenting to removal to federal court "waived its Eleventh Amendment immunity" with respect to state law claims); Embury v. King , 361 F.3d 562, 566 (9th Cir. 2004) (extending Lapides to federal law claims and announcing "a straightforward, easy-to-administer rule in accord with Lapides : Removal waives Eleventh Amendment immunity."). In response, the County cited decisions from other circuits that have held that removal waives immunity from suit but does not waive immunity from liability. See, e.g. , Stroud v. McIntosh , 722 F.3d 1294, 1301 (11th Cir. 2013) ("We hold that although the Board's removal to federal court waived its immunity-based objection to a federal forum, the Board retained its immunity from liability...."). The County clarified that, in this case, it was asserting only immunity from liability. See, e.g. , Reply Brief at 17 ("Pima County asserted Eleventh Amendment immunity as a substantive bar to Taylor's claim.... In other words, it was asserted as a bar to liability rather than a bar to the federal court's ability to hear Taylor's claim." (emphasis added) ). The County's asserted immunity from liability can be vindicated fully after final judgment; accordingly, the collateral-order doctrine of § 1291 does not apply here. SolarCity , 859 F.3d at 725.
In conclusion, we exercise our discretion under § 1292(b) to deny the County's application for permission to appeal, and we conclude that § 1291 's collateral-order doctrine does not apply. We therefore dismiss the County's appeal.
B. Damages for Wrongful Incarceration
1. Appellate Jurisdiction
Taylor asks us to exercise our discretion under § 1292(b) to reconsider the motions panel's denial of his application for permission to appeal. He asks that we review the district court's ruling that he may not recover compensatory damages for wrongful incarceration. In the highly unusual circumstances of this case, we agree to review that issue.
Taylor seeks other forms of relief, such as nominal damages, so the district court's ruling does not dispose of his case entirely. But Taylor emphasizes the importance of the incarceration-related damages. From a practical standpoint, the district court's *935ruling likely resolves a substantial portion of his case. Moreover, if we decline to review this issue now, he will not be able to obtain review until after discovery and, possibly, a trial. That ordinary result from a denial of interlocutory review has, in Taylor's view, uncommon consequences here. Taylor notes that he is in his sixties, having spent most of his life-42 years-in prison. The entire basis of his complaint is that his decades in prison were unconstitutional. He characterizes having to wait additional years before this important issue is resolved as "yet another miscarriage of justice."
As noted, we ordinarily do not disturb a motions panel's determination under § 1292(b). Kuehner , 84 F.3d at 318. But we agree with Taylor that a departure from our ordinary practice is justified, both because his situation is rare and because our own rulings have added to the delay. We initially denied discretionary review but ordered briefing on the issue of Eleventh Amendment immunity, further forestalling final resolution of this case. We are persuaded to exercise our discretion under § 1292(b) to resolve this issue now.
2. Discussion
Taylor seeks damages for wrongful incarceration stemming from the 42 years that he spent in prison. The Supreme Court's holding in Heck v. Humphrey , 512 U.S. 477, 114 S.Ct. 2364, 129 L.Ed.2d 383 (1994), provides an important limitation on Taylor's claims. Under Heck , a plaintiff in a § 1983 action may not seek a judgment that would necessarily imply the invalidity of a state-court conviction or sentence unless, for example, the conviction had been vacated by the state court. Id. at 486-87, 114 S.Ct. 2364. Here, Taylor's 1972 jury conviction has been vacated by the state court, so Heck poses no bar to a challenge to that conviction or the resulting sentence. But Taylor's 2013 conviction, following his plea of no contest, remains valid. Accordingly, Taylor may not state a § 1983 claim if a judgment in his favor "would necessarily imply the invalidity of his [2013] conviction or sentence." Id. at 487, 114 S.Ct. 2364. As the district court summarized, " Heck does not bar [Taylor] from raising claims premised on alleged constitutional violations that affect his 1972 convictions but do not taint his 2013 convictions." Recognizing that limitation, Taylor stresses that "[h]e challenges his 1972 prosecution, convictions and sentence and does not challenge his 2013 'no contest' pleas or sentence ." (Emphasis added.)
Taylor alleges that his 1972 conviction and resulting sentence were plagued by constitutional violations and that those errors initially caused his incarceration. Critically, however, all of the time that Taylor served in prison is supported by the valid 2013 state-court judgment. The state court accepted the plea agreement and sentenced Taylor to time served. For that reason, even if Taylor proves constitutional violations concerning the 1972 conviction, he cannot establish that the 1972 conviction caused any incarceration-related damages. As a matter of law, the 2013 conviction caused the entire period of his incarceration.
Our decision in Jackson v. Barnes , 749 F.3d 755 (9th Cir. 2014), is instructive. A jury originally convicted the plaintiff of rape and murder. Id. at 758. His murder conviction-but not his rape conviction-was later vacated. Id. at 759 & n.1. He was later convicted, once again, of murder. Id. at 759. In his § 1983 action, we concluded that he was "not entitled to compensatory damages for any time he spent in prison" because he was "not imprisoned for any additional time as a result of his first, illegal conviction." Id. at 762. Jackson differs *936factually from this case in that Jackson's term of incarceration was supported fully by the original rape conviction, which had not been overturned. Id. But the general principle applies equally here: when a valid, unchallenged conviction and sentence justify the plaintiff's period of imprisonment, then the plaintiff cannot prove that the challenged conviction and sentence caused his imprisonment and any resulting damages.
The First Circuit reached the same result in a case that is factually indistinguishable from this one. In Olsen v. Correiro , 189 F.3d 52, 55 (1st Cir. 1999), a jury found the plaintiff guilty of murder, but the state court later overturned that conviction. The plaintiff then pleaded nolo contendere to manslaughter, and the state court sentenced him to time served. Id. In the plaintiff's § 1983 action challenging the constitutionality of the original jury conviction, the First Circuit held that he could not recover incarceration-related damages because he could not establish that the alleged constitutional violations caused his imprisonment. Id. at 70. "Olsen's valid manslaughter conviction and sentence are the sole legal cause of his incarceration." Id. Similarly here, Taylor's valid 2013 conviction and sentence are the sole legal causes of his incarceration; he cannot recover damages for wrongful incarceration.
Our decision also accords with the Second Circuit's decision in Poventud v. City of New York , 750 F.3d 121 (2d Cir. 2014) (en banc). A jury convicted the plaintiff of serious crimes but, seven years later, a state court vacated the conviction and sentence. Id. at 124. The plaintiff then pleaded guilty to a lesser crime, and a state court imposed a one-year sentence. Id. In the plaintiff's § 1983 action, the Second Circuit held that he could seek damages for wrongful incarceration for the years he spent in prison, except for the one year that was supported by the valid criminal judgment : "Poventud cannot seek to collect damages for the time that he served pursuant to his plea agreement (that is, for the year-long term of imprisonment)." Id. at 136 (citing Olsen , 189 F.3d at 55 ). Applying the same principle here, Taylor cannot seek to collect damages for the time that he served pursuant to his plea agreement.
We agree with the analyses and conclusions of our sister circuits. A plaintiff in a § 1983 action may not recover incarceration-related damages for any period of incarceration supported by a valid, unchallenged conviction and sentence. We take no pleasure in reaching this unfortunate result, given Taylor's serious allegations of unconstitutional actions by the County. But we cannot disregard the limitations imposed by Congress and the Supreme Court on the scope of § 1983 actions.
DISMISSED in part and AFFIRMED in part. The parties shall bear their own costs on appeal.