Joseph P. O'brien, and James E. Byrd Ebony Guinn Jaron A. Sturdivant v. G.O. Moore, Community Corrections Manager

395 F.3d 499

Joseph P. O'BRIEN, Petitioner-Appellee, and
James E. Byrd; Ebony Guinn; Jaron A. Sturdivant, Petitioners,
v.
G.O. MOORE, Community Corrections Manager, Respondent-Appellant.

No. 04-6473.

United States Court of Appeals, Fourth Circuit.

Argued: December 1, 2004.

Decided: January 27, 2005.

ARGUED: Matthew Theodore Martens, Assistant United States Attorney, Office of the United States Attorney, Charlotte, North Carolina, for Appellant. William Chester Bunting, Jr., Shumaker, Loop & Kendrick, Charlotte, North Carolina, for Appellee. ON BRIEF: Gretchen C.F. Shappert, United States Attorney, Charlotte, North Carolina, for Appellant. Peter C. Anderson, Shumaker, Loop & Kendrick, L.L.P., Charlotte, North Carolina, for Appellee.

Before NIEMEYER and MICHAEL, Circuit Judges, and Norman K. MOON, United States District Judge for the Western District of Virginia, sitting by designation.

Reversed and vacated by published opinion. Judge NIEMEYER wrote the opinion, in which Judge MICHAEL and Judge MOON joined.

OPINION

NIEMEYER, Circuit Judge:

1

The question in this appeal is whether the Equal Access to Justice Act (the "EAJA"), 28 U.S.C. § 2412, contains an unequivocal expression of congressional intent to waive sovereign immunity to authorize the assessment of an award of attorneys fees against the United States in a habeas corpus proceeding. The EAJA provides that a court shall award reasonable attorneys fees to a prevailing party (other than the United States) "in any civil action (other than cases sounding in tort), including proceedings for judicial review or agency action, brought by or against the United States ... unless the court finds that the position of the United States was substantially justified." 28 U.S.C. § 2412(d)(1)(A) (emphasis added). Applying this provision, the district court entered an order awarding Joseph P. O'Brien $35,935 in attorneys fees incurred in connection with his successful prosecution of a petition for a writ of habeas corpus, which he filed against the Federal Bureau of Prisons under 28 U.S.C. § 2241.

2

Appealing the district court's order, the government contends that Congress did not waive sovereign immunity as to such an award because, in waiving sovereign immunity as to an award of attorneys fees to a prevailing party in a "civil action," Congress did not unequivocally express an intent to waive sovereign immunity as to an award of attorneys fees to a prevailing party in a habeas corpus proceeding. The government also contends that its position in this habeas corpus proceeding was "substantially justified." Because the EAJA does not expressly authorize an award of attorneys fees to a prevailing party in a habeas corpus proceeding and because the term "civil action" does not unambiguously encompass habeas actions, we conclude that the EAJA does not contain the unequivocal expression of congressional intent necessary to amount to a waiver of sovereign immunity and thereby permit the assessment of attorneys fees against the United States in a habeas corpus proceeding. Accordingly, we reverse and vacate the district court's order without reaching the government's argument that its litigating position was "substantially justified."

3

* After Joseph O'Brien pleaded guilty to bank fraud in the Eastern District of Pennsylvania, the district judge sentenced him, on February 13, 2002, to 24 months' imprisonment and recommended that, when he became eligible, O'Brien be designated to serve his sentence at the McLeod Community Corrections Center, a halfway house in Charlotte, North Carolina. Instead of sending O'Brien to prison, the Federal Bureau of Prisons designated O'Brien to serve his entire sentence at the McLeod Center.

4

On December 13, 2002, the Office of Legal Counsel of the United States Department of Justice rendered a "Memorandum Opinion for the Deputy Attorney General," which concluded that the Bureau of Prisons' practice of placing offenders sentenced to specified prison sentences in halfway houses at the outset of their sentence or transferring them from prisons to halfway houses at any time the Bureau of Prisons chose was unlawful under the U.S. Sentencing Guidelines and under 18 U.S.C. §§ 3621 and 3622. The opinion applied to offenders sentenced to terms of imprisonment within either Zone C of the Sentencing Guidelines' sentencing table (providing for 8 to 16 months' imprisonment) or Zone D (providing for 12 months' to life imprisonment).

5

Consistent with the Justice Department's position, O'Brien was notified on December 23, 2002, that he would be redesignated to serve the remainder of his sentence in a federal prison. In January 2003, he was formally redesignated to a federal prison camp, to be transferred there on or about January 27, 2003.

6

O'Brien and three other inmates commenced this habeas action on January 21, 2003, by filing a "Joint Petition for a Writ of Habeas Corpus under 28 U.S.C. § 2241 by Prisoners in Federal Custody." They requested a temporary restraining order, pending a hearing on their motion for a preliminary injunction, that they not be transferred from the McLeod Center to a federal prison camp. Following oral argument, the district court issued a temporary restraining order on January 23, 2003, to expire on February 4, 2003. The court also scheduled a hearing on that date on the motion for a preliminary injunction. When O'Brien filed a motion before the scheduled hearing date to postpone the hearing until February 14, 2003, the district court, over the government's objection, extended the temporary restraining order until that date. The court also rescheduled the hearing on the motion for a preliminary injunction to take place on that same date. Shortly before the newly scheduled hearing date, when O'Brien had not yet filed his memorandum of law in support of his motion for a preliminary injunction, the district court, sua sponte, extended the temporary restraining order a second time, until March 5, 2003. In its order, the court ruled that the ten-day limit imposed by Federal Rule of Civil Procedure 65(b) did not apply because the temporary restraining order "was entered with notice." The government moved to dissolve the second extension of the temporary restraining order, arguing that the district court was without authority to extend the temporary restraining order beyond 20 days. In support of its position, the government cited three cases and a passage from Wright & Miller's Federal Practice and Procedure, which states that "20 days ... is the longest that a temporary restraining order can be operative." 11A Charles Alan Wright, Arthur R. Miller, & Mary Kay Kane, Federal Practice and Procedure § 2953 (2d ed.1995). In response to this motion, the court scheduled a hearing on February 20, 2003, following which it entered an order dated March 6, 2003, granting O'Brien's "motion for stay" of any redesignation or transfer (which was made and orally granted at the February 20 hearing) and his motion for a preliminary injunction.

7

During the February 20 hearing, the district court stated that it thought the government had misrepresented the law when arguing that there was a 20-day time limit for temporary restraining orders:

8

You've misrepresented the import of the cases to the Court. You've overstated it and you've done so in a way that in a civil case, if the other side moved for sanctions, I would have to seriously consider it.

9

* * * * * *

10

I think the case law is clear in the Fourth Circuit that only a temporary restraining order issued for an indeterminate period of time becomes willy-nilly a preliminary injunction.

11

The court then received argument from the parties on the merits of the habeas petition.

12

On May 20, 2003, the government mooted O'Brien's habeas petition and agreed that he would not be redesignated to a federal prison camp, but would continue to serve the remainder of his sentence, which was scheduled to expire in February 2004, at the McLeod Center. The district court confirmed the government's agreement in an order dated June 30, 2003.

13

Having thus prevailed on his habeas petition, O'Brien moved the district court for an award of attorneys fees and costs pursuant to the EAJA, 28 U.S.C. § 2412, arguing that the government's position in the litigation was "not substantially justified." The government opposed this motion, alleging that its position on the proper facility in which to serve a sentence of imprisonment of over 12 months was substantially justified, based on a series of successes in similar cases in other federal courts. While the district court recognized the government's other successes, it concluded that they were merely one factor that the court should consider in deciding whether to make an award under the EAJA. Noting that it was also to consider the reasonableness of the government's "stance" in the litigation, the court referred to the government's position with respect to the viability of a temporary restraining order beyond 20 days, noting:

14

For instance, in the hearing for the preliminary injunction in this matter, this Court considered imposing sanctions on [the government] for [its] clearly erroneous representations of the law.

The court concluded:

15

Therefore, in the totality of the circumstances, tak[ing] into account objective indicia of substantial justification, such as the alleged "string of successes" as well as the specific facts of the instant litigation, the Court finds that the government was not substantially justified in the position it took in this specific case. Furthermore, and in the alternative, based on the stances taken by respondents in the hearing, as well as their pleadings to this Court, the Court finds that respondent has undermined any substantial justification that might have existed.

16

The court then awarded O'Brien attorneys fees, costs, and expenses under the EAJA in the amount of $35,934.66.

17

The government filed a motion for reconsideration, raising for the first time the issue of sovereign immunity and arguing that under the EAJA the United States waived its sovereign immunity only with respect to attorneys fees in "civil actions" and that a habeas corpus proceeding was not a "civil action" for purposes of the EAJA. The district court rejected the government's argument, and, distinguishing circuit court cases that had concluded that a habeas proceeding was not a "civil action" for purposes of the EAJA, the court stated that "Petitioner O'Brien's `claim was not merely a vindication of his own personal rights, but a challenge to a regulatory policy that had a sweeping effect on' a large class of actual and potential inmates" (quoting In re Hill, 775 F.2d 1037, 1041 (9th Cir.1985)). The court continued, "Despite its name or label, the action in this case is precisely the type of civil action Congress sought to encourage by enacting the EAJA." (Emphasis in original).

18

From the district court's order, the government filed this appeal, contending (1) that O'Brien's habeas action was not a "civil action" with respect to which the United States waived its sovereign immunity through the EAJA, and (2) that the government's position in this litigation was, in any event, "substantially justified," precluding an award of attorneys fees to O'Brien.

II

19

It is well-settled that "[a]ttorneys' fees may be assessed against the United States only when it has waived its sovereign immunity by statute." United States v. Dawkins, 629 F.2d 972, 975 (4th Cir.1980) (emphasis added); see also Ardestani v. INS, 502 U.S. 129, 137, 112 S.Ct. 515, 116 L.Ed.2d 496 (1991); 28 U.S.C. § 2412(a) (forbidding a fee award against the United States except "as otherwise specifically provided by statute"). And such a waiver may not be implied. See Lehman v. Nakshian, 453 U.S. 156, 161, 101 S.Ct. 2698, 69 L.Ed.2d 548 (1981). To the contrary, "sovereign immunity is presumed and cannot be overcome without an express and unequivocal statutory waiver," and "all ambiguities [must be] resolved in favor of the sovereign." Research Triangle Inst. v. Bd. of Governors of the Fed. Reserve Sys., 132 F.3d 985, 987 (4th Cir.1997) (citing Lane v. Pena, 518 U.S. 187, 192, 116 S.Ct. 2092, 135 L.Ed.2d 486 (1996)). Thus, "[t]o sustain a claim that the Government is liable for awards of monetary damages, the waiver of sovereign immunity must extend unambiguously to such monetary claims." Lane, 518 U.S. at 192, 116 S.Ct. 2092 (emphasis added).

20

Accordingly, in deciding whether, through the EAJA, Congress waived the government's sovereign immunity for an award of attorneys fees in habeas actions, "[o]ur task is to discern the `unequivocally expressed' intent of Congress, construing ambiguities in favor of immunity." United States v. Williams, 514 U.S. 527, 531, 115 S.Ct. 1611, 131 L.Ed.2d 608 (1995) (quoting United States v. Nordic Village, Inc., 503 U.S. 30, 33, 112 S.Ct. 1011, 117 L.Ed.2d 181 (1992)). More specifically, we must determine whether a statutory waiver of sovereign immunity for awards of attorneys fees in "civil actions" unambiguously covers habeas corpus proceedings.

21

O'Brien contends that the district court correctly determined that his habeas corpus petition was a "civil action" for purposes of the EAJA. Following the rationale of the district court, O'Brien notes that the EAJA includes within the scope of the term "civil action" any "proceedings for judicial review of agency action," 28 U.S.C. § 2412(d)(1)(A), and he argues that his habeas corpus petition was such a proceeding to review agency action "regardless of the procedural vehicle used to present the claim." Thus, O'Brien contends that despite the fact that his action was styled as a petition for a writ of habeas corpus, it was in fact directed at challenging the Bureau of Prisons' policy, and as such, it was a "civil action" for purposes of the EAJA. For authority, O'Brien relies principally on language from the Ninth Circuit's opinion in In re Hill, which notes:

22

[W]e must look to the substance of the remedy sought, not the labels attached to the claim, in determining whether a proceeding falls within the term "any civil action" of the EAJA. In contrast to the challenge of unlawful criminal custody in Boudin [v. Thomas, 732 F.2d 1107 (2d Cir.1984)], Hill sought to gain admission into this country and, in essence, sought to secure a declaratory judgment that the Government's policy of excluding homosexual aliens without a medical certificate was improper. Hill's claim was not merely a vindication of his own personal rights, but a challenge to a regulatory policy that had a sweeping effect on homosexual aliens seeking to enter the United States.

23

775 F.2d at 1040-41.

24

At the outset, we point out that the EAJA does not provide a definition of the term "civil action," and its terms do not explicitly include or exclude habeas corpus proceedings. O'Brien's success, therefore, depends on whether "civil action," as used in the EAJA, unequivocally or unambiguously includes a habeas proceeding.

25

We begin by recognizing that courts have, for a long time, categorized habeas cases as "civil" in nature. See, e.g., Hilton v. Braunskill, 481 U.S. 770, 776, 107 S.Ct. 2113, 95 L.Ed.2d 724 (1987); Ex parte Tom Tong, 108 U.S. 556, 559-60, 2 S.Ct. 871, 27 L.Ed. 826 (1883). While such a categorization might have been for the convenience of choosing between the criminal and civil labels, see, e.g., Fisher v. Baker, 203 U.S. 174, 181, 27 S.Ct. 135, 51 L.Ed. 142 (1906) (noting that a habeas proceeding "is a civil, and not a criminal, proceeding"); Tom Tong, 108 U.S. at 559-60, 2 S.Ct. 871 (noting that "[p]roceedings to enforce civil rights are civil proceedings, and proceedings for the punishment of crimes are criminal proceedings"); Boudin v. Thomas, 732 F.2d 1107, 1112 (2d Cir.1984) (same), such a gross classification could also be justified by the fact that habeas proceedings employ to some degree the Federal Rules of Civil Procedure, see Fed.R.Civ.P. 81(a)(2). But any such classification involving only two categories — civil and criminal — has always been an uncomfortable one, and there can be no doubt that labeling habeas as either civil or criminal is "gross and inexact." Harris v. Nelson, 394 U.S. 286, 293-94, 89 S.Ct. 1082, 22 L.Ed.2d 281 (1969).

26

The appropriate classification of habeas actions becomes even more ambiguous when habeas' characteristics are closely reviewed against the characteristics of, and distinctions between, civil and criminal actions, which are themselves not clear. See Browning-Ferris Indus. of Vt., Inc. v. Kelco Disposal, Inc., 492 U.S. 257, 264-68, 109 S.Ct. 2909, 106 L.Ed.2d 219 (1989). When examining the differences between civil and criminal actions for purposes of applying the Excessive Fines Clause of the Eighth Amendment to a punitive damages award, the Court in Browning-Ferris described a civil action as one involving a dispute between private parties and damages paid to a private party or other remedies for a private wrong, and a criminal action as one involving the prosecution of conduct by a sovereign to exact punishment. Id. at 272, 109 S.Ct. 2909; id. at 296, 109 S.Ct. 2909 (O'Connor & Stevens, JJ., concurring in part and dissenting in part). While that distinction might not be universally true and therefore is likely to be imperfect, it nonetheless serves to highlight the reality that a habeas corpus proceeding is neither a wholly criminal nor a wholly civil action, but rather a hybrid action that is unique, a category unto itself. See Walker v. O'Brien, 216 F.3d 626, 636 (7th Cir.2000).

27

The habeas corpus proceeding is specifically designed to protect individual liberty and redress unlawful detention."[T]he essence of habeas corpus is an attack by a person in custody upon the legality of that custody, and ... the traditional function of the writ is to secure release from illegal custody." Preiser v. Rodriguez, 411 U.S. 475, 484, 93 S.Ct. 1827, 36 L.Ed.2d 439 (1973); see also Fay v. Noia, 372 U.S. 391, 430, 83 S.Ct. 822, 9 L.Ed.2d 837 (1963) (explaining that the "jurisdictional prerequisite" of a habeas proceeding is "detention simpliciter"). Thus, to the extent that a habeas proceeding reviews a criminal punishment with the potential of overturning it, the habeas proceeding necessarily assumes part of the underlying case's criminal nature in the same sense, for instance, that a declaratory judgment action takes on aspects of an underlying breach-of-contract case. This criminal aspect was fully recognized by the Supreme Court in O'Neal v. McAninch, 513 U.S. 432, 440, 115 S.Ct. 992, 130 L.Ed.2d 947 (1995), where the Court applied a criminal standard of review to habeas proceedings, rather than a civil standard. See also Murray v. Giarratano, 492 U.S. 1, 13, 109 S.Ct. 2765, 106 L.Ed.2d 1 (1989) (O'Connor, J., concurring) (noting that habeas corpus is a civil proceeding designed to overturn a presumptively valid criminal judgment); The Federalist No. 83, at 431 (Alexander Hamilton) (George W. Carey & James McClellan eds., 1990) (noting that habeas corpus serves as a bulwark against "arbitrary methods of prosecuting pretended offenses, and arbitrary punishments upon arbitrary convictions"). Insofar as a habeas proceeding seeks to vindicate a civil right, however, it also has a civil aspect. See Tom Tong, 108 U.S. at 559-60, 2 S.Ct. 871. And this aspect is reinforced by the fact that the procedure for resolving habeas petitions uses civil rules, albeit a streamlined collection of them. See Fed.R.Civ.P. 81(a)(2); Rule 11 Governing § 2254 Cases.

28

Because habeas actions have both criminal and civil aspects, courts have routinely regarded them as "hybrid" actions. See, e.g., Sloan v. Pugh, 351 F.3d 1319, 1323 (10th Cir.2003) (concluding that "habeas proceedings are `unique' or `hybrid' types of cases"); United States v. Johnston, 258 F.3d 361, 365 (5th Cir.2001) (noting that a " § 2255 motion is a hybrid, with characteristics indicative of both civil and criminal proceedings"); Parrott v. Virgin Islands, 230 F.3d 615, 620 n. 7 (3d Cir.2000) (noting that "habeas corpus proceedings are hybrid ones"); United States v. Jones, 215 F.3d 467, 468 (4th Cir.2000) (noting that "habeas actions are a unique hybrid of civil and criminal"); Santana v. United States, 98 F.3d 752, 754 (3d Cir.1996) (noting that habeas corpus cases are "in effect, hybrid actions whose nature is not adequately captured by the phrase `civil action'"); cf. Walker v. O'Brien, 216 F.3d 626, 636 (7th Cir.2000) (noting that habeas proceedings are a "group unto themselves"); Smith v. Angelone, 111 F.3d 1126, 1130 (4th Cir.1997) (noting that a habeas proceeding is "`more accurately regarded as being sui generis'" (quoting Martin v. United States, 96 F.3d 853, 855 (7th Cir.1996))).

29

And because habeas actions have both a criminal and civil nature, when a statutory provision regulates a "civil action," we can only conclude that it does not necessarily follow that it also regulates a habeas proceeding. This approach is amply demonstrated by a line of cases in which courts have considered such statutory provisions.

30

For example, in Schlanger v. Seamans, 401 U.S. 487, 490 n. 4, 91 S.Ct. 995, 28 L.Ed.2d 251 (1971), the Supreme Court noted that national service of process, which is authorized in "civil actions" against officials of the United States under 28 U.S.C. § 1391(e), is not authorized in a habeas proceeding, even though the statute does not explicitly exclude habeas proceedings.

31

In Smith, 111 F.3d 1126, we concluded that the term "civil action" as used in the Prison Litigation Reform Act ("PLRA") does not include habeas proceedings. Section 1915 of the PLRA authorizes in forma pauperis status to prisoners who "seek [ ] to bring a civil action or appeal a judgment in a civil action." 28 U.S.C. § 1915(a)(2) (emphasis added). In rejecting an interpretation that "civil action" includes a habeas action, we stated:

32

The PLRA does not define "civil action," and does not explicitly include or exclude habeas litigants from its reach. Although a habeas proceeding is considered a civil action for some purposes, it is more accurately regarded as being sui generis.

33

111 F.3d at 1130 (internal quotation marks and citations omitted). Accordingly, we held that the in forma pauperis filing fee provisions of the PLRA that apply to civil actions do not apply to habeas actions. Id. at 1131.

34

In the same vein, the Supreme Court has repeatedly rejected the notion that simply because a habeas action is civil in nature, it must be treated as a civil action. Indeed, the Court has time and again highlighted the distinctions between the two types of actions.

35

Thus, in Harris v. Nelson, the Court held that the discovery rules in the Federal Rules of Civil Procedure, which are applicable in civil actions, did not apply to habeas proceedings. Focusing on Federal Rule of Civil Procedure 81(a)(2), which applies the civil rules to habeas proceedings to the extent that the practice in such proceedings "has heretofore conformed to the practice in civil actions," the Court concluded that habeas practice in federal courts "has conformed with civil practice only in a general sense" and that such conformity did not include discovery as provided in the civil discovery rules. 394 U.S. at 293-94, 89 S.Ct. 1082. Indeed, the Court was unwilling more generally to accept the characterization of habeas proceedings as civil. Id. Rather, it preferred to recognize them as "unique." Id. at 294, 89 S.Ct. 1082.

36

Similarly, in Browder v. Director, Illinois Department of Corrections, 434 U.S. 257, 269 n. 14, 98 S.Ct. 556, 54 L.Ed.2d 521 (1978), the Supreme Court noted that Federal Rule of Civil Procedure 12(b)(6), which is applicable in civil actions, did not apply to habeas corpus proceedings. Moreover, it observed that the civil action procedural sequencing — from a motion to dismiss, to an answer, to discovery, and ultimately to trial — was not applicable in habeas cases. Indeed, the Court had observed in a case decided shortly before Browder that such civil practice would defeat the "swift, flexible, and summary determination" around which the habeas process was designed. Preiser, 411 U.S. at 495, 93 S.Ct. 1827.

37

Finally, in O'Neal, 513 U.S. 432, 115 S.Ct. 992, 130 L.Ed.2d 947, the Court was faced with the question of whether the harmless error standard of review in civil cases should apply to federal habeas proceedings. Concluding that the substance of habeas involved more criminal issues than civil ones, the Court refused to apply the civil standard of review:

38

One problem with [the argument that the civil harmless error standard applies in the habeas context] lies in its failure to take into account the stakes involved in a habeas proceeding. Unlike the civil cases cited by the State, the errors being considered by a habeas court occurred in a criminal proceeding, and therefore, although habeas is a civil proceeding, someone's custody, rather than mere civil liability, is at stake.

39

Id. at 440, 115 S.Ct. 992.

40

Thus, even though a habeas action sometimes functions in a manner similar to a civil action, the circumstances where it does not so function are sufficiently numerous to preclude the conclusion that when a "civil action" is regulated, the regulation necessarily includes a habeas action. Thus, in enacting the EAJA and authorizing that an award of attorneys fees may be assessed against the United States in "civil actions," Congress did not expressly include habeas actions. More relevant to the analysis here, using the term "civil action" did not unequivocally or unambiguously include habeas actions, and perhaps for good reason. The EAJA's policy of leveling the playing field in civil litigation against the United States, particularly when the United States has taken a position that is not substantially justified, see, e.g., Roanoke River Basin Ass'n v. Hudson, 991 F.2d 132, 138 (4th Cir.1993), does not clearly apply to habeas litigation, which is pursued freely by petitioners without the need for the EAJA's incentives, see, e.g., Boudin, 732 F.2d 1112-15.

41

In holding that "civil action" as used in the EAJA does not unequivocally and unambiguously include a habeas proceeding, we join similar holdings made by two other courts of appeals. See Ewing v. Rodgers, 826 F.2d 967, 971 (10th Cir.1987); Boudin, 732 F.2d at 1112. But see In re Hill, 775 F.2d 1037, 1040-41 (9th Cir.1985) (concluding that a habeas proceeding involving asylum constituted a civil action for purposes of the EAJA).

42

O'Brien argues that the term "civil action" as used in the EAJA includes "proceedings for judicial review of agency action," and that his habeas action in this case was a proceeding to review agency action "regardless of the procedural vehicle used to present the claim." Stated otherwise, O'Brien suggests that regardless of the fact that his action was styled as a "Joint Petition for a Writ of Habeas Corpus," it was in fact directed at challenging an administrative policy. Accordingly, he argues, that it was a "civil action" for purposes of the EAJA.

43

This approach has been followed by some courts, but solely when the habeas corpus proceeding was filed in an immigration context. See, e.g., Sotelo-Aquije v. Slattery, 62 F.3d 54, 56, 59 (2d Cir.1995) (ordering that attorneys fees be awarded under the EAJA to a habeas corpus petitioner who challenged the decision to "deny him asylum" in the United States); In re Hill, 775 F.2d at 1040-41 (holding that a habeas corpus petition that challenged the regulatory policy of the INS was a "civil action" for purposes of the EAJA). These cases rely on a dichotomy between the role of habeas corpus as a vehicle to obtain admission to this country and the role of habeas corpus as a remedy for unlawful criminal custody. The Ninth Circuit, for example, stated that because the habeas corpus position in In re Hill was outside the "criminal context," there was no "custodial incentive" to challenge the governmental action in question. 775 F.2d at 1040-41. O'Brien's circumstances, however, are readily distinguishable from these immigration cases.

44

O'Brien's case is a classic habeas action by a person in custody attacking "the legality of that custody." Preiser, 411 U.S. at 484, 93 S.Ct. 1827. He contended that he would unlawfully be subjected to detention in a federal prison when the Bureau of Prisons proposed to transfer him from a halfway house to a federal prison camp, and based on his claim that such detention in a federal prison camp would be illegal, he obtained an injunction against his transfer.

45

Moreover, to the extent that Sotelo-Aquije and Hill stand in tension with the holdings in Ewing and Boudin, we find Ewing and Boudin to be more persuasive. See also 1 Mary F. Derfner & Arthur D. Wolf, Court Awarded Attorney Fees ¶ 7.04[4], at 7-74 & n.89 (2004) (citing the Hill court's inclusion of certain types of habeas corpus cases under the EAJA as an example of "spotty" adherence by the courts to the rule that waivers of sovereign immunity are to be strictly construed).

46

At bottom, one cannot reasonably conclude that the authorization for an award of attorneys fees in "civil actions," as provided by the EAJA, includes an unequivocal expression of congressional intent to authorize an award of attorneys fees to a prevailing party against the United States in a habeas proceeding. There are simply too many distinctions between habeas proceedings and civil proceedings to permit such a conclusion.

47

Because the EAJA's waiver of sovereign immunity to awards of attorneys fees does not extend to habeas corpus proceedings, the award in this case against the United States is barred. Accordingly, we reverse and vacate the district court's order making such an award.

48

REVERSED AND VACATED.