Kenneth O. Ashelman appeals the dismissal of his civil rights action against a state judge and county prosecutor. The question presented is whether a judge and prosecutor are immune from damages in a civil rights action charging them with conspiracy to predetermine the outcome of judicial proceedings. We conclude that the judge and prosecutor are immune. We affirm the district court’s dismissal of the action.
FACTS AND PRIOR PROCEEDINGS
Ashelman is a prisoner in custody of the Arizona Department of Corrections. While awaiting trial on criminal charges, Ashel-man filed a pro se civil rights action against the state court judge and the County Attorney’s Office. The complaint alleges the judge and prosecutor conspired to deprive Ashelman of (1) effective assistance of counsel; (2) access to a law library; (3) services of an investigator; (4) subpoenas for witnesses; and (5) supplies necessary for the preparation of his legal defense. Ashelman sought injunctive and declaratory relief.
After defendants answered, Ashelman filed a document entitled “Supplemental Pleadings” which further developed his conspiracy allegations, added as a defendant the prosecuting deputy county attorney, and sought damages in addition to injunctive and declaratory relief. The court construed the document as an amended pleading and instructed Ashelman to move to file an amended complaint pursuant to Fed.R.Civ.P. 15(a). Ashelman moved to file an amended complaint and lodged the proposed amendments with the court. His proposed amendments included most of his “supplemental pleadings” and also added the county sheriff as a defendant.
The district court dismissed Ashelman’s complaint and denied the motion to amend. The court reasoned that the judge was protected by judicial immunity. The action against the County Attorney’s Office was barred because the doctrine of respondeat superior did not apply absent allegations that actions were taken pursuant to regulations, customs, ordinance, or approved practice by the county. Process was ordered not to be filed against the prosecutor and sheriff because the prosecutor was protected by prosecutorial immunity and the sheriff was already a party to another action brought by Ashelman. Ashelman’s various motions to compel discovery were accordingly denied. Ashelman timely appealed the dismissal of his action.
On appeal, we initially reversed and remanded.
Ashelman v. Pope,
DISCUSSION
A. Judicial and Prosecutorial Immunity.
Judges and those performing judge-like functions are absolutely immune from damage liability for acts performed in their official capacities.
Richardson v. Koshiba,
Judges are immune from damage actions for judicial acts taken within the jurisdiction of their courts.
See Bradley v. Fisher,
Prosecutors are also entitled, to absolute immunity from section 1983 claims.
Imbler v. Pachtman,
The immunity afforded judges and prosecutors is not absolute. A judge lacks immunity where he acts in the “clear absence of all jurisdiction,”
Bradley,
Other circuits have expanded
Spark-man’s
analysis. To determine if a given action is judicial, those courts focus on whether (1) the precise act is a normal judicial function; (2) the events occurred in the judge’s chambers; (3) the controversy centered around a case then pending before the judge; and (4) the events at issue arose
*1076
directly and immediately out of a confrontation with the judge in his or her official capacity.
See, e.g., Dykes v. Hosemann,
To determine if the judge acted with jurisdiction, courts focus on whether the judge was acting clearly beyond the scope of subject matter jurisdiction in contrast to personal jurisdiction.
E.g., Dykes,
Prosecutorial immunity has developed along much the same lines as judicial immunity. Immunity extends to protect a prosecutor who acts within his or her authority and in a quasi-judicial capacity.
Imbler,
This circuit has developed a somewhat narrow view of when judicial and prosecu-torial immunity should bar civil rights actions. In
Rankin,
In
Beard,
Turning to the prosecutor’s immunity, we indicated that the immunity of a prosecutor is based upon the same considerations that underlie judicial immunity. Id. at 1270-71. We held that “where a prosecutor faces an actual conflict of interest, and files charges he or she knows to be baseless, the prosecutor is acting outside the scope of his or her authority and thus lacks immunity.” Id. at 1271 (footnote omitted).
Our decisions have been criticized. In
Dykes,
the Eleventh Circuit, sitting en banc, held that a judge who conspires to deny a party federal constitutional rights is
*1077
immune from a damage action under section 1983.
Dykes,
In
Holloway,
the Fifth Circuit concluded that
“Rankin
is inconsistent with the fundamental policies underlying judicial immunity.”
Holloway,
Our holding in
Beard
on prosecutorial immunity also has been criticized. In
Ler-will v. Joslin,
In light of the criticism directed to
Rankin
and
Beard,
we elect to reexamine the scope of judicial and prosecutorial immunity. At the heart of our reexamination is the task of defining which judicial and prosecutorial acts are to be protected from scrutiny by the immunity doctrines. The judges’ ultimate acts in
Beard
and
Rankin
were obviously judicial in nature. In
Beard
the judge entered a temporary restraining order. In
Rankin
the judge issued a guardianship order. Similarly, the prosecutor’s actions in
Beard
of initiating a prosecution was clearly an act within his authority. Although “grave procedural errors” were made in each instance, such errors are not enough to deprive the actors of immunity.
Sparkman,
We concluded in
Beard
and
Rankin
that no immunity applied because we focused not on these ultimate acts but rather on the act of conspiring to predetermine the outcome of the proceeding. There appears to be no other authority for making
*1078
the underlying conspiracy the determinative act in deciding whether immunity should be available. Judges’ immunity from civil liability should not be “affected by the motives with which their judicial acts are performed.”
Cleavinger,
The primary policy of extending immunity to judges and to prosecutors is to ensure independent and disinterested judicial and prosecutorial decisionmaking.
Adams,
We conclude that our prior decisions construed the immunity doctrines too narrowly by focusing on underlying actions instead of looking to the ultimate acts. Although the Supreme Court has not clearly rejected the analysis of our prior decisions, various circuit courts have explicitly and persuasively rejected that analysis. In addition, policy considerations favor a liberal application of immunity. We therefore hold that a conspiracy between judge and prosecutor to predetermine the outcome of a judicial proceeding, while clearly improper, nevertheless does not pierce the immunity extended to judges and prosecutors. As long as the judge’s ultimate acts are judicial actions taken within the court’s subject matter jurisidiction, immunity applies. Prosecutors are absolutely immune for quasi-judicial activities taken within the scope of their authority. To the extent that Rankin and Beard are to the contrary, they are overrruled.
B. Right to Amend.
We turn next to whether the district court erred in denying Ashelman’s motion to amend. We review for an abuse of discretion the denial of leave to amend pleadings after a responsive pleading has been filed.
Jones v. Community Redevelopment Agency,
Nevertheless, even under such favorable review, we conclude that Ashelman’s amended pleadings do not contain allegations sufficient to overcome judicial and prosecutorial immunities. Ashelman makes no allegations that the judge’s ultimate actions were not judicial or beyond the scope of the court’s jurisdiction or that the prosecutor’s ultimate activities were performed without authority. The district court did not err in refusing to allow Ashelman to amend his pleading since the proposed amendment would not overcome that deficiency.
*1079 CONCLUSION
Our examination of the doctrines of judicial and prosecutorial immunity convinces us to construe more broadly the availability of immunity. Although a few may suffer because of the loss of seemingly meritorious claims against judges and prosecutors, the policies in support of immunity can only be fulfilled if immunity is freely granted and the exceptions are few and narrowly drawn. Allegations of conspiracy between judge and prosecutor to predetermine the outcome of a judicial proceeding are insufficient to overcome those immunities.
AFFIRMED.
Notes
. Ashelman concedes that the district court properly dismissed the complaint as to the County Attorney’s Office. The doctrine of re-spondeat superior does not apply in section 1983 civil rights cases.
Monell v. New York City Department of Social Services,
Ashelman’s original complaint also alleged that defendants conspired to deprive him of the equal protection of the laws in violation of 42 U.S.C. § 1985(3) (1982). The district court nev
*1075
er specifically addressed that claim. Nevertheless, because Ashelman failed to allege that the defendants’ actions were motivated by a racial or other invidiously discriminatory animus, his complaint failed to state a claim under section 1985(3).
See Griffin v. Breckenridge,
.
Both
Dykes,
