Opinion by Judge REINHARDT; Dissent by Judge HALL.
REINHARDT, Circuit Judge:Leslie Whaley has shuttled in and out of habeas corpus and parole proceedings since 1993. In one of the most recent iterations of this procedure, the state represented in an Oregon appellate court proceeding that his constitutional challenge to his parole conditions was moot under Oregon law because he had been removed from parole and reincarcerated. Although the parole revocation was based on the very conditions that he contends are unconstitutional, Whaley did not challenge that assertion, and the Oregon court, accordingly, dismissed the appeal. The state now argues, citing Oregon case law, that Whaley’s constitutional claims were not moot. Therefore, it asserts, he was obligated to appeal the state court’s dismissal to the Oregon Supreme Court, and his failure to do so constitutes a procedural default. We hold that under Russell v. Rolfs, 893 F.2d 1033, 1037 (9th Cir.1990), the state is judicially estopped from making this argument in federal court, and remand this matter to the district court to consider the merits of Whaley’s constitutional claims.
I.
In 1989, Whaley was convicted of rape and sentenced to a maximum term of twenty years of incarceration, and a minimum term of ten years before becoming eligible for parole. He was also convicted of kidnapping, and sentenced to an additional maximum term of ten years to be served consecutively. The offenses involved a woman he met in a bar. In 1993, he filed a petition for post-conviction relief and a federal district court eventually found that there was insufficient evidence to support the kidnapping conviction. Whaley v. Thompson, 22 F.Supp.2d 1146, 1167-68 (D.Or.1998), aff'd 210 F.3d 388, 2000 WL 84364 (9th Cir.2000) (unpublished), cert. denied, 531 U.S. 864, 121 S.Ct. 157, 148 L.Ed.2d 105 (2000).
In August 2000, the Circuit Court of the State of Oregon granted Whaley’s subsequent habeas corpus petition, holding that the Board of Parole’s conclusion that he suffered from a severe emotional disturbance that constituted a danger to the community was not supported by the record. The court ordered that he be released on parole. Shortly thereafter, he was released with numerous parole conditions, including: no dating without parole officer approval; anger management counseling; electronic monitoring, curfew restrictions, and geographical restrictions if ordered by the parole officer; no contact with the victim or her family; and no contact with his former girlfriend or his adult daughter from that relationship.
At the time, Whaley was engaged to Carolyn Flores, who was evidently responsible for creating a website critical of the state’s treatment of him. He was prohibited, as a condition of his parole, from having contact with a “Mr. Flores,” who was apparently Ms. Flores’s former or current husband. Flores has two minor children whom Whaley considers stepsons. It appears that in August 2000, Whaley and Flores requested permission from the parole officer to marry, but received no answer.
After Whaley served a brief jail sanction in October 2000 for enrolling in a sex offender program not approved by his parole officer, the parole board imposed several additional parole conditions on him. He was not to “develop or possess personal web sites without the prior permission of[parole officer]”; “use, own or operate *1000any computer” unless authorized; or have his “name, address, phone, business or enterprise of any type displayed in any manner on any web page accessible to the general public.” His “knowledge that such web site or web page exist [sic] ... as may be verified by periodic polygraph examination,” would be “considered evidence of [his] involvement in such web site ... and [would] be considered a violation of this condition of supervision.” He was also forbidden to possess or use intoxicating beverages, have contact with minor females, “frequent any place where minors are likely to congregate ... without prior written approval,” and have contact with Flores’s children. He was also required to submit to random polygraph tests. His parole was subsequently revoked and reinstated several times, with the Board imposing these conditions each time, with some variations.
In July 2001, Whaley was sanctioned for meeting with then — fiancée Flores at a car dealership while her children were nearby, and for not completing an approved sex offender treatment program. In August 2001, his parole officer directed him to have no contact with Flores. Four months later, while he was incarcerated for violating parole conditions, he was given permission to marry her. In a 2002 report summarizing a parole Board hearing, the state described his marriage as “defiant” and recommended that he be returned to prison for 18 months.
In January 2002, the Board again revoked Whaley’s parole, and imposed two new parole restrictions: “no relationships with women without the permission of parole officer,” and “do not develop or maintain relationships with persons who have control over minor children without permission of parole officer.”
In April 2002, the Board revoked Wha-ley’s parole for unspecified “criminal activity” and imposed additional conditions, including a “prohibition against viewing, listening to, owning or possessing any sexually stimulating visual or auditory materials that are relevant to [Whaley’s] deviant behavior,” a requirement that Whaley keep a driving log and not drive a motor vehicle alone without approval, and a prohibition against using a post office box without permission.
In May 2002, Whaley requested administrative review of these conditions, but the parole board found his petition untimely because he did not challenge the conditions when they were first imposed in November 2000. He then filed a challenge in the Oregon Court of Appeals. The state moved to dismiss, asserting that the petition was untimely. The state court held that the special conditions of parole were reviewable.
While this litigation was pending, Wha-ley continued to shuttle between prison and parole. In June 2002, his parole was revoked because he briefly left his hotel room after curfew and contacted his wife through an intermediary, and because his wife spoke on the phone with the night clerk of his hotel. In September 2002, the Board released him and imposed additional parole conditions on him. He filed an administrative appeal, which the parole board rejected as untimely. In January 2003, his parole was again revoked for violations of his parole conditions. In April 2003, the Board ordered him to spend the remaining 43 months of his sentence in prison.
After Whaley was reincarcerated, the state moved for dismissal of his challenge to the parole conditions, asserting that his claims were moot and that the court therefore lacked jurisdiction. For some unexplained reason, Whaley did not oppose the motion, and in April 2004, after noting that the state’s motion was unopposed, the Ore*1001gon Court of Appeals issued an order concluding “[judicial review dismissed.”
The Oregon public defenders, who had represented Whaley, informed him of the dismissal in a letter dated July 1, 2004. The letter did not mention his right to appeal the dismissal, but stated that he could pursue either state postconviction relief or federal habeas corpus relief. In November 2004, he filed a pro se petition for habeas corpus in the Oregon Supreme Court challenging, among other things, his conditions of parole. The supreme court denied the petition shortly thereafter, without comment.
Whaley filed the current petition in federal district court in March 2005, challenging, inter alia, the terms of his parole. The district court held on July 14, 2006, that his claims were exhausted because he was time-barred from appealing to the Oregon Supreme Court, but procedurally barred because he had failed to appeal the dismissal for mootness to that court. The district court, in denying his habeas petition, held that he had “failed to demonstrate cause for the [procedural] default ....” as well as prejudice.
Whaley filed a timely notice of appeal on August 14, 2006. At oral argument before this court, his counsel reported that he had been released on parole two weeks prior to argument on the same conditions as before.
II.
Before seeking a federal writ of habeas corpus, a state prisoner must exhaust available state remedies. 28 U.S.C. § 2254(b)(1)(A). Whaley’s petition is not barred by the exhaustion requirement, because, as the district court determined, there is no longer a state remedial process available for adjudicating Whaley’s claims. On appeal, neither party contests this determination.
The state argues here, as it did successfully in the district court, that Whaley’s claim is procedurally defaulted because he failed to appeal the Oregon Court of Appeals’ dismissal of his challenge to his parole conditions to the Oregon Supreme Court. When Whaley petitioned the Oregon Court of Appeals for relief, however, the state moved to dismiss the petition, asserting that it was moot. The state represented that no remedy was available to him because “petitioner has been revoked from parole and is no longer subject to the supervision conditions he challenges in this proceeding.” It stated that “[t]he Oregon Supreme Court has recognized that ‘appellate courts may not decide abstract, hypothetical or contingent questions,’ ” and contended that, because it was moot, the petition did not present a “justi-ciable controversy” under Oregon law. Whaley did not challenge the state’s mootness argument or file any opposition to its motion, and the Oregon appellate court granted the state’s unopposed motion to dismiss.
Remarkably, the state now takes the position in its brief that Whaley’s claim was in fact not moot. It argues that Whaley should have “explain[ed] to the [Oregon] Court of Appeals that the case was not mooted by his revocation and reincar-ceration, and then [sought] review by the Oregon Supreme Court.” In now trying to prove that it was wrong in its representations to the Oregon Court of Appeals, the state even goes so far as to assert that a prior Oregon case, Perdue v. Board of Parole and Post-Prison Supervision, 165 Or.App. 751, 997 P.2d 277 (2000), contradicts the position it took before the state court. Under Perdue, a petition for judicial review is not moot if “a correlation exists between the challenged Board action and the consequences from which relief is sought.” Id. at 754, 997 P.2d 277. The state now argues in its brief that the *1002Board action challenged by Whaley and the consequences from which he sought relief “were directly correlated.”1
When in its motion for dismissal it represented to the Oregon appellate court that Whaley’s claim was moot, the state did not mention Perdue, a case of which it was surely aware, as it had been a party to that proceeding only a short time earlier. By failing to do so, it violated the elementary rules of legal ethics. In any event, the state’s position that its misrepresentation of the law provides the basis for precluding the victim of its “error” from vindicating his constitutional rights is “chutzpah” in the first degree, by any standard.
More important, under the doctrine of judicial estoppel, the state cannot now reverse its position in order to suit its current objectives. “Judicial estoppel, sometimes also known as the doctrine of preclusion of inconsistent positions, precludes a party from gaining an advantage by taking one position, and then seeking a second advantage by taking an incompatible position.” Rissetto v. Plumbers & Steamfitters Local 343, 94 F.3d 597, 600 (9th Cir.1996). “Judicial estoppel is an equitable doctrine that is intended to protect the integrity of the judicial process by preventing a litigant from playing fast and loose with the courts.” Wagner v. Prof'l Eng’rs in Cal. Gov’t, 354 F.3d 1036, 1044 (9th Cir.2004) (internal quotation marks omitted). The doctrine applies to a party’s legal as well as factual assertions. Id.
In Russell v. Rolfs, 893 F.2d 1033, 1037-38 (9th Cir.1990), we held that judicial estoppel bars a state from taking different legal positions in state and federal court in order to create a procedural default that would otherwise bar a habeas petition. In that case, Washington State argued to a federal district court that federal review of a habeas petition was not proper because the petitioner had an adequate and available remedy in state court. When the petitioner then sought that remedy in state court, the state “disregarded its previous representation in federal court and argued the petition was procedurally barred.” Id. We held that “[t]he state prevailed by telling the state court the opposite of what it told the federal court. The proposition that the state can be estopped from relying on the advantage it gained by doing so seems unremarkable.” Id. at 1038.
In this case, the state created an advantage for itself by arguing to the Oregon court that Whaley’s claims were moot. The state cannot now expect a federal court to hold that Whaley had an available state remedy because, according to the state’s current petition, the claim was not moot. It is not for this court to choose between the state’s inconstant and self-serving descriptions of Oregon law. We may not allow the state to represent in federal court the opposite of what it represented to the state court when it succeeded in defeating Whaley’s claim.2
*1003A petitioner with a claim that is moot under Oregon state law does not need to pursue his claims further because he no longer has any available state remedy. As the Oregon Supreme Court held in State v. Snyder, 337 Or. 410, 418, 97 P.3d 1181 (2004), “the judicial power of the state is limited to deciding existing controversies between parties.” Because Oregon courts may not decide moot cases, it is difficult to conceive of a legal bar other than mootness that would lead us more confidently to conclude that there is an absence of available state remedies.3
It is true that Whaley could have filed a notice of appeal to the Oregon Supreme Court. But according to the state’s representations in state court, which bind it here, such an appeal would have been futile because the Oregon Supreme Court will not hear a moot case. A remedy that is futile because the court will not hear the merits of a case is unquestionably not available. Thus, there was no procedural default, and the district court is not barred from hearing Whaley’s petition.
Having argued in the Oregon appeals court that Whaley’s claims were moot, and, as a result having obtained a dismissal of his claims, the state cannot now oppose his petition for relief on the theory that the claims were not moot, and that, therefore, he failed to exhaust an available state remedy.
REVERSED and REMANDED for further proceedings on the merits.
. During oral argument the state repeatedly attempted to evade the court’s efforts to discern its current position with respect to whether Whaley's claims were moot under Oregon law. The dissent asserts that the state is now trying only to "persuade us that Wha-ley had a sufficiently colorable argument ... that the Oregon supreme court would likely have agreed with him....” That is no different from saying, as the dissenting judge stated in Religious Technology Center v. Scott, 869 F.2d 1306, 1311 (9th Cir.1989) (Hall, J., dissenting), that the state has "chang[ed] its position over the course of judicial proceedings.” The state argued before the state court that Whaley's case was moot, period. It certainly did not contend that the Oregon Supreme Court would disagree with its position.
. Contraiy to the dissent's assumption, we do not and need not defer in this case to the state court's order. The state moved to dismiss the petition as moot on the ground that it had revoked Whaley’s parole. Whaley did not oppose the motion, and the state court thereupon granted the unopposed motion. It did *1003not issue a decision on the merits, and we therefore need not defer to the decision or determine whether it was unreasonable. Cf. 28 U.S.C. § 2254(d)(1).
. The dissent argues that our application of judicial estoppel means that the petitioner is free to abandon action at the state level whenever a state convinces a state court that a petition for post-conviction relief is procedurally defective. If a petition is procedurally defective — for example, if it is moot — then the petitioner is not "abandoning” any relief at the state level. There is no relief to be had. If the petitioner decides to try his luck in federal court, the state may of course continue to argue that his case is moot. It cannot, as in this case, however, switch its position to suit its needs at the moment.
We cannot imagine that in this case the state will raise mootness at a subsequent time, because it has already switched its position once and has, as we have pointed out, an ethical obligation to represent to the court its view of the law as it honestly perceives it. Moreover, it is apparent that the case is not moot for two reasons. One, Whaley is now serving parole time for a violation of terms that he is asserting are unconstitutional. Two, he is subject to a future violation, again, for terms that he is contesting in this proceeding.