Robert Griffin v. James Gomez

OPINION

KLEINFELD, Senior Circuit Judge:

We address enforcement of an order regarding conditions of confinement.

FACTS

Robert Lee Griffin has been imprisoned since 1970. He was originally convicted of robbery and burglary. He committed additional violent crimes while in prison, including murder of another inmate, earning a life sentence. During his confinement, he became a leader in a national prison gang, the Aryan Brotherhood. Because of his gang activities, he has been confined for many years to a “security housing unit” (“SHU”), to protect other prisoners from him and his gang underlings. This appeal addresses the security housing unit aspect *12of his confinement, not the confinement itself.

California has a chronic problem with murderous prison gangs, typically organized by ethnicity. The gangs engage in extortion, drug trafficking, assault, and murder within the prisons. And, since many prisoners are eventually released, and many have family and friends outside the prisons, the gangs’ reach and ability to order assaults and murders extends outside the prisons.

According to the declaration in this case of the Special Agent in Charge of the California Office of Correctional' Safety, Griffin’s gang, the Aryan Brotherhood, or “AB,” originated in San Quentin prison in the 1960s, and has spread throughout the California state prison system and beyond, to other states’ prison systems and to the federal prison system. Once a member of the Aryan Brotherhood, a person is always a member, according to the Special Agent’s declaration:

The AB is a white supremacist group that operates under the principle of ‘blood in/blood out,’ meaning that in order to become an AB member, the individual must murder someone for the AB, and the only way to get out of the AB is by dying naturally or being killed. Thus membership is for life, as is typical with virtually all prison gangs.

California created the “Office of Correctional Safety” within its Department of Corrections and Rehabilitation to address its prison gang problem. Officers within this unit “validate” an inmate’s gang membership by accumulating evidence, and by giving the inmate notice and an opportunity to be heard on whether he is indeed a gang member. The Office considers gang members to be “a severe threat to the safety of others and to the security of the institution,” so once “validated,” an inmate is placed in a SHU indefinitely.

A classification committee reviews a gang member’s SHU status every six months to consider whether or not to release him into the general population. Inmates can also volunteer for “debriefing” to establish that they are “dropouts” from their gangs and obtain release into the general prison population. When an inmate wants to debrief, prison officials interview him, and then house him with other inmates who are debriefing and observe him for a period of time to determine whether he has really left his gang. Debriefing does not require an inmate to disclose crimes he has committed. But he must name other gang members and discuss past activities of his gang. Over a thousand inmates have been debriefed and released from SHUs in recent decades. As an alternative to debriefing, the prison officials also run an “inactive review” process, where they review the files of inmates who have had no documented gang activity for at least six years, and consider whether or not to release them from the SHU. Over five hundred inmates have been declared inactive and released from the SHU via this process.

Griffin has not been among those gang members released into the general prison population. He was validated as an Aryan Brotherhood member in 1979, and put into the SHU at the California Correctional Institution at Tehachapi in 1987. He was transferred to the SHU at Pelican Bay State Prison in 1989, and remained there until 2002.1 Prison officials reconfirmed his Aryan Brotherhood membership in *131995 and 1996. In 1999 and 2000, prison officials received several confidential mem-oranda suggesting that Griffin was still authorizing assaults on behalf of the Aryan Brotherhood. In 2000, they intercepted a “kite” — a letter smuggled past prison officials to another prisoner2 — that said that Griffin had authorized an assault on another prisoner on behalf of the Aryan Brotherhood.

The notion of “authorizing” an assault relates to the somewhat bureaucratic organization of the Aryan Brotherhood. The California faction of the Aryan Brotherhood is led by a Commission, which orders murders and assaults to keep subordinate Aryan Brotherhood members under control and advance the gang’s drug smuggling and other interests. Griffin was a founding member of the Commission. Various intercepted documents suggested to prison officials that Griffin was still a member of the Commission and was still giving instructions in 1999, but was nevertheless “keeping a low profile because of his pending [habeas] case.”

Griffin seeks release from the SHU in which he is currently confined. He claims that he is no longer active in the Aryan Brotherhood, but prison officials have not released him through the inactive review process, and he has refused to “debrief.” He has argued that debriefing would put him and his family at risk of retaliation for revealing gang secrets. He says that, having ceased all gang activity, he should not have to take that risk in order to be released from the SHU. The prison authorities do not believe that he is inactive or, as they put it, has “retired” from the Aryan Brotherhood. They claim that “retirement” would be inconsistent with the Aryan Brotherhood’s “blood in/blood out” requirement. In addition to their doubt that the Aryan Brotherhood allows retirement, prison authorities have received numerous tips from other prisoners that Griffin remains an active leader of the gang.

All this is background. Griffin’s arguments in this case are legal, not factual, based on a complex tangle of past litigation. We now summarize the history of this litigation.

In 1992, while incarcerated at the Pelican Bay SHU, Griffin petitioned for a writ of habeas corpus. He sought release from the SHU into the general prison population, not release from prison, so it was not clear that habeas corpus was the appropriate means of seeking relief. The district court denied the petition. On appeal, we held that Griffin could indeed use the ha-beas process rather than § 1983, even though he was addressing conditions of confinement rather than the legitimacy or duration of his confinement.3 One of Griffin’s arguments was that holding him in the SITU unless he debriefed was cruel and unusual punishment violative of the Eighth Amendment. We did not decide whether this was so, but instead remanded for further consideration in light of Madrid v. Gomez,4 a district court decision in a class action challenge of which Griffin was a part.

Madrid addressed, among other issues, Eighth Amendment claims by prisoners in the Pelican Bay SITU. The court emphasized that the Pelican Bay SHU was unique, “a place which, by design, imposes conditions far harsher than those any*14where else in the California prison system.” 5 It had unique architecture imposing extreme isolation, in which the “worst of the worst” prisoners were confined.6 The prisoners spent 22Jé hours per day in windowless cells, and their social interaction was sharply limited to their cellmate (if they had one), to hearing but not seeing inmates in adjoining cells, and to closely supervised library, shower, and visitor interactions.7 When they were allowed outdoors, they were confined in small caged exercise pens surrounded by high walls from which they could not see other prisoners.8

Despite these extreme conditions, the district court in Madrid, was “not persuaded that the [Pelican Bay] SITU, as currently operated, violates Eighth Amendment standards” except for mentally ill inmates and inmates at a “particularly high risk for suffering very serious or severe injury to their mental health” on account of the social isolation in the Pelican Bay SITU.9 Griffin has never claimed to be in this category of inmates with mental health deficits.

On remand in 2006, the district court addressed Griffin’s habeas petition in light of the Madrid class action judgment.10 The district court held that for Griffin, in his particular circumstances, confinement in the Pelican Bay SITU violated the Eighth Amendment. Debriefing, the court held, would create a risk to Griffin’s personal safety. And because California did not present any evidence that Griffin was active in the Aryan Brotherhood, nor any evidence as to why it would not release him from the SHU via the inactive review process, the court concluded that inactive review was “at least for [Griffin], an illusory alternative to debriefing.” The court determined that the combination of the harsh conditions at Pelican Bay, and prison officials’ apparent refusal to allow Griffin an inactive review, meant that Griffin had remained in the SITU for twenty years because of his refusal to debrief and “snitch out” Aryan Brotherhood members. It found that the “sheer duration of [Griffin’s] submission to the harsh conditions of the Pelican Bay SITU crosses the line to become an unconstitutional threat to his safety” and that “the duration of his confinement vitiates ‘active’ gang participation, which was the sole justification for his segregation.” In a 2006 order, the court granted Griffin’s habeas petition and commanded prison officials to “release Petitioner from the SITU immediately,” evidently referring to the Pelican Bay SITU, the only one discussed in the order, the one addressed in the Madrid class action, and the one in which it thought Griffin was being held. The court gave prison officials a week to confirm that Griffin had been released.

But when the district court ordered the prison system to let Griffin out of the SITU, he was not in it. The State of California advised the court, in response to the 2006 order, that Griffin had been released from the Pelican Bay SITU 3 years earlier, and was currently housed in a federal prison, not in Pelican Bay. The State did not move the court to vacate the order, or appeal it, likely because its command had already been carried out, albeit long before the order rather than in re*15sponse to it. It was physically impossible for California to violate the court’s order when it was issued, because California did not have physical custody of Griffin at that time.

The reason for Griffin’s release into federal confinement was that he was a defendant in a massive federal RICO case. The RICO indictment accused him of Aryan Brotherhood activities during the period when he claimed to have become inactive in the Aryan Brotherhood. Griffin went to trial, and the jury convicted him on January 9, 2007, of conspiring to engage in multiple murders on behalf of the Aryan Brotherhood. According to the indictment, Griffin was on the Aryan Brotherhood’s twelve-member California Council and on its California Commission, the three-member body with authority over the Council and over all California Aryan Brotherhood activities.11 The indictment details numerous murders and attempted murders that Griffin authorized as a member of the Commission. He had a prisoner’s father shot and killed outside prison, because the prisoner testified against the Aryan Brotherhood. He had another prisoner choked to death for failure to carry out an order to commit murder. He ordered that a third prisoner be stabbed to death because he had disrespected high-ranking Aryan Brotherhood members. He ordered that a fourth prisoner be murdered for giving information to law enforcement, and that a fifth be murdered for reasons unknown. He also ordered two unsuccessful hits.

The indictment also accused Griffin of being active in an Aryan Brotherhood conspiracy. Griffin’s defense to this charge focused on his claim to have withdrawn from active Aryan Brotherhood membership. He has made this claim since at least 1991, when he published a public notice in a California newspaper saying, “I, Robert Lee Griffin, declare to all parties: I am not a member of a prison gang nor am I involved in criminal activity. I have no desire to be associated with either and denounce both.” The jury in his RICO case did not believe him. In its “Special Verdict on Withdrawal,” the jury answered “No” to the question “Did defendant ROBERT LEE GRIFFIN withdraw from the conspiracy charged in Count One [for conducting the affairs of the Aryan Brotherhood prison gang] before August 28, 1997?”

The case before us now grows out of the 2006 order. In 2007, after spending about five years in federal prison and after being given a life sentence on his RICO conviction, Griffin was sent back to the California prison system. Prison officials put him in the “Administrative Segregation Unit” (“ASU”), not the SHU, at Pelican Bay pending an investigation of his gang status. As they explained to the district court, any newly-arrived prisoner suspected of being a gang affiliate would be temporarily housed in the ASU while his status was investigated. In 2008, prison officials reviewed Griffin’s gang activity within the' six years prior to his review, relying on confidential informants, and on the reports of inmates who were debriefing. They concluded that Griffin was still an active Aryan Brotherhood member.

In 2008, before prison officials had concluded their investigation into his gang status, Griffin filed a motion to “enforce” the 2006 order that he be released from the Pelican Bay SHU.12 He was not then in *16the SHU. In response to Griffin’s motion, the district court directed a magistrate judge to investigate whether or not Griffin’s confinement in the Pelican Bay ASU was a violation of the court’s 2006 order that Griffin be released from the Pelican Bay SHU. The magistrate judge conducted an evidentiary hearing at Pelican Bay, and despite Griffin’s “five-year break” from the Pelican Bay SHU and his different housing on return to Pelican Bay, concluded that the prison system was violating the 2006 order, because the ASU was similar to and in some ways more restrictive than the SHU. The magistrate judge found that Griffin “was never released from state custody” because during the five years that he was not in fact in state custody, he was nevertheless classified as being on “out-to-court status.” The magistrate judge did not mention the federal trial and conviction. He stated that Griffin’s 2008 revali-dation was “perfunctory” and did not “relieve [prison officials] of their failure to comply with the court’s [2006] order.”

In July 2009, the district court adopted the magistrate judge’s report and ordered the prison to “immediately transfer Petitioner to the general population or to housing that is less restrictive than the SHU or the ASU.” The district court held that prison officials’ “technical compliance” with its 2006 order was “improper” because its “restrictive reading of the [2006]13 Order undermine[d] the clear spirit of that Order, which was designed to place Petitioner in housing that was less restrictive than the SHU.” This 2009 order is one of two that are the objects of this appeal.

In 2009, before the district court ordered Griffin released from the Pelican Bay ASU, prison officials transferred Griffin to a different prison, California State Prison, Corcoran, where they housed him in the Corcoran SHU. Griffin claimed that this move was in violation of the 2006 and 2009 orders.

In March 2010, California filed a Rule 60(b) motion, seeking relief from the 2006 and 2009 orders, based on newly discovered evidence that Griffin remained active in the Aryan Brotherhood. Prison officials filed declarations supporting their view that Griffin ought to be returned to the Pelican Bay SHU, not released into the general population or even retained in the less restrictive Corcoran SHU, because of the danger he posed to other inmates. They based these opinions on new information obtained since his return from federal custody, including an informant who said that Griffin had issued a kill order while in federal custody, and another that called him “the number one man” in the Aryan Brotherhood at Corcoran. They believed that the isolation in the Pelican Bay SHU — the walled exercise yards and limited communication — that concerned the district court were precisely what was necessary to protect other prisoners and hamper Griffin’s communication with his gang. The Corcoran SHU is not as isolated. Inmates can talk to each other through chain link fences separating their exercise yards, and can communicate with other inmates more freely as they go to the shower and to medical and administrative appointments. Prison officials feared that if Griffin remained at Corcoran, or was released into the general population, he would continue ordering murders of other inmates and their family members.

*17The district court denied the Rule 60(b) motion as “premature” because of the pending appeal from its 2009 order, without addressing the prison officials’ reasons or the significance of the new information. When California moved for leave to file a motion for reconsideration, the court denied it on the ground that the “premature” motion was also too late, because it was filed more than four years after the 2006 order, and the 2009 order “merely enforced” the 2006 order. The district court held that the motion could not be considered as moving to modify a continuing injunction, because the 2006 order commanded release from the Pelican Bay SHU “immediately” and did not order continuing relief. The district court has not made any findings of fact as to whether Griffin has, subsequent to the 2006 order, ordered the murder of other inmates or continued his other Aryan Brotherhood activities. Nor has the district court ever addressed the reasons why prison authorities think the risk of inmate murders is too great if they keep Griffin at Corcoran or release him into the general prisoner population.

In 2011, the district court issued a third order. Again, it first asked a magistrate judge to inquire into Griffin’s housing situation at Corcoran. The magistrate judge reported that although the Corcoran SHU was “less restrictive” than the Pelican Bay SHU, it was still “impermissibly” restrictive because the conditions “fall short of those envisioned by Judge Ware in his July 10, 2009 order.” Again the magistrate judge did not mention the federal jury verdict in the RICO trial subsequent to the 2006 order.

The district court held that even though the magistrate judge had not mentioned the federal RICO verdict or Griffin’s 2008 validation as a gang member, he must have been aware of them because the prison authorities had discussed these events in their papers. The district court summarily overruled the prison authorities’ objections to the magistrate judge’s report and ordered them to “immediately transfer Petitioner to the general population or to housing that is less restrictive than the SHU or the ASU.” We stayed this 2011 order pending the resolution of this appeal.

ANALYSIS

Procedurally, this case is a mess. The orders on appeal are the ones issued in 2009 and 2011. But both say that they are based on the 2006 order. The 2006 order does not state that it is a continuing injunction and the district court subsequently ruled that it was not. The 2006 order only orders Griffin’s immediate release from the Pelican Bay SHU. We need not decide whether this order was moot when issued. It is a grant of a petition for a writ of habeas corpus, but it does not require that Griffin be released, just that his conditions of confinement be changed. Though we had held that such an order could issue on a habeas petition,14 the Supreme Court has since held otherwise.15 *18Nevertheless, the 2006 order was not appealed, so we treat it as valid for purposes of this litigation.16

The state raises various challenges to the 2006 order, but we need not address them, because even assuming that the 2006 order was valid when issued, and that ha-beas corpus rather than § 1983 was the proper avenue for relief, the orders currently on appeal cannot stand and must be vacated. The district court appears to have had jurisdiction to issue its 2009 and 2011 orders. They were orders purportedly issued pursuant to the court’s inherent authority to enforce its own unappealed habeas grant.17 We review such orders for abuse of discretion,18 keeping in mind that courts should exercise their inherent authority with restraint.19

1. Prison officials did not violate the 2006 order

In its 2006 order, the district court found that even though the Pelican Bay SITU was not cruel and unusual for prisoners who were not mentally ill or vulnerable, and even though the debriefing requirement to get out was not cruel and unusual, the combination of the two was cruel and unusual for Griffin. In reaching this result, it disregarded the possibility of release from the SITU through the inactive review process, noting that Griffin’s review had been pending for five years. The district court assumed, because California then presented it with no evidence of Griffin’s continued gang activity, that the duration of Griffin’s confinement in the SITU “vitiates ‘active’ gang participation.”

However, much had changed by the time the court issued its 2009 order. When he returned to state custody in 2007, Griffin was placed in the ASU pending reevaluation of his gang status. This reevaluation concluded based on particularized evidence that he had been active in the Aryan Brotherhood within the past six years. Griffin’s 2007 RICO conviction further undermined the district court’s prior assumption. Griffin was found by the conviction, and by the subsequent reevaluation, to be active in the Aryan Brotherhood while confined in the SHU. The dissent argues that Griffin’s RICO conviction could not be used to support his 2008 gang validation because the last overt act supporting the conviction occurred before the six year lookback period for gang validation under the California prison regulations.20 That is beside the point. Griffin’s conviction proves beyond a reasonable doubt that he was involved in gang activities while in the Pelican Bay SHU. The conviction undermines the 2006 order’s rationale for finding an Eighth Amendment violation, that Griffin must have ended his Aryan Brotherhood activities long before, because “the duration of his confinement vitiates ‘active’ gang participation” and the state had not provided evidence otherwise. His Aryan Brotherhood activities were proved beyond a reasonable doubt through 1997 in his federal RICO trial, and the state provided *19evidence of subsequent Aryan Brotherhood management activities in this case.

Griffin argues that changed circumstances such as his 2007 RICO conviction and 2008 gang validation can only be addressed by a Rule 60(b) motion. However, the state does not point to these circumstances solely in an effort to seek relief from the 2006 order, which we presume to be valid. It also contends that, in light of these developments, the district court abused its discretion in ordering Griffin’s release from the ABU and SHU in 2009 and 2011. Both the RICO conviction and the 2008 validation were repeatedly raised below, and they are properly before this court, notwithstanding the state’s failure to appeal the adverse decision on its Rule 60(b) motion.

The 2006 order was limited to the circumstances of Griffin’s confinement in the Pelican Bay SHU. The district court itself interpreted it as not amounting to a continuing injunction. It noted when denying California’s request for reconsideration of its Rule 60(b) motion that the 2006 order “does not grant injunctive relief or require supervision of changing conduct — it simply orders Respondent to move [Griffin] out of the SHU ‘immediately.’ ” Nor could the 2006 order reasonably be read to have implied that Griffin could never be returned to the Pelican Bay SHU. Such a reading would mean that Griffin could announce that he was again leading the Aryan Brotherhood, publicly order more murders which were carried out, yet still claim an entitlement to free circulation and communication in the general prison population. He is already confined for life terms on federal and state convictions, so he could run his gang and order hits on prisoners and on their relatives outside the prisons with impunity. If the law required that result (which it does not), the law would indeed be “a ass — a idiot.”21

In addition to the lack of evidence of Griffin’s continued participation in the Aryan Brotherhood, the 2006 order noted the particularly harsh conditions of the Pelican Bay SHU and the extended duration of Griffin’s confinement there as relevant factors. However, Griffin had already been released from the Pelican Bay SHU when that order was issued. Possibly the case should then have been dismissed as moot and the order vacated for that reason, but the respondents did not seek that relief.22 Moreover, when Griffin returned to Pelican Bay in 2007, after spending five years in federal custody, prison officials placed him in the ASU, not the SHU. After concluding that Griffin was still active in the Aryan Brotherhood, they moved him to the SHU at California State Prison, Cor-coran. The magistrate judge’s report that the district court adopted says that the Corcoran SHU is less restrictive than the Pelican Bay SHU. And the district court’s 2006 order did not address the Corcoran SHU, just the Pelican Bay SHU that the Madrid court had found to be unique, and an Eighth Amendment violation only for prisoners with mental health risks.23

In short, in 2009 and 2011, the district court faced circumstances very different from those that existed when it issued its original order. Griffin had spent *20five years in federal custody in connection with RICO charges on which he was ultimately convicted so the “duration of his confinement” in the Pelican Bay SHU, central to the district court’s 2006 order, no longer existed. Upon returning to Pelican Bay, Griffin, like any other incoming prisoner suspected of gang activity, was placed in the ASU pending evaluation of his gang status. Ultimately, he was “validated” as an active gang member and placed in the Corcoran SHU. The district court, as well as the magistrate judge, overlooked these developments, instead focusing primarily on the conditions of confinement at the ASU and Corcoran SHU relative to the Pelican Bay SHU. However, the rationale of the 2006 order was not so limited. Accordingly, in the circumstances of this case, the district court abused its discretion by finding violations of its 2006 order in 2009 and 2011.

We assume for purposes of discussion the validity of the 2006 order. But its validity does not matter to this appeal. It ordered the state to do something already done, get Griffin out of the Pelican Bay SHU. The district court itself construed it as not a continuing order. It did not say that Griffin could never be put in the SHU at another prison, or that he could never be put in the Pelican Bay SHU again no matter what. His subsequent RICO conviction established that he had been lying about his “retirement” from gang activities, and the evidence developed after his return to the California penal system established that he still was active in the Aryan Brotherhood. His lengthy federal confinement had interrupted the long duration of his Pelican Bay SHU confinement. The uninterrupted duration was the basis for the district court’s view that Griffin must have ceased his Aryan Brotherhood activities. Whatever the “spirit” of the 2006 order, it did not say that Griffin could not subsequently earn his way back to the Pelican Bay SHU.

2. The 2009 and 2011 orders improperly impede state prison management

The 2009 and 2011 orders must be vacated as an abuse of discretion for an independent and alternative reason, beyond those mentioned above. In issuing those orders the district court failed to take proper account of the line of Supreme Court authority limiting federal district court management of state prisons. Prison administrators are entitled to “wide-ranging deference in the adoption and execution of policies and practices that in their judgment are needed to preserve internal order and discipline and to maintain institutional security.”24 ‘We must accord substantial deference to the professional judgment of prison administrators, who bear a significant responsibility for defining the legitimate goals of a correctional system and for determining the most appropriate means to accomplish them.”25 Similarly, we have recognized that “deference requires ‘that neither judge nor jury freely substitute their judgment for that of officials who have made a considered choice.’ ”26

Prison management is complex and requires “expertise, planning, and the commitment of resources.”27 Therefore, “[rjunning a prison is ... peculiarly within *21the province of the legislative and executive branches of government,” and “courts are ill equipped to deal with the increasingly urgent problems of prison administration and reform.”28 In particular, federal courts should exercise restraint when reviewing management decisions taken by prison administrators to secure the safety of prisoners and state prison personnel. Courts are “ ‘particularly deferential’ to prison administrators’ regulatory judgments,” if “[accommodating [a prisoner’s] demands would ... impair the ability of corrections officers to protect all who are inside a prison’s walls.”29 Also, “[p]rison officials must be free to take appropriate action to ensure the safety of inmates and corrections personnel and to prevent escape or unauthorized entry.”30 “[I]nternal security is peculiarly a matter normally left to the discretion of prison administrators.” 31 The district court orders are inconsistent with these principles.

Of course, if the California prison system were imposing cruel and unusual punishment on Griffin, the district court could and must command it to stop. And if California were merely trying to evade the court’s 2006 order by putting Griffin in less restrictive housing for a day and then returning him to the SHU, the district court would likewise have authority to command it to stop. But here, California had no control over Griffin’s housing for five years, and did not merely put him back into the Pelican Bay SHU or even the Corcoran SHU when he returned. They held him in the Pelican Bay ASU, and conducted an investigation into his recent gang activity — a wise move when presented with a prisoner who had been active in the Aryan Brotherhood even while confined in the Pelican Bay SHU. Neither the ASU housing nor the investigation violated the district court’s 2006 order.

California’s prison officials have a duty to Griffin to imprison him in a manner that does not violate the Eighth Amendment. But he is not California’s only prisoner. California has an Eighth Amendment duty to its other prisoners as well. Throughout this litigation, prison officials explained their exercise of discretion as necessary for the safety of other prisoners, because Griffin’s federal conviction established that their concern is well founded. They fear that if he is placed in less restrictive housing, he will have more opportunity to order beatings and murders on behalf of the Aryan Brotherhood. California’s other prisoners may be murderers, rapists, drug dealers, and child molesters, but California is responsible for protecting even those sorts of people from murder by other prisoners. Indeed, the Eighth Amendment requires that prison officials “must take reasonable measures to guarantee the safety of the inmates.”32

Having incarcerated persons [with] demonstrated proclivit[ies] for antisocial criminal, and often violent, conduct, having stripped them of virtually every means of self-protection and foreclosed their access to outside aid, the government and its officials are not free to let the state of nature take its course.... Being violently assaulted in prison is simply not part of the penalty that crim*22inal offenders pay for their offenses against society.33

And California’s prison officials owe it to people outside the prison, like the prisoner’s father whom Griffin had killed, to try to protect them from murderous conspiracies by those in its charge. “[The State]’s first obligation must be to ensure the safety of guards and prison personnel, the public, and the prisoners themselves.”34

In assuring that the punishment imposed is appropriate, the prison authorities must perform a delicate balancing of concerns, generally quite beyond the competence of a district judge. On the one hand, they must stay within the Eighth Amendment boundary for a dangerous criminal like Griffin and the many other dangerous criminals they house. On the other hand, they must, to comply with the Eighth Amendment, protect those very same criminals from each other, which may entail very severe restraints. In this case, prison officials sought to perform this difficult balancing act by confining Griffin as closely as possible, while complying with the district court’s orders in a manner that would least endanger others. Their reason for their exercise of discretion was that Griffin’s continuing leadership in the Aryan Brotherhood created too much danger to other inmates if he were less closely confined.

CONCLUSION

The district court said that its 2009 order was intended to effectuate the “spirit” of its 2006 order. Its 2011 order was intended to effectuate its 2009 order. Both orders evidently invoke the court’s inherent authority to effectuate its 2006 order. But “[a] court must exercise its inherent powers with restraint and discretion in light of their potency.”35 The district court exceeded the boundaries of its authority and ignored the developments subsequent to its 2006 order. We conclude that the district court’s 2009 and 2011 orders were an abuse of discretion.

We vacate the 2009 and 2011 orders. We remand with directions to dismiss. Griffin of course may file such suits as may be appropriate from time to time as future developments may warrant.

VACATED, REVERSED, AND REMANDED.

. Griffin has apparently been housed intermittently in other prisons. The Special Agent's declaration states that he was housed in the West Valley Detention Center in 1998 and in the California Institution for Men in 1999. Prison officials believe that he was involved in directing Aryan Brotherhood activities while at both of these prisons.

. See United States v. Keys, 67 F.3d 801, 805 (9th Cir.1995).

. Griffin v. Gomez, No. 95-16684, 1998 WL 81336, at *1 (9th Cir. Feb. 24, 1998); Cf. Skinner v. Switzer, - U.S. -, 131 S.Ct. 1289, 1299 n. 13, 179 L.Ed.2d 233 (2011); Wilkinson v. Dotson, 544 U.S. 74, 82, 125 S.Ct. 1242, 161 L.Ed.2d 253 (2005).

.Madrid v. Gomez, 889 F.Supp. 1146 (N.D.Cal.1995).

. Id., at 1155.

. Id.

. Id. at 1155, 1228-29.

. Id.

. Id. at 1261, 1265.

. The district judge who sat in Griffin’s ha-beas case was not the district judge who sat in the Madrid class action case.

. According to the indictment, Griffin and other members of the California Commission disbanded the Council in 1989, and increased the Commission from three members to four. In 1994, they increased the number of Commission members to six.

. Griffin has been very ably represented by his attorney, counsel Pamela J. Griffin, *16throughout these proceedings.

. The. district court refers to the “June 6 Order” and the "July 6 Order” interchangeably. But there was no June 6 order, nor was there a July 6 order. Evidently the court meant the June 2006 order, which is what it and the magistrate judge appeared to be discussing and applying.

. See Griffin v. Gomez, No. 95-16684, 1998 WL 81336, at *1 (9th Cir. Feb. 24, 1998) ("[H]abeas corpus jurisdiction is also available for a prisoner’s claims that he has been subjected to greater restrictions of his liberty, such as disciplinary segregation, without due process of law.”) (quoting Bostic v. Carlson, 884 F.2d 1267, 1269 (9th Cir.1989)).

. See Skinner v. Switzer, - U.S. -, 131 S.Ct. 1289, 1299 n. 13, 179 L.Ed.2d 233 (2011) ("[Wjhen a prisoner's claim would not 'necessarily spell speedier release,’ that claim does not lie at the 'core of habeas corpus’ and may be brought, if at all, under § 1983.”) (quoting Wilkinson v. Dotson, 544 U.S. 74, 82, 125 S.Ct. 1242, 161 L.Ed.2d 253 (2005)); see also Blair v. Martel, 645 F.3d 1151, 1157 (9th Cir.2011); Ramirez v. Galaza, 334 F.3d 850, 859 (9th Cir.2003) ("[H]abeas jurisdiction is absent, and a § 1983 action proper, where a successful challenge to a prison condition will *18not necessarily shorten the prisoner's sentence.").

. See Clifton v. California, 997 F.2d 660, 663 (9th Cir.1993).

. See Kokkonen v. Guardian Life Ins. Co. of Am., 511 U.S. 375, 379-80, 114 S.Ct. 1673, 128 L.Ed.2d 391 (1994); Hook v. State of Ariz., Dep’t of Corrs., 972 F.2d 1012, 1014 (9th Cir.1992).

. See United States v. United States Dist. Court for N. Mariana Islands, 694 F.3d 1051, 1059 (9th Cir.2012).

. In re Levander, 180 F.3d 1114, 1119 (9th Cir.1999).

. See Cal.Code Regs. tit. 15 §§ 3341.5(c)(5), 3378(e).

. Charles Dickens, Oliver Twist 451 (Tom Doherty Associates 1998).

. See Munoz v. Rowland, 104 F.3d 1096, 1097-98 (9th Cir.1997) (“Because [the petitioner] has been released from the SHU, we can no longer provide him the primary relief sought in his habeas corpus petition. [Peti-tionerj’s Fifth and Eighth Amendment. challenges to the 'debriefing’ process and the conditions of confinement in the SHU are therefore moot, and must be dismissed.”).

.See Madrid, 889 F.Supp. at 1228-30.

. Bell v. Wolfish, 441 U.S. 520, 547, 99 S.Ct. 1861, 60 L.Ed.2d 447 (1979).

. Overton v. Bazzetta, 539 U.S. 126, 132, 123 S.Ct. 2162, 156 L.Ed.2d 162 (2003).

. Norwood v. Vance, 591 F.3d 1062, 1066-67 (9th Cir.2009) (quoting Whitley v. Albers, 475 U.S. 312, 322, 106 S.Ct. 1078, 89 L.Ed.2d 251 (1986)).

. Turner v. Safley, 482 U.S. 78, 85, 107 S.Ct. 2254, 96 L.Ed.2d 64 (1987).

. Id. at 84-85, 107 S.Ct. 2254.

. Overton, 539 U.S. at 136, 123 S.Ct. 2162 (citing Turner, 482 U.S. at 90, 107 S.Ct. 2254).

. Bell, 441 U.S. at 547, 99 S.Ct. 1861.

. Rhodes v. Chapman, 452 U.S. 337, 349 n. 14, 101 S.Ct. 2392, 69 L.Ed.2d 59 (1981).

. Farmer v. Brennan, 511 U.S. 825, 832, 114 S.Ct 1970, 128 L.Ed.2d 811 (1994) (internal quotation marks omitted).

. Id. at 833-34, 114 S.Ct. 1970 (quotation marks and internal citations omitted).

. Wilkinson v. Austin, 545 U.S. 209, 227, 125 S.Ct. 2384, 162 L.Ed.2d 174 (2005).

.In re Levander, 180 F.3d 1114, 1119 (9th Cir.1999).