Appellant, an inmate of the District of Columbia Jail, filed in the District Court a “petition for writ of declaratory judgment,” naming as defendants Kenneth L. Hardy, Director of the Department of Corrections; Charles M. Rodgers, Acting Superintendent of the District of Columbia Jail; and two Corrections Officers at the jail. In this complaint, appellant alleged that certain “unjust and cruel” disciplinary action, i. e., placemеnt in a “control cell,” was taken against him, for which no “probable cause can be given.” He alleged further that the officers, in transferring him to the control cell, used “abusive language” and threatened him, putting him “in fear of suffering severe bodily harm or being killed.” He sought an order that he be released from the control cell and “given the privileges of all other inmate [sic] thus the right to attend religious service [sic] without discrimination or criminal negligence of the defendants,” or his release from *1093 custody “for such reasons as cruel and inhuman punishments inflicted because of prejudice.”
Appellant wаs granted leave to file his complaint without prepayment of fees and costs, but the District Court, on January 24, 1967, denied his motion for appointment of counsel. On February 1, 1967, appellees filed a “motion to dismiss the complaint or, in the alternative, for summary judgment,” asserting 1) that no claim is stated, since the allegations relate to the “internal management of prisons,” and 2) that the “affidavit of Charles M. Rodgers attached to the instant motion * * * indicates that the prison authorities had substantial grounds upon which to base their disciplinary action against plaintiff and that they have not abused their discretion in this rеgard.” The affidavit of appellee Rodgers stated:
That on the 14 November, 1966, Hudson was cited in two (2) Disciplinary Reports for Violations of Regulations No. 6 & 7, Profanity and Threats of Bodily Harm and Rule #7, Refusing to Cоoperate, and that on 14 November, 1966, he was placed in the Control Cell Area to await action of the Disciplinary Board. That on 30 November, 1966, Plaintiff was released from the Control Cell Areа and transferred to Cell Block Two, Special Treatment Unit.
On March 1, 1967, the District Court ordered “That the motion of defendants to dismiss or, in the alternative, for summary judgment be, and the same is, hereby granted.” 1 Leave to appeal in forma pauperis was grantеd by the District Court on March 15, 1967, and on October 6, in response to an inquiry from the Clerk of this court, appellant moved for appointment of counsel on appeal. Because of errors аppearing on the face of the record, we vacate the judgment appealed from and remand for further proceedings, without reaching the question of appointment of counsel in this court.
I.
It is well settled that a complaint may not be dismissed for failure to state a claim upon which relief can be granted “unless it appears beyond doubt that the plaintiff can prove no set of facts in support of his claim which would entitle him to relief.” 2 While it is true that jail officials have wide discretion in matters of discipline and security, 3 that discretion is not limitless, and allegations of cruel оr unreasonable punishment are clearly matters for judicial inquiry 4 — especially where it is alleged that such punishment reflects discriminatory treatment of a racial or religious minority. 5 Here, appellant alleged that he was threatened and subjected to “torture” and “cruel and inhuman punishments,” without “probable cause.” In addition, he alleged that he was punished “because of prejudicе,” and sought the right to attend religious services *1094 “without discrimination.” Despite their vagueness, 6 these allegations were sufficient to state a claim upon which relief could be granted. 7
II.
Summary judgment may be entered if “the pleadings, depositions, answers to interrogatories, and admissions on file, together with the affidavits, if any, show that there is no genuine issue as to any material fact and that the moving party is entitled to judgment as a matter of law.” Fed.R.Civ.P. 56(c). In resisting а motion for summary judgment which is supported by affidavits or other documentary evidence, a party “may not rest upon the mere allegations or denials of his pleading, but his response, by affidavits or as otherwise provided in this rule, must set forth specific facts showing that there is a genuine issue for trial. If he does not so respond, summary judgment, if appropriate, shall be entered against him.” Fed.R.Civ.P. 56(e). In this case, аppellant’s general allegations of discrimination and cruel and unreasonable punishment were met by the affidavit of appellee Rodgers that certain punishment had been inflicted for sрecific infractions of jail rules and regulations. In the ordinary civil case, appellant’s failure to respond by affidavit might have warranted the entry of summary judgment against him. 8
We have recognized, however, that the requirements of the summary judgment rule may not fairly be applied “with strict literalness” to a prisoner unrepresented by counsel and subject to the “handicaps * * * detention necessarily imposes upon a litigant.” Phillips v. United States Board of Parole,
Merely providing notice of the technical requirements of the summary judgment rule, of course, cannot be expected in every case fully to compensate *1095 for thе handicaps resulting from detention and indigency. It may be that, even if apprised of the need for a factual response to appellees’ summary judgment motion, appellant would have lacked sufficient access to sources of proof, understanding of the legal issues involved, or ability to express himself, to demonstrate the existence of a question of material fact. In a рroceeding of this kind, the District Court has discretion with respect to appointment of counsel, 9 and we do not suggest that the initial denial of appellant’s motion for counsel constituted an abusе of that discretion. 10 An indigent prisoner, however, may be more greatly disadvantaged by the absence of legal assistance when he is called upon to resist a motion for summary judgment than might otherwise hаve been the case. When necessary to insure that an indigent prisoner’s allegations receive fair consideration, the court’s plain duty is to appoint counsel to assist him in defending the motiоn for summary judgment. 11
We conclude by noting that considerable flexibility and a wide range of alternatives are available to the District Court in dealing with the problem presented by this case. One possibility, of сourse, would be simply to deny summary judgment and hold an evidentiary hearing.
12
Permitting the prisoner to appear in person and testify in his own behalf may, at least in some cases, be both a fairer and a more economical “means of discovering the bases of his complaints and assaying the credibility of his representations.” Phillips v. United States Board of Parole,
supra,
So ordered.
Notes
. We note at the outset thаt the District Court’s failure to specify which disposition it intended substantially complicates the task of reviewing its ruling.
. Conley v. Gibson,
. Cannon v. Willingham,
. Talley v. Stephens,
. Sewell v. Pegelow,
. Appellees did not move to dismiss the complaint on the ground that the allegations were insufficiеntly factual. See Conley v. Gibson,
supra,
note 2,
. We do not decide whether dismissal pursuant to 28 U.S.C. § 1915(d) would have been proper, since appellees did not assert, and the District Court did not find, that the action was “frivolous оr malicious.” See Sanders v. Beach,
. We note, however, that in addition to the claim of discrimination, appellant also alleged, in effect, that the punishment he received was so unreasonable as to constitute cruel and unusual punishment. See note 4, supra, and accompanying text. The Rodgers affidavit contained virtually no information on the nature either of the punishment or the conduct for which it was imposed. Appellees, of course, had the burden of demonstrating that no genuine issue of material fact existed. 6 Moore, Federal Practice § 56.15 [3] (2d ed. 1966).
.
Cf.
Dirring v. United States,
. See Fleming v. United States,
.
Cf.
Hampton v. State of Oklahoma,
. The District Court, of course, has discretion to deny summary judgment where the interests of justice so dictate. 6 Moore, Federal Practice, § 56.15 [6] (2d ed. 1966).
