Opinion by
To a petition for review in the nature of mandamus of petitioner pro se, Rodney Anthony Lindsley, Jr. (petitioner), the-sixteen named respondents have filed preliminary objections: (1) in the nature of a demurrer; (2) raising the defense of pendency of a prior action, Pa. R.C.P. No. 1017(b)(5); and (3) challenging this Court’s jurisdiction in mandamus.
I. Demurrer
Respondents’ preliminary objection in the nature of a demurrer admits as true all well and clearly
It is not necessary to belabor the lengthy and complicated factual averments of the petition to conclude that the demurrer is not well taken and must be dismissed.
Count II of the petition contains averments which, if supported by evidence, would indicate deliberate and systematic harassment by respondents of petitioner for, inter alia, petitioner’s activities as a “jailhouse lawyer” and for actions brought by petitioner on his own behalf in Federal District Courts. See Johnson v. Avery, 393 U.S. 483 (1969).
Count III of the petition contains averments which, if proved, would indicate that petitioner has been given disciplinary misconducts without due process of law, see e.g. Cruz v. Beto, 405 U.S. 319 (1972) and U.S. ex rel. Neal v. Wolfe, 346 F. Supp. 569 (E.D. Pa. 1972), and Count IV contains averments to the effect, inter alia, that such misconducts caused a denial of parole.
Count VI contains averments which if substantiated would show harassment and punishment of peti
As all of these counts state cognizable causes of action, respondents’ preliminary objection in the nature of a demurrer must be dismissed.
II. Lis Pendens
Respondents’ second preliminary objection raising the defense of pendency of ■ a prior action, Pa. R.C.P. No. 1017(b) (5), is apparently based upon averments in the petition indicating that petitioner has pending in Federal District Courts at least three actions related to the conditions of his confinement at the State Correctional Institution at Dallas and elsewhere.
To support this plea it was respondents’ burden to show that in each case the same parties are involved, the same rights asserted and the same relief sought. Hessenbruch v. Markle, 194 Pa. 581, 45 A. 669 (1900); Taylor v. Humble Oil and Refining Co., 225 Pa. Superior Ct. 177, 311 A.2d 324 (1973). Respondents, by asserting only that prior actions are pending, have failed to meet their burden and this preliminary ob-. jection is dismissed.
III. Mandamus
Respondents’ final preliminary objection goes to the jurisdiction of this Court in mandamus. In support thereof, respondents argue that their conduct which has been challenged falls entirely within the realm of discretionary judgments and beyond the réach of an action in mandamus, and that mandamus is not available to supervise prison administrative affairs, discipline, etc.
Even though it has been called a legal remedy, Hosler v. Bellefonte Area School District, 16 Pa.
Oh the issue of whether petitioner has an adequate remedy at law, if respondents are referring to habeas corpus as such an adequate remedy we rely upon the holding of Moore v. Roth, 231 Pa. Superior Ct. 464, 331 A.2d 509 (1974), to the effect that habeas corpus is not available until all other remedies, including mandamus, have been exhausted. If, on the other hand, respondents are referring to 42 U.S.C. §1983, we would, nevertheless, be duty bound to retain jurisdiction as jurisdiction over a cause of action asserted under 42 U.S.C. §1983 is not vested exclusively in the Federal Courts, see e.g. Brown v. Pitchess, 119 Cal.
Finally, we must address ourselves to the related issues of petitioner’s “specific, well-defined” rights and respondents’ corresponding duties. It is true that prison officials have wide latitude in administering prison affairs, but it is not so wide as to permit them to ignore rights guaranteed by the First and Fourteenth Amendments, Cruz v. Beto, supra; Johnson v. Avery, supra; Cooper v. Pate, supra; Kauffman v. Johnston, 454 F.2d 264 (3d Cir. 1972). Such rights include, inter alia, religious freedom, see United States v. Kahana, supra; due process before significant disciplinary action is taken, Jackson v. Godwin, 400 F.2d 529 (5th Cir. 1968); U.S. ex rel. Neal v. Wolfe, supra, and access to the courts in pursuit of post conviction relief, Johnson v. Avery, supra.
As the duty not to interfere with the exercise of such rights is one which a public officer must perform in a prescribed manner in accordance with the mandates of law, when confronted with a given factual matrix, such duty is clear and ministerial in the context of mandamus. Rose Tree Media School District v. Department of Public Instruction, 431 Pa. 233, 244 A.2d 754 (1968). If at this point in time such duties in the context of this case are not perfectly clear, the action will lie to compel their performance even if their very existence and scope must be established and defined by the action' itself, Uniroyal, Inc. v.
Order
Now, May 3, 1977, respondents’ preliminary objections are overruled and respondents are directed to answer the petition for review within forty (40) days of the date hereof.
A fourth preliminary objection' averring that petitioner has adequate remedies at law is by definition merged into and indistinguishable from the question of this Court’s jurisdiction in mandamus.