Opinion by Judge W. FLETCHER; Dissent by Judge O’SCANNLAIN.
W. FLETCHER, Circuit Judge:Plaintiff Sherol DiRuzza was a deputy sheriff in Tehama County from 1992 to 1995. During the election season in 1994, she supported incumbent Sheriff Mike Blanusa in his bid for reelection. Blanusa lost to Sheriff Robert Heard, one of the defendants in this case. DiRuzza asserts that defendants Heard and Undersheriff Jerry Floyd caused her to lose her job as a result of her political activity in support of Blanusa.
The district court concluded that DiRuzza’s political activities were not protected under the First Amendment because deputy sheriffs are policymakers, and that political loyalty is an appropriate requirement for her job. The district court accordingly held that defendants were allowed to retaliate against DiRuzza for her political speech. The district court granted summary judgment to defendants Heard, Floyd and Tehama County, and DiRuzza has timely appealed.
We reverse the district court’s grant of summary judgment. We hold that defendants have failed to show as a matter of law that DiRuzza was a policymaker and that political loyalty was therefore an appropriate requirement for her job. We remand for a determination of whether her actual duties were those of a policymaker. We further hold that the law protecting non-policymaking public employees from retaliation for the exercise of their First Amendment rights was clearly established in 1995, and we remand for a determination of the reasonableness of the actions of defendants Heard and Floyd in light of the then-clearly established law. Finally, we *1307remand for further proceedings to determine, whether defendants Heard and Floyd engaged in political retaliation.
I
In November 1994, incumbent Tehama County Sheriff Mike Blanusa was defeated by defendant Sheriff Robert Heard. Heard assumed office as the new sheriff on January 3, 1995. DiRuzza had publicly supported Blanusa in the election, even appearing in a televised political advertisement on his behalf. Prior to Heard’s assuming office, DiRuzza discharged her service revolver out of her bedroom window during a domestic dispute in which her fiance allegedly damaged her car, tore her phone off the wall, and threatened her with physical violence. As a result of this incident, Blanusa suspended DiRuzza for 30 days. On December 15, 1994, the district attorney charged DiRuzza with the felony of “gross negligent discharge of a firearm” and the misdemeanor of “exhibiting a firearm in a rude and threatening manner.” Cal.Penal Code §§ 246.3 and 417(a)(2). After Heard took office in January, DiRuzza was allowed to plead guilty to the lesser infraction of disturbing the peace, but only on condition that she resign her position as deputy sheriff.
On March 26, 1996, DiRuzza filed suit in federal district court, alleging twelve federal and state causes of action against Sheriff Heard, Undersheriff Floyd, and Tehama County. The gravamen of her complaint was that Heard and Floyd retaliated against her because she had supported Blanusa in the election. She alleged that, due to her political support of Blanusa and opposition to Heard, she was not re-sworn as a deputy after the election, was given undesirable shifts, and was forced to accept resignation under threat of a felony charge. By the time the district court ruled on defendants’ motion for summary judgment, DiRuzza had narrowed her suit under federal law to claims under 42 U.S.C. §§ 1983 and 1985, and sought only damages as a remedy.
Defendants at first denied that there was any political retaliation against DiRuz-za, contending, in the words of the district court, “that all the alleged adverse employment actions were due to the pending felony charge of negligent discharge of her service weapon.” At summary judgment, defendants proposed as an undisputed material fact that neither Heard nor Floyd “knew of plaintiffs support for the former Sheriff Blanusa.” DiRuzza disputed this assertion and defendants subsequently filed a supplemental brief arguing that irrespective of what knowledge they had, there is no constitutional prohibition against an elected sheriffs termination of a deputy for partisan reasons.
In granting summary judgment for all defendants on DiRuzza’s claims under §§ 1983 and 1985, the district court held, in essence, that deputy sheriffs in California are policymakers and may be fired for political reasons. In so holding, the district court relied upon three cases from other circuits holding that deputy sheriffs are policymakers. See Jenkins v. Medford, 119 F.3d 1156 (4th Cir.1997) (en banc), cert. denied, 522 U.S. 1090, 118 S.Ct. 881, 139 L.Ed.2d 869 (1998); Upton v. Thompson, 930 F.2d 1209 (7th Cir.1991); Terry v. Cook, 866 F.2d 373 (11th Cir.1989). The district court supported its holding that DiRuzza was a policymaker and therefore subject to partisan dismissal by noting that under Cal. Gov’t Code § 24100 a deputy sheriff exercises the same general authority as the sheriff. The district court further held, in the alternative, that individual defendants Heard and Floyd were entitled to qualified immunity because they had not violated a clearly established right. The district court then declined to exercise supplemental jurisdiction over the remaining state law claims.
We review de novo a grant of summary judgment. Margolis v. Ryan, 140 F.3d 850, 852 (9th Cir.1998). Viewing the evidence in the light most favorable to the non-moving party, we must determine whether the district court correctly applied the law and whether there are any genuine issues of material fact. Id.
*1308II
A. Was Deputy Sheriff DiRuzza a Policymaker?
We must first decide whether DiRuzza could be fired because of her political activity. “Government officials may not discharge public employees for refusing to support a political party or its candidates, unless political affiliation is a reasonably appropriate requirement for the job in question.” O’Hare Truck, Serv., Inc. v. City of Northlake, 518 U.S. 712, 714, 116 S.Ct. 2353, 135 L.Ed.2d 874 (1996) (citing Elrod v. Burns, 427 U.S. 347, 96 S.Ct. 2673, 49 L.Ed.2d 547 (1976)); Branti v. Finkel, 445 U.S. 507, 100 S.Ct. 1287, 63 L.Ed.2d 574 (1980). The key inquiry is whether DiRuzza held a policymaking position where political affiliation was a “reasonably appropriate requirement” for the job. See O’Hare, 518 U.S. at 719, 116 S.Ct. 2353.
The Supreme Court has held repeatedly that public employees are protected from retaliation for the exercise of their First Amendment rights. “A state may not condition public employment on an employee’s exercise of his or her First Amendment rights.” O’Hare, 518 U.S. at 717, 116 S.Ct. 2353. “The First Amendment prevents the government, except in the most compelling circumstances, from wielding its power to interfere with its employees’ freedom to believe and associate.” Rutan v. Republican Party of Ill., 497 U.S. 62, 76, 110 S.Ct. 2729, 111 L.Ed.2d 52 (1990) (emphasis added). However, an employee’s rights are not absolute and must be balanced against the role of government as an employer. See Pickering v. Board of Educ., 391 U.S. 563, 568, 88 S.Ct. 1731, 20 L.Ed.2d 811 (1968) (finding that the court must “balance ... the interests of the [employee], as a citizen, in commenting on matters of public concern and the interest of the state, as an employer, in promoting the efficiency of the public services it performs through its employees”).
Recognizing that there are some circumstances in which an employee’s First Amendment rights are not absolute, the Supreme Court has carved out a narrow exception to the First Amendment’s protection in cases where the public employee is a policymaker or confidential employee. This exception was first enunciated in 1976 in Elrod v. Burns, where four non-civil service employees of a sheriffs department were fired by the new sheriff because they failed to affiliate themselves with the party of newly elected Sheriff Elrod. One employee was the Chief Deputy of the Process Division, another a bailiff, and the third a process server; the position of the fourth employee was not described. Elrod, 427 U.S. at 350-51, 96 S.Ct. 2673. The Supreme Court held that these patronage dismissals were unconstitutional. Justice Brennan’s plurality opinion broadly condemned the constitutional evils of the patronage system, but recognized an exception for “policymaking positions” where “the employee acts as an adviser or formulates plans for the implementation of broad goals.” Elrod, 427 U.S. at 367-68, 96 S.Ct. 2673. Justice Stewart concurred separately, joined by Justice Blackmun, stating, “The single substantive question involved in this case is whether a non-policymaking, non-confidential government employee can be discharged or threatened with discharge from a job that he is satisfactorily performing upon the sole ground of his political beliefs. I agree with the plurality that he cannot.” Id. at 374-75, 96 S.Ct. 2673 (Stewart, J., concurring).
The policymaking exception articulated in Elrod was refined in 1980 in Branti v. Finkel, in which a newly appointed Democratic public defender gave notices of termination to Republican assistant public defenders in the office. The Court held that the terminations were unconstitutional because an assistant public defender does not occupy a position where “party affiliation is an appropriate requirement for the effective performance of the public office.” Branti 445 U.S. at 518, 100 S.Ct. 1287. Rather, “[t]he primary, if not the only, responsibility of an assistant public de*1309fender is to represent individual citizens in controversy with the State,” and “whatever policymaking occurs in the public defender’s office must relate to the needs of individual clients and not to any partisan political interests.” Id. at 519, 100 S.Ct. 1287. However, the Court was careful to withhold judgment on district attorneys, who exercise “broader public responsibilities.” Id. at 519 n. 13, 100 S.Ct. 1287. Indeed in Fazio v. City and County of San Francisco, 125 F.3d 1328 (9th Cir.1997), implementing Elrod and Branti, this court has held that certain deputy district attorneys are policymakers who may be terminated for partisan reasons.
In holding that a California deputy sheriff is a policymaker, the district court relied on two out-of-circuit cases that upheld dismissals of 42 U.S.C. § 1983 actions by deputy sheriffs on the ground that they were policymakers, Jenkins, 119 F.3d at 1156; Terry, 866 F.2d at 373, and a third out-of-circuit case that upheld qualified immunity on the ground that “deputy sheriffs operate with a sufficient level of autonomy and discretionary authority to justify a sheriff’s use of political considerations when determining who will serve as deputies,” Upton, 930 F.2d at 1218. These three cases held that deputy sheriffs in North Carolina {Jenkins), Alabama {Terry ), and Illinois {Upton) are policymakers subject to termination for partisan reasons.1 We are willing to assume arguendo that these holdings are correct, based on the different nature of the job performed by deputy sheriffs in these circuits and these states. However, we do not believe that a per se rule concerning deputy sheriffs is appropriate in this circuit and, in particular, in California.
Under California law, a county sheriff may appoint his or her “deputies.” Cal. Gov’t Code § 24101. All peace officers employed in the county sheriffs office, at whatever level, are sheriffs deputies. See generally People v. Otto, 77 Cal. 45, 18 P. 869 (1888). Among the deputies are higher-level employees such as the undersheriff, lieutenant, sergeant and captain as well as lower-level employees such as line peace officers and jail custodians. The title “deputy sheriff’ or “sheriffs deputy” is thus not a clear job category with consistent responsibilities in California. Any categorization based upon job title alone obscures rather than clarifies the nature of the duties actually performed and the constitutional rights at issue. We find instructive the analysis in Board of County Commissioners v. Umbehr, 518 U.S. 668, 116 S.Ct. 2342, 135 L.Ed.2d 843 (1996), in which the Supreme Court rejected a simplified, label-based approach in a case involving First Amendment rights of government contractors. The Court held that a categorical rule denying independent contractors protection for the exercise of their First Amendment rights “would leave First Amendment rights unduly dependent on whether state law labels a government service provider’s contract as a contract of employment or a contract for services, a distinction which is at best a very poor proxy for the interests at stake.” Id. at 678-79, 116 S.Ct. 2342; see also O’Hare, 518 U.S. at 721-22, 116 S.Ct. 2353. Given the range of duties performed by deputy sheriffs in California, a conclusion that deputy sheriffs are per se policymakers is inconsistent with important First Amendment rights as well as the analysis the Supreme Court requires under Elrod and Branti.2
*1310Defendants assert that DiRuzza occupied a policymaking position because she gave open political support to the incumbent sheriff. We disagree. Political and free speech activities alone cannot make an employee a policymaker. If this were so, any employee entering the political arena to oppose re-election of the head of her office would become a policymaker and would thus be subject to retaliation. That is, the very act of engaging in political debate would result in the forfeiture of an employee’s First Amendment rights. Defendants further assert that a deputy sheriff may act as a policymaker. That is true but beside the point. The actual, not the possible, duties of an individual employee determine whether political loyalty is appropriate for the effective performance of her job.
In Thomas v. Carpenter, 881 F.2d 828 (9th Cir.1989), a sheriffs lieutenant who had run unsuccessfully against the incumbent sheriff brought a retaliation suit similar to DiRuzza’s. Although the lieutenant had not been terminated, he alleged that he had been excluded “from attending departmental staff meetings, from attending policy manual revision meetings, and from participating as an evaluator for the department’s high risk entry team.” Id. at 829. This court reversed a dismissal under Fed.R.Civ.P. 12(b)(6), holding that
[defendant] cannot show, based solely on the allegations of [the] complaint, that [plaintiffs] loyalty is essential to the effective performance of the tasks removed from his list of responsibilities .... [Defendant] may be able to prove at trial, or perhaps even by summary judgment, that [plaintiffs] political loyalty in each of these positions is needed for the effective implementation of general departmental policy.
Id. at 832. The clear import of Thomas is that there is no per se rule in this circuit based solely on job title. The critical inquiry is the job actually performed.
Quoting Hall v. Ford, 856 F.2d 255, 262 (D.C.Cir.1988), this court outlined, in Fazio v. City and County of San Francisco, 125 F.3d 1328, 1334 n. 5 (9th Cir.1997), several factors to consider in deciding whether political affiliation could be a job requirement: “ ‘vague or broad responsibilities, relative pay, technical competence, power to control others, authority to speak in the name of policymakers, public perception, influence on programs, contact with elected officials, and responsiveness to partisan politics and political leaders.’ ” Based on these factors and looking at the job actually performed, we held that Fazio, a high-ranking Assistant District Attorney for the City and County of San Francisco, was a policymaker subject to partisan dismissal. “While [Fazio’s] powers are identical to those of a rank-and-file Assistant District Attorney, they are also nearly identical to those of the actual District Attorney.... Moreover, Fazio was paid over $100,000 per year, commented to the media about [City and County of San Francisco] cases and other cases of general public interest, and handled high profile cases with a great degree of autonomy.” Id. at 1334.
Under the factors articulated in Hall and repeated in Fazio, the defendants are not entitled to summary judgment because there are material facts in dispute regarding whether DiRuzza was a policymaker subject to partisan dismissal. The Tehama County Sheriffs Department employs 78 deputy sheriffs. All of them are covered under an extensive Memorandum of Understanding between the union and the county.3 Deputy sheriffs appear to be the lowest ranking peace officers in the department; in the Memorandum of *1311Understanding, they are listed above secretaries and below other categories of employees such as sergeants and sheriffs detective investigators. DiRuzza asserts that she worked in positions associated with the jails during much of her time with the sheriffs department. A deputy sheriff in California who works in a custodial position in a jail is responsible for the custody, care, supervision, security, movement, and transportation of inmates, and is limited to her prescribed custodial duties. Cal.Penal Code § 830.1. According to DiRuzza and other department employees, DiRuzza spent three months assisting a lieutenant in a suit involving conditions at the jails and spent six months assigned to a jail construction project as an assistant to a sergeant. While working with the construction project, DiRuzza drafted a “policy manual” for the new jail. According to testimony of DiRuzza’s superior, the drafting consisted of revising an old manual of jail procedures, such as procedures for handling inmates’ mail, in order to comply with court-ordered requirements.
Under Elrod, Branti, and Fazio, there are sufficient material facts to foreclose summary judgment for defendants. Indeed, on the current state of the record, there is little to support a conclusion that DiRuzza is a policymaker. On remand, defendants have the burden of showing that DiRuzza was a policymaker and thus vulnerable to politically-based discharge. In determining whether DiRuzza was a policymaker, the district court should direct its attention to the factors outlined in Fazio, including but not limited to whether DiRuzza had vague or broad responsibilities, whether she was paid an unusually high salary, whether she had the power to control others or the authority to speak in the name of the department, whether the public perceived that she had such authority, and whether she created or substantially influenced the policy of the sheriffs department.
Our holding is clearly consistent with the law in three other circuits. The Third Circuit has held that political affiliation is not an appropriate job requirement for deputy sheriffs whose primary tasks are service of process, transport of prisoners, and courtroom security. Burns v. County of Cambria, 971 F.2d 1015, 1022 (3rd Cir.1992). That court rejected any consideration of the size of the sheriffs department and stated that, “[although loyalty and confidentiality of sheriffs deputies are desirable attributes, those traits are needed for many working relationships. It has never been suggested that the need for loyalty and confidentiality alone supports politically motivated dismissals independent of the tasks which the employee must perform.” Id. at 1023. Further, the Sixth Circuit, on facts very similar to those in our case, has held that a rank-and-file deputy sheriff was not subject to patronage dismissal:
[The] defendant has failed to show that political affiliation is “an appropriate requirement for the effective performance” of [the position of deputy sheriff], The record does not show that [the] deputy sheriffs had the types of specific duties or responsibilities, or the amount of discretion or policymaking authority, that would make political affiliation an appropriate requirement for employment.
Hall v. Tollett, 128 F.3d 418, 429 (6th Cir.1997). Finally, the Tenth Circuit has held that two non-sworn sheriffs department employees, one the head jailer and the other an administrative assistant, could not be terminated because of political affiliation. Dickeson v. Quarberg, 844 F.2d 1435, 1443-44 (10th Cir.1988).
We believe that our holding is also consistent with the law of the three circuits whose cases were relied upon by the district court. In those cases, the courts of appeals held that deputy sheriffs were policymakers subject to partisan dismissal; but in each case the courts’ holdings were based not simply on the job title of “deputy sheriff,” but rather on an analysis of the actual job performed under that title in the states at issue. In Jenkins v. Medford, 119 F.3d 1156 (4th Cir.1997), the Fourth Circuit upheld the partisan firings of several deputy sheriffs in North Carolina. *1312After noting that the Supreme Court had created a “narrow exception” to the otherwise applicable constitutional protection of government employees from partisan dismissal, thereby allowing patronage dismissals of those in “policymaking positions,” id. at 1161, the court went on to analyze the position of deputy sheriff in North Carolina:
[W]e now consider the specific political and social roles of sheriffs and their deputies in North Carolina.... The North Carolina legislature has also recognized the special status of sheriffs deputies in the eyes of the law: “The deputy sheriff has been held by the Supreme Court of this State to hold an office of special trust and confidence, acting in the name of and with powers coterminous with his principal, the elected sheriff.” The sheriff may not delegate final responsibility for his official duties, but he may appoint deputies to assist him. Our circuit and North Carolina state courts agree that the sheriff can be held liable for the misbehavior of his deputies. Presumably it is for these reasons that the legislature has made deputies at-will employees who “shall serve at the pleasure of the appointing officer.”
Id. at 1163-64. The court specifically limited its holding, noting that “courts examine the job duties of the position, and not merely the title, of those dismissed.” Id. at 1165.
In Upton v. Thompson, 930 F.2d 1209 (7th Cir.1991), the Seventh Circuit upheld partisan firings of deputy sheriffs in Illinois. After recognizing that under Supreme Court law only employees holding policymaking positions could be fired for partisan reasons, id. at 1213, the court analyzed the actual nature of the job performed by deputy sheriffs in Illinois and concluded that deputy sheriffs were policymakers. Among other things, the court specifically noted that “[a] deputy sheriff in implementing the Sheriffs basic policy, will ‘make some decisions that will actually create policy.’ ” Id. at 1215 (quoting Livas v. Petka, 711 F.2d 798, 801 (7th Cir.1983)).
Finally, in Terry v. Cook, 866 F.2d 373 (11th Cir.1989), the Eleventh Circuit upheld the partisan firing of deputy sheriffs in Alabama. The court applied the Elrod-Branti test of whether “political loyalty is an appropriate requirement for employment,” and analyzed the nature of the job of deputy sheriff in Alabama in upholding a Rule 12(b)(6) dismissal of claims brought by deputy sheriffs who had been fired:
Under Alabama law, a deputy sheriff is the general agent of and empowered to enter into business transactions for the sheriff. Any transaction within the scope of the sheriffs duties may be acted upon by his deputy. The deputy sheriff is the alter ego of the sheriff, and the sheriff is civilly liable for actions committed by a deputy in the performance of his duty.... The closeness and cooperation required between sheriffs and their deputies necessitates the sheriffs absolute authority over their appointment and/or retention.
Id. at 377 (citations omitted). Significantly, the court in Terry reversed a Rule 12(b)(6) dismissal of claims brought by other employees, including “jailers,” for the same partisan firing:
It has not been established that loyalty to an individual sheriff is an appropriate requirement for effective job performance for the remaining positions of clerk, investigator, dispatcher, jailer, and process server. This is a determination that depends upon the actual responsibilities of each position and the relationship of each to the sheriff.
Id. at 377-78.
The district court thus erred in granting summary judgment based on a holding that deputy sheriffs in California are policymakers and may be fired for the exercise of their first amendment rights. While it is possible that some deputy sheriffs in California may be policymakers, an analysis of an individual deputy’s • actual duties is necessary to that determination. On the record before us, there are material facts in dispute regarding the duties actually performed by DiRuzza and wheth*1313er these duties made her a policymaker. We therefore remand for an individualized determination of whether DiRuzza was a policymaker for whom political affiliation was a reasonable requirement.
B. Qualified Immunity
Defendants Heard and Floyd contend that even if DiRuzza was protected against retaliation, they are nonetheless entitled to qualified immunity insulating them from damage judgments. Government officials who perform discretionary functions are entitled to qualified immunity only “insofar as their conduct does not violate clearly established statutory or constitutional rights of which a reasonable person would have known.” Harlow v. Fitzgerald, 457 U.S. 800, 818, 102 S.Ct. 2727, 73 L.Ed.2d 396 (1982). This test necessitates a two-part analysis: “(1) whether the law governing the official’s conduct was clearly established, and (2) whether, given this clearly established standard, a reasonable official could believe that his or her conduct was lawful.” Biggs v. Best, Best & Krieger, 189 F.3d 989 (9th Cir.1999); see also Ortega v. O’Connor, 146 F.3d 1149, 1154 (9th Cir.1998). A decision regarding qualified immunity is reviewed de novo. Romero v. Kitsap County, 931 F.2d 624, 627 (9th Cir.1991). While the plaintiff bears the burden of proof regarding whether the right is clearly established, a defendant must prove that his or her conduct was reasonable. Id.
For purposes of determining qualified immunity, the law must be clearly established at the time of the defendant’s acts. In this case, the alleged retaliation occurred in 1995. The test for determining whether a law is clearly established “requires more than an alleged violation of extremely abstract rights.” Tribble v. Gardner, 860 F.2d 321, 324 (9th Cir.1988) (citations omitted).
The contours of the right must be sufficiently clear that a reasonable official would understand that what he is doing violates that right. This is not to say that an official action is protected by qualified immunity unless the very action in question has previously been held unlawful, but it is to say that in the light of pre-existing law the unlawfulness must be apparent.
Anderson v. Creighton, 483 U.S. 635, 640, 107 S.Ct. 3034, 97 L.Ed.2d 523 (1987) (citations omitted).
Under Elrod and Branti, decided by the Supreme Court in 1976 and 1980, and under Ninth Circuit case law decided prior to 1995, it was clearly established that a non-policymaking public employee in a sheriffs office is protected from retaliation for the exercise of First Amendment rights. While neither the Supreme Court nor this court has previously ruled on deputy sheriffs in Tehama County, such a ruling is not necessary. Elrod, the initial Supreme Court decision creating the policymaking exception, involved a sheriffs department. The Court, in defining the right of certain employees to be free from retaliation for the exercise of First Amendment expression in that case, stated that “the nature of the responsibilities is critical.” Elrod, 427 U.S. at 367, 96 S.Ct. 2673. The Supreme Court in Branti went on to clarify that the proper inquiry is “whether the hiring authority can demonstrate that party affiliation is an appropriate requirement for the effective performance of the public office involved.” Branti 445 U.S. at 518, 100 S.Ct. 1287. In 1989, this court in Thomas held that a lieutenant in a sheriffs office was not necessarily a policymaker, see 881 F.2d at 832, and that the defendant had failed to show that “political loyalty is essential to the effective performance of the tasks removed from his list of responsibilities.” Id.
It was thus clearly established, at the time defendants acted, that deputy sheriffs were not per se policymakers in California.4 It was clearly established, as *1314a matter of law, that the actual duties performed by a deputy sheriff determined whether he or she was a policymaker and therefore subject to partisan dismissal, or a non-policymaker and therefore protected from such dismissal. The record made so far in this case does not make clear whether DiRuzza’s job actually entailed policy-making and, thus, whether she could be fired for partisan reasons. This lack of clarity, however, does not support Floyd’s and Heard’s claim of qualified immunity. The fact that the specifics of DiRuzza’s job duties are unclear to the court on the current state of the record, does not mean that Heard and Floyd did not know those specifics at the time they acted.
For purposes of summary judgment on the question of qualified immunity, as well as on all other issues, we must presume the facts to be those most favorable to the non-moving party. See Liston v. County of Riverside, 120 F.3d 965, 977 (9th Cir.1997). Accepting DiRuzza’s view of the facts as correct and drawing all reasonable inferences in her favor, she was not a policymaker, and that fact would have been well known to both Heard and Floyd. We need not speculate here on the merits of the qualified immunity argument under the facts that might be developed at trial.
C. Retaliation
The district court did not reach the question whether defendants Heard and Floyd retaliated against DiRuzza for the exercise of her First Amendment rights. Defendants claim that their acts were motivated not by her political expression but, rather, by her unlawful discharge of a firearm. While we may affirm a grant of summary judgment on grounds other than those relied upon by the district court, Gemtel Corp. v. Community Redevelopment Agency of the City of Los Angeles, 23 F.3d 1542, 1546 (9th Cir. 1994), we decline to do so here because there are disputed facts material to the question of retaliation that preclude summary judgment. In Mount Healthy City Sch. Dist. Bd. of Educ. v. Doyle, 429 U.S. 274, 97 S.Ct. 568, 50 L.Ed.2d 471 (1977), the Supreme Court articulated the standard for determining when retaliation for protected First Amendment conduct is an impermissible factor in a decision to take adverse action. The burden initially rests on the plaintiff to show that the conduct at issue was a motivating factor in the defendant’s action. The burden then shifts to the defendant to show by a preponderance of the evidence that “it would have reached the same decision ... even in the absence of the protected conduct.” Id. at 287, 97 S.Ct. 568.
In our case, there are disputed material facts regarding whether defendants took adverse job action against DiRuzza and whether political retaliation was a substantial or motivating factor. DiRuzza was involved in a violent disagreement with her fiance and fired eight rounds from her service revolver out her bedroom window. DiRuzza explains the incident by saying that her fiance was threatening her with a rifle and that she was attempting to get the neighbors to call the authorities. The matter was submitted to the district attorney, and it is undisputed that DiRuzza was suspended for thirty days under then-Sheriff Blanusa. However, the facts are disputed concerning the influence of defendants Heard and Floyd on the subsequent actions taken by the district attorney. Plaintiff relies upon declarations and depositions stating that defendants influenced the district attorney’s decision to continue to pursue the case and to offer the plea bargain that resulted in DiRuzza’s job loss, and that this influence was motivated by a desire to retaliate against DiRuzza for her *1315political support of the incumbent Sheriff. Parker Dec! 3:24 to 4:2; Groves Dep., 23:14 to 28; Welsh Decl. ¶ 3-5. We believe that this evidence is enough to foreclose a grant of summary judgment for defendants. See Soranno’s Gasco, Inc. v. Morgan, 874 F.2d 1310 (9th Cir.1989) (liability depended upon the defendant’s motivation, which was a genuine issue of material fact precluding summary judgment); Allen v. Scribner, 812 F.2d 426 (9th Cir.1987) (two affidavits of co-workers sufficient evidence to indicate that the protected expression was a substantial factor in the disciplinary action, thus precluding summary judgment); Gilbrook v. City of Westminster, 177 F.3d 839, 855 (9th Cir.1999) (Mt. Healthy analysis is an intensely factual determination of motivation and causation).
Ill
We hold that the district court erred in finding categorically that deputy sheriffs in California are policymakers and reverse the grant of summary judgment to defendants Heard, Floyd, and Tehama County. We further hold that the district court erred in granting summary judgment to defendants Heard and Floyd on grounds of qualified immunity. Finally, we hold that there are material facts in dispute regarding Heard’s and Floyd’s alleged retaliation against plaintiff.
• Because the district court found no constitutional injury to DiRuzza, it granted summary judgment to defendant Tehama County without reaching questions of liability specific to the county. We leave it to the district court to address such questions, as appropriate, on remand. Further, after dismissing DiRuzza’s federal claims, the district court declined to exercise supplemental jurisdiction over her state claims under 28 U.S.C. § 1367(c). We leave it to the district court to reinstate and decide those claims, as appropriate, on remand.
We therefore REVERSE the summary judgment granted to defendants and REMAND for further proceedings consistent with this opinion.
. Although the Seventh Circuit has held that a deputy sheriff may be terminated for political reasons, a deputy may not be retained and then subjected to a campaign of retaliatory harassment. See Wallace v. Benware, 67 F.3d 655, 664 (7th Cir.1995). In Wallace, the campaign of harassment was severe, including actions at the scene of a crime that threatened the plaintiffs life. Id. at 658.
. This case does not involve the other line of analysis set forth in Pickering and Connick, where speech on matters of public concern must be evaluated in terms of the effect on the government’s efficient management of its operations. See Pickering, 391 U.S. 563, 88 S.Ct. 1731, 20 L.Ed.2d 811 (1968); Connick v. Myers, 461 U.S. 138, 103 S.Ct. 1684, 75 L.Ed.2d 708 (1983). Defendants do not assert that DiRuzza’s speech and political activities had an effect on the working relationships in the office or on the efficient operation of *1310the sheriff's department that would justify limiting her First Amendment rights.
. We take judicial notice the Memorandum of Understanding entered into between the County of Tehama and the Tehama County Law Enforcement Officers Bargaining Unit pursuant to Federal Rule of Evidence 201 and Papal v. Harbor Tug and Barge Co., 67 F.3d 203, 211 fn. 5 (9th Cir.1995), rev'd on other grounds, 520 U.S. 548, 117 S.Ct. 1535, 137 L.Ed.2d 800 (1997).
. The dissent contends that the right of a non-policymaking public employee to be free from retaliation was not clearly established in *13141995, the date of the actions at issue in this case, because Fazio v. City and County of San Francisco was decided by this circuit in 1997. This would be a telling point if Fazio had broken new ground. Fazio, however, was an obvious application of an already-established rule. Elrod and Branti, decided by the Supreme Court in 1976, and 1980, and Thomas, decided by this circuit in 1989, all clearly held that non-policymaking employees are protected from retaliatory discharge based on the exercise of First Amendment rights.