OPINION
TASHIMA, Circuit Judge.
We must decide whether and, if so, under what circumstances, a district court has the authority to modify a conditional writ of habeas corpus after the time provided in the order has lapsed. We hold that the district court does have such authority, but that such modifications may only be made pursuant to the Rules of Civil Procedure. In this ease, the State has failed to demonstrate that relief under Rule 60 is warranted; therefore, we reverse the district court, concluding that it abused its discretion when it modified the conditional writ. We remand with instructions for the district court to grant the unconditional writ of habeas corpus ordering the petitioner’s release.
JURISDICTION
The district court had jurisdiction pursuant to 28 U.S.C. § 2254, and we have jurisdiction pursuant to 28 U.S.C. §§ 1291 and 2253.
BACKGROUND
Joshua Harvest was convicted of first-degree murder in California Superior Court. After exhausting his state remedies, Harvest challenged his conviction in a federal habeas action on the ground, among others, that the trial court had violated his right of confrontation under the Sixth and Fourteenth Amendments by improperly admitting Harvest’s accomplice’s hearsay testimony. We granted relief on that ground and remanded the case, directing “the district court to order the state to release the petitioner unless the state either modifies the conviction to one for second degree murder or retries the petitioner.”
Harvest v. Castro,
121 Fed.Appx. 216, 220 (9th Cir.2005). Consistent with our mandate, the district court issued a conditional writ ordering the State to release Harvest “within sixty (60) days of the date of this Order unless within that period of time the state initiates proceedings to either modify the conviction to one for second degree murder or to retry Petitioner.”
The State did not initiate proceeding to modify the conviction, nor did it release Harvest within sixty days from the date of the district court’s order. The State’s lawyer admits that he failed to act within the designated time. He explained:
The Court’s order was received by the California Attorney General ... on March 25, 2005, [two days after the district court issued the conditional writ]. Through counsel’s error, the order was simply filed and not transmitted to the District Attorney of Contra Costa County, where petitioner was tried. The error was discovered on July 22, when the District Attorney’s office inquired of the Attorney General’s office about the status of the case.
The error in this matter occurred for a very simple reason. After advising the District Attorney of the Ninth Circuit’s modification of its opinion (in which modification the Ninth Circuit authorized the state to retry petitioner for murder or modify his conviction to second degree murder), counsel for respondent foolishly assumed that it was unnecessary for him to advise the District Attorney of the District Court’s order giving effect to the Ninth Circuit’s judgment. Counsel’s error was professionally inexcusable....
After discovering his error, the State’s counsel nevertheless waited three more days before bringing the error to the district court’s attention, providing the Contra Costa County District Attorney time to file a new complaint in Superior Court recharging Harvest with the murder.
The State eventually filed an “Application to Amend Order Nunc Pro Tunc,” seeking to amend the conditional writ. The application sought an additional sixty days to retry Harvest, modify his conviction, or release him. Harvest opposed the application, arguing that the district court should order his immediate release. Finding the State’s counsel’s error “excusable,” the district court granted in part the State’s application to amend the conditional writ — it gave the State an additional month to “release petitioner or initiate proceedings to either modify the conviction to one for second degree murder or to retry petitioner.” Harvest timely appealed.
STANDARD OF REVIEW
We review
de novo
the question of which legal standard applies to the State’s motion to modify the conditional writ,
see
Bellevue Manor
Assocs.
v. United States,
165 F.3d 1249, 1252 (9th Cir.1999), but review for abuse of discretion the district court’s granting of relief under Rule 60(b),
see id.
ANALYSIS
I. Modifying the Conditional Writ
When a court issues a writ of habeas corpus, it declares in essence that the petitioner is being held in custody in violation of his constitutional (or other federal) rights.
See
28 U.S.C. § 2254(a);
Preiser v. Rodriguez,
411 U.S. 475, 484, 93 S.Ct. 1827, 36 L.Ed.2d 439 (1973) (“[T]he essence of habeas corpus is an attack by a person in custody upon the legality of that custody[.]”). Given that function of the writ, courts originally confined habeas relief to orders requiring the petitioner’s unconditional release from custody.
See, e.g., In re Frederick,
149 U.S. 70, 77, 13 S.Ct. 793, 37 L.Ed. 653 (1893) (“[I]f such conviction was obtained in disregard or in violation of rights secured to him by the constitution and laws of the United States, ... he may apply for a writ of habeas corpus to be discharged from custody under such conviction.”);
Medley, Petitioner,
134 U.S. 160, 173, 10 S.Ct. 384, 33 L.Ed. 835 (1890) (“[U]nder the writ of
habeas corpus
we cannot do anything else than discharge the prisoner from the wrongful confinement in the penitentiary!!]”); William Blackstone, 3
Commenitaries
*131 (“[T]he great and efficacious writ in all manner of illegal confinement, is that of
habeas corpus ...
directed to the person detaining another, and commanding him to produce the body of the prisoner ... and, if the cause of imprisonment were palpably illegal, they might have discharged him.”).
In modern practice, however, courts employ a conditional order of release in appropriate circumstances, which orders the State to release the petitioner unless the State takes some remedial action, such as to retry (or resentence) the petitioner.
See, e.g., Wilkinson v. Dotson,
544 U.S. 74, 89, 125 S.Ct. 1242, 161 L.Ed.2d 253 (2005) (Kennedy, J., dissenting) (describing the “common practice of granting a conditional writ,” that is, “ordering that a State release the prisoner or else correct the constitutional error through a new hearing”);
Herrera v. Collins,
506 U.S. 390, 403, 113 S.Ct. 853, 122 L.Ed.2d 203 (1993) (“The typical relief granted in federal habeas corpus is a conditional order of release unless the State elects to retry the successful habeas petitioner, or in a capital case a similar conditional order vacating the death sentence.”);
Hilton v. Braunskill,
481 U.S. 770, 775, 107 S.Ct. 2113, 95 L.Ed.2d 724 (1987) (“[T]his Court has repeatedly stated that federal courts may delay the release of a successful habeas petitioner in order to provide the State an opportunity to correct the constitutional violation found by the court.”);
In re Bonner,
151 U.S. 242, 259-60, 14 S.Ct. 323, 38 L.Ed. 149 (1894) (recognizing for the first time that the habeas court had the power to retain the petitioner in conditional custody before granting relief).
Such “[c]onditional orders are essentially accommodations accorded to the state,”
Phifer v. Warden,
53 F.3d 859, 864-65 (7th Cir.1995), in that conditional writs “enable habeas courts to give States time to replace an invalid judgment with a valid one[,]”
Wilkinson,
544 U.S. at 87, 125 S.Ct. 1242 (Scalia, J., concurring). The consequence when the State fails to 3128 replace an invalid judgment with a valid one is “always release.”
Id.; accord Satterlee v. Wolfenbarger,
453 F.3d 362, 369 (6th Cir.2006) (affirming district court’s granting of immediate release upon the State’s failure to comply with the conditional writ);
Phifer,
53 F.3d at 862 (“If the state complies with [the district court’s] order, the petitioner will not be released; if the state
fails to comply with its order, release will occur.”);
Fisher v. Rose,
757 F.2d 789, 791 (6th Cir.1985) (“A conditional grant of a writ of habeas corpus requires the petitioner’s release from custody if new proceedings are not commenced by the state within the prescribed time period.”); 2 Randy Hertz & James S. Liebman,
Federal Habeas Corpus Practice and Procedure
§ 33.3, at 1684 (5th ed. 2005) (“If the state fails to act within the time set for retrial (or for some other proceeding) to occur, the petitioner must be released from custody immediately.”).
Despite the absolute language employed by some jurists and commentators, several of our sister circuits have nevertheless held that a district court can modify its conditional order even after the expiration of the time period set in the order, thus allowing the State to retain the petitioner in its custody even when the State failed to act within the prescribed time period. Those circuits hold that when the State fails to replace an invalid judgment with a valid one, the consequence for failing to do so need not always be release.
The most expansive view of this power has been expressed by the Third and Seventh Circuits. In
Gilmore v. Bertrand,
301 F.3d 581 (7th Cir.2002) (per curiam), the Seventh Circuit held that the district court has the power to grant the State’s motion for an extension to comply with the conditional order even if the State fails to act in a timely manner.
Id.
at 583. In that case, after failing to act within the 120 days given in the conditional order, the State moved for a 45-day extension of the stay, and the' district court granted it.
Id.
at 582. The Seventh Circuit reasoned that:
[HJabeas corpus is an equitable remedy, and courts have broad discretion in conditioning a judgment granting habeas relief. Indeed, federal courts may delay the release of a successful habeas petitioner in order to provide the State an opportunity to correct the constitutional violation found by the court. Logically, the equitable power of the district court in deciding a habeas corpus petition includes the ability to grant the state additional time beyond the period prescribed in a conditional writ to cure a constitutional deficiency.
Id.
at 582-83 (internal citations and quotation marks omitted). Thus,
Gilmore
seems to suggest that a district court’s power to modify the condition is boundless, or at least constrained only by the limits placed on the discretion of the court to craft the initial conditional order.
The Third Circuit expressly agreed with
Gilmore
that the district court has the power to modify a conditional writ, but it did so without defining the power in such expansive terms.
See Gibbs v. Frank,
500 F.3d 202, 208-09 (3d Cir.2007),
cert. denied
— U.S. -, 128 S.Ct. 1236, — L.Ed2d - (2008). In
Gibbs,
the district court allowed the Commonwealth to retain custody of the petitioner even though it failed to retry him within the 120 days provided for in the conditional writ, based in part on the district court’s finding that the delay was caused by both the Commonwealth and the petitioner.
Id.
In light of these circumstances, the Third Circuit failed “to see why a post-deadline justification offered by the state for the delay in a prisoner’s retrial should be categorically rejected as a legal matter” and concluded that “[t]he broad discretion inherent in a district court’s habeas powers include[sic ] the ability to evaluate whether the Commonwealth has provided a legitimate reason for its delay in retrying a defendant subject to a conditional habeas writ.” Id. at 208. The
Gibbs
court held that the district court’s power to modify the conditional order includes the power to modify the writ when the district court’s “actions are reasonable under the circumstances,”
id.
at 207, and that one circumstance in
which modification is reasonable is when the Commonwealth (or State), “provide[s] a legitimate reason for its delay[,]”
id.
at 208. To the
Gibbs
court, “it is of no moment whether the Commonwealth seeks an extension directly from the District Court during the initial deadline or ... provides a post hoc justification for the trial delay.”
Id.
Whether the district court has the power to modify the writ when the State provides no reason, or an illegitimate one, remains an open question under
Gibbs.
The Eighth Circuit also has concluded that the district court’s power to modify a lapsed conditional writ includes the power to modify the writ when the State provides a good reason. In
Chambers v. Armontrout,
16 F.3d 257 (8th Cir.1994), the Eighth Circuit did “not think the district court erred in granting the state additional time to retry” the petitioner, in part because “there was ... some evidence that the delay in retrial had been attributable at least in part to the defense.”
Id.
at 261 n. 2.
We agree with our sister circuits that a district court can modify its conditional writ even after the time provided in the conditional writ has lapsed. Given that “habeas corpus is, at its core, an equitable remedy,”
Schlup v. Delo,
513 U.S. 298, 319, 115 S.Ct. 851, 130 L.Ed.2d 808 (1995), and that courts have “broad discretion in conditioning a judgment granting habeas relief,”
Hilton,
481 U.S. at 775, 107 S.Ct. 2113, we agree with the Seventh Circuit that “[l]ogically, the equitable power of the district court in deciding a habeas petition includes the ability to grant the state additional time beyond the period prescribed in a conditional writ to cure a constitutional deficiency.”
Gilmore,
301 F.3d at 582-83;
cf. Transgo, Inc. v. Ajac Transmission Parts Corp.,
768 F.2d 1001, 1030 (9th Cir.1985) (“The district court has continuing jurisdiction over such matters as the modification of injunctive relief.”). However, “the fact that the writ has been called an ‘equitable’ remedy does not authorize a court to ignore ... statutes, rules, and precedents.... Rather, courts of equity must be governed by rules and precedents no less than the courts of law.”
Lonchar v. Thomas,
517 U.S. 314, 323, 116 S.Ct. 1293, 134 L.Ed.2d 440 (1995). Habeas proceedings brought by state prisoners are governed by a discrete
set of rules.
See
Rules Governing Section 2254 Cases in the United States District Courts (codified after 28 U.S.C. § 2254) (“Habeas Rules”);
Mayle v. Felix,
545 U.S. 644, 654, 125 S.Ct. 2562, 162 L.Ed.2d 582 (2005). The final Habeas Rule, Rule 11, provides that the “Federal Rules of Civil Procedure, to the extent that they are not inconsistent with any statutory provisions or [the habeas] rules, may be applied to a proceeding under these rules.” Habeas Rule 11;
see also
Fed.R.Civ.P. 81(a)(4) (providing that the Rules of Civil Procedure apply in habeas cases to the extent that those rules do not conflict with the Habeas Rules or other statutory provisions);
Mayle,
545 U.S. at 654-55, 125 S.Ct. 2562 (discussing the application of the civil rules to a habeas proceeding).
Civil Rule 60 governs relief from judgments or orders.
See
Fed R. Civ. P. 60. Specifically, “Rule 60(b) allows a party to seek relief from a final judgment, and request reopening of his case, under a limited set of circumstances including fraud, mistake, and newly discovered evidence.”
Gonzalez v. Crosby,
545 U.S. 524, 528, 125 S.Ct. 2641, 162 L.Ed.2d 480 (2005). As the Supreme Court has stated, “Rule 60(b) has an unquestionably valid role to play in habeas cases.”
Id.
at 534, 125 S.Ct. 2641. In
Gonzalez,
the Supreme Court held that a habeas petitioner may move for relief from denial of habeas under Rule 60(b) so long as the motion is not the equivalent of a successive petition.
Id.
at 535-36, 125 S.Ct. 2641. In doing so, the Court noted that “[i]n some instances ... it is the State, not the habeas petitioner, that seeks to use Rule 60(b), to reopen a habeas judgment
granting
the writ.”
Id.
at 534, 125 S.Ct. 2641 (emphasis in the original) (citing
Ritter v. Smith,
811 F.2d 1398, 1400 (11th Cir.1987)).
Moreover, Rule 60, before the 2007 Amendments, specifically provided that “the procedure for obtaining relief from a judgment shall be by motion as prescribed in [the Civil] rules or by an independent action.” Fed.R.Civ.P. 60(b). Although the 2007 Amendments deleted that provision “as unnecessary,” the 2007 advisory com
mittee notes make clear that “[r]elief [from the judgment] continues to be available only as provided in the Civil Rules or by independent action.” Fed.R.Civ.P. 60 advisory committee notes on 2007 amendments;
see also
12 James Wm. Moore,
Moore’s Federal Practice
§ 60.40 (3d ed. 2006) (“[A]part from a motion under Rule 60(b), and independent action in equity, statutory procedures, and the court’s inherent power to set aside judgments for fraud on the court, there are no other recognized means, outside of a timely appeal, for relief from a final judgment or order.”).
Therefore, we hold that the district court has the authority to modify a conditional writ in order to give the State more time to cure the constitutional deficiency, but that such modifications are governed by the Habeas Rules and, by incorporation, the Rules of Civil Procedure, including Rule 60.
II. Applying Civil Rule 60 to Harvest’s Conditional Writ
Even though the State’s motion to the district court was labeled as an “Application to Amend Order Nunc Pro Tunc,” we treat it as a Rule 60(b) motion.
See Am. Ironworks & Erectors, Inc. v. N. Am. Const. Corp.,
248 F.3d 892, 898-99 (9th Cir.2001) (“a motion for reconsideration ... is treated as a Rule 60(b) motion” if it is filed more than ten days after entry of judgment);
see also
12 Moore,
supra,
§ 60.64 (“Nomenclature is not important. The label or description that a party puts on its motion does not control whether the party should be granted or denied relief.”).
On appeal, the State argues that Rule 60(b)(l)’s excusable neglect standard provides sufficient grounds for the district court to reopen the conditional writ. Rule 60(b)(1), however, grants the power to “correct judgments ... which have issued due to inadvertence or mistake.”
Am. Trucking Ass’ns v. Frisco Transp. Co.,
358 U.S. 133, 145, 79 S.Ct. 170, 3 L.Ed.2d 172 (1958);
see
11 Charles Alan Wright, Arthur R. Miller & Mary Kay Kane,
Federal Practice and Procedure
§ 2858, at 276 (2d ed.1995) (noting that Rule 60(b)) empowers courts “to relieve the oppressed from the burden of judgments unfairly, fraudulently or mistakenly entered” (internal citation and quotations marks omitted). As the advisory committee notes state, the rule is designed to provide relief “where the judgment is taken against the party through ... mistake, inadvertence, etc.” Fed.R.Civ.P. 60 advisory committee notes to the 1946 amendment. The State, however does not argue that the conditional writ was issued due to a mistake or excusable neglect; rather, the contention is that the State deserves relief from the judgment due to its failure timely to carry out the terms of the conditional writ. The State’s mistake, a “mistake” that came after the issuance of the order, did not result in the issuance of the order. Rule 60(b)(1), however, is not designed to provide relief for mistakes that come after the issuance of the order. Because the issuance of the conditional writ was not due to inadvertence or mistake, Rule 60(b)(1) and its excusable neglect standard do not apply in this case.
We next examine whether Rule 60(b)(5), which “codifies the long-established principle of equity practice that a court may, in its discretion, take cognizance of changed circumstances and relieve a party from a continuing decree,”
Gilmore v. California,
220 F.3d 987, 1007 (9th Cir.2000), provides the proper vehicle through which the conditional writ may have been modified in this ease. To be sure, Rule 60(b)(5) applies only to those judgments that have prospective application. “The standard used in determining whether a judgment has prospective application is whether it is executory or involves the supervision of changing conduct or conditions.”
Maraziti v. Thorpe,
52 F.3d 252, 254 (9th Cir.1995) (internal quotation marks and citations omitted). A conditional writ of habeas corpus quite clearly “involves the supervision of changing conduct or conditions.” As the Seventh Circuit described it:
A conditional order’s framework contemplates that a district court will eventually make an assessment concerning compliance with its mandate. In many cases, whether or not the state has complied will be apparent&emdash;where, for instance, a court orders a new hearing and the state completely fails to provide one. In these cases, a specific assessment concerning compliance may be unnecessary&emdash;the writ will simply issue because it is apparent that the state has not fulfilled the mandate. In other cases, however, the district court will need to examine the content of the state’s action to determine whether compliance was sufficient.
Phifer,
53 F.3d at 865. Indeed, in this case, the conditional writ itself clearly contemplated continued supervision in that it ordered the State to “file and serve a notice of compliance with this Order no later than sixty (60) days from the date of this Order.” Therefore, we treat the State’s motion to modify the conditional writ as a Rule 60(b)(5) motion.
Under Rule 60(b)(5), modification of the conditional writ is warranted if there is “a significant change either in factual conditions or in law.”
See Rufo v. Inmates of Suffolk County Jail,
502 U.S. 367, 384, 112 S.Ct. 748, 116 L.Ed.2d 867 (1992);
see also Gilmore,
220 F.3d at 1007. The party seeking the modification has the burden of demonstrating that such a change has occurred.
Rufo,
502 U.S. at 384, 112 S.Ct. 748. Therefore, when the State proves that there has been an intervening change in the law,
see, e.g., Ritter,
811 F.2d at 1403 (setting aside conditional writ in light of “extraordinary” circumstance of an intervening Supreme Court decision which made clear that the petitioner was not entitled to the habeas relief he had been granted);
cf. Rufo,
502 U.S.
at 388, 112 S.Ct. 748 (“Modification of a consent decree may be warranted when the statutory or decisional law has changed to make legal what the decree was designed to prevent.”), or demonstrates that the petitioner’s actions have inhibited the efforts of the State to retry or resentence the petitioner,
see, e.g., Gibbs,
500 F.3d at 208 (granting the Commonwealth’s motion to modify the conditional writ when the Commonwealth demonstrated that the petitioner was at least partially at fault for the delay);
Chambers,
16 F.3d at 261 n. 2 (same), modification of the writ may be appropriate. In this case, however, the State has demonstrated no “significant change[s] either in factual conditions or in law.”
See Rufo,
502 U.S. at 384, 112 S.Ct. 748. Therefore, modification pursuant to Rule 60(b)(5) was unwarranted.
Civil Rule 60(b)(6), the so-called catch-all provision, which provides that on motion “the court may relieve a party or a party’s legal representative from a final judgment, order, or proceeding for ... any other reason [in addition to those categories specified in Rules 60(b)(1)-(5)] that justified relief,” Fed R. Civ. P. 60(b)(6), also does not provide an avenue for modification of the conditional writ. A party moving for relief under Rule 60(b)(6) “must demonstrate both injury and circumstances beyond his control that prevented him from proceeding with the action in a proper fashion.”
Latshaw
v.
Trainer Wortham & Co., Inc.,
452 F.3d 1097, 1103 (9th Cir.2006) (internal quotation marks and alteration omitted). We have cautioned that this Rule is to be “used sparingly as an equitable remedy to prevent manifest injustice and is to be utilized only where extraordinary circumstances prevented a party from taking timely action to prevent or correct an erroneous judgment.”
Id.
(quoting
United States v. Washington,
394 F.3d 1152, 1157 (9th Cir.2005)). Even assuming that the State can show that it has suffered an injury, it has not demonstrated that there were any “circumstances beyond its control.” Indeed, the State’s counsel acknowledges that the circumstances were under his control and that his error was “professionally inexcusable.” We therefore conclude that the State has failed to demonstrate that relief was warranted under Rule 60; thus, that the district court abused its discretion when it modified the conditional writ.
CONCLUSION
We hold that when the State fails to cure the constitutional error,
i.e.,
when it fails to comply with the order’s conditions, and it has not demonstrated that it deserves relief from the judgment under Rule 60 or the other mechanisms provided for in the Rules, the conditional grant of habeas corpus
requires
the petitioner’s release from custody. Because the State has failed to demonstrate that relief under
Rule 60 was warranted, we reverse the order of the district court and direct it to issue an unconditional writ of habeas corpus releasing Harvest from custody.
REVERSED AND REMANDED.