OPINION OF THE COURT
The major question for decision in this appeal from the district court’s dismissal of appellant’s complaint is whether the eleventh amendment bars the district court from granting relief against certain state officials named as defendants.
I.
We reject the district court’s suggestion that the teachings of Branti and Elrod do not apply to state employees. In fashioning the novel doctrine
II.
We now turn to the eleventh amendment issue. The district court, relying on Scheuer v. Rhodes,
Absent a state’s consent, the eleventh amendment bars a civil rights suit in federal cоurt that names the state as a defendant, even a claim seeking injunctive relief-. Alabama v. Pugh,
Federal courts. — Nothing contained in this subchapter shall be construed to waive the immunity of the Commonwealth from suit in Federal courts guaranteed by the Eleventh Amendment to the Constitution of the United States.
42 Pa.Cons.Stat.Ann. § 8521(b). The eleventh amendment’s bar extends to suits against departments or agеncies of the state having no existence apart from the state. Mt. Healthy City Board of Education v. Doyle,
Relying on Gurmankin v. Costanzo,
This court recently considered whether the eleventh amendment bars an award of back pay against a state agency in Skehan v. Board of Trustees,
The eleventh amendment does not bar an action for damages against an official sued in his individual capacity, however. Id. We сonclude that the complaint here, though far from a model of legal draftsmanship, alleges a claim against the officials in their individual and offiсial capacities. The defendant officials, of course, may on remand assert official immunity as an affirmative defense to the plaintiff’s claim for monetary relief, see Gomez v. Toledo,
III.
The judgments of the district court apрealed at nos. 81-1453 and 81-2539 will be reversed and the causes remanded for further proceedings.
Costs taxed against the appellees.
Notes
. The appeals of Laskaris and Skapura wеre consolidated for decision on joint motion of the parties. Although we discuss only the facts pertaining to appellant Laskaris, the basis for the district court’s decision and the essential facts in both appeals are identical.
. We presume that the motions were filed under Fеd.R.Civ.P. 12(b), although the state executive branch defendants did not refer to a federal rule of civil procedure. See motion filed June 23, 1981, reprinted in app., at 8-15. The legislator-dеfendant relied on Rule 12(b) and (e) in his motion. App. at 6-7.
. For the purpose of this appeal we have assumed that the appellant has аlleged a deprivation of his first amendment rights. Although he made a reference to termination of employment, complaint U 8, reprinted in app. at 4, the specific constitutional infirmities alleged were limited to deprivation “of due process and ■ equal protection guaranteed tо him under the constitutions and laws of the United States and of the Commonwealth of Pennsylvania.” Id. 11 9, app. at 4. Because the defendants have not raised the issue, we are proceeding on the assumption that the Eirod-Branti issue was properly before the district court.
. See Branti v. Finkel,
