¶ 1 Plaintiffs appeal the dismissal of their First Amended Verified Special Action Complaint and the denial of their Motion for Leave to File Second Amended Verified Special Action Complaint. For the reasons that follow, we affirm the trial court’s dismissal of the statutory special action mandamus claims in the First Amended Complaint. We also affirm its determination that, to the extent the Second Amended Complaint seeks additional mandamus relief against the Governor, the Attorney General or the Secretary of State, it would be futile to allow such amendments. We reverse, however, the trial court’s dismissal of the declaratory judgment action with the Governor as a named defendant. We also reverse its denial of the motion for leave to file the Second Amended Complaint to the extent it seeks to add as defendants to the declaratory judgment action four additional public officials who administer government benefit programs that Plaintiffs allege are subject to Proposition 200. 1 We thus remand to the trial court for further proceedings consistent with this opinion.
FACTUAL AND PROCEDURAL HISTORY
¶ 2 On November 2, 2004, Arizona voters adopted Proposition 200, the Arizona Taxpayer and Citizen Protection Act. Section six of that proposition, now codified as A.R.S. § 46-140.01 (2005), requires agencies of the state and local governments that administer “state and local public benefits that are not federally mandated” to verify the immigration status of applicants for benefits and report any discovered violations to federal immigration authorities.
¶ 3 Shortly after the proposition passed, the Attorney General issued Opinion of the Attorney General 104-010 (“104-010”) in response to a request from Anthony Rodgers, the Director of the Arizona Health Care Cost Containment System Administration (“AHCCCS”), to define “state and local public benefits” for the purposes of Proposition 200. The opinion concluded that Proposition 200 did not apply to AHCCCS benefits and many other state programs but applied only to those programs within Title 46 of the Arizona Revised Statutes “that qualify as state and local public benefits pursuant to federal law.” A few days later, Plaintiffs filed this action alleging that the Attorney General too narrowly interpreted the scope of Proposition 200. Defendants responded by filing a motion to dismiss for failure to state a claim.
¶4 At about the same time, a separate challenge to the constitutionality of Proposition 200 was filed in federal court and that court issued a temporary restraining order precluding implementation of section six of the proposition. 2 When the Governor issued the proclamation declaring Proposition 200 the law of the State, she did so “subject to the terms and duration” of that temporary restraining order. Shortly thereafter the federal court lifted the temporary restraining order and denied the injunctive relief requested in the federal action. Friendly House v. Napolitano, No. CV 04-649 TUC DCB (D.Ariz. Dec. 22, 2004) (order).
¶ 6 In response to Defendants’ motion to dismiss for failure to state a claim in this action, Plaintiffs filed their First Amended Complaint. The Defendants again moved to dismiss on the same grounds as stated in their original motion to dismiss. In partial response, Plaintiffs filed a Motion for Leave to File Second Amended Verified Special Action Complaint. The trial court dismissed the First Amended Complaint with prejudice for failure to state a claim and denied Plaintiffs’ motion for leave to file the Second Amended Complaint. Plaintiffs timely appealed. We have jurisdiction pursuant to A.R.S. § 12-210KB) (2003).
ANALYSIS
¶ 7 In reviewing a trial court’s dismissal of a complaint for failure to state a claim, we accept the facts alleged in the complaint as true.
Fid. Sec. Life Ins. Co. v. State,
¶8 As the Defendants acknowledge in their brief, it appears that the Plaintiffs may seek both declaratory judgment relief and mandamus relief against all Defendants. We thus examine the mandamus claims and the declaratory judgment claim to determine whether Plaintiffs have complied with the minimal requirements for stating a claim as to each Defendant.
MANDAMUS
¶ 9 Mandamus is a remedy used to compel a public officer to perform a duty required by law. A.R.S. § 12-2021 (2003);
Sears v. Hull,
A. The Secretary of State
¶ 10 Even broadly read, the First Amended Complaint does not contain any allegations that the Secretary of State failed to perform an act that she is required by law to perform. Thus, the trial court did not err in concluding that the First Amended Complaint fails to state a mandamus claim as to the Secretary of State.
B. The Attorney General
¶ 11 The Plaintiffs assert that the Attorney General has violated a mandatory duty of his office by issuing I0¿M)10. But, in issuing that opinion, the Attorney General performed a duty assigned to his office by statute.
See
A.R.S. § 41-193(A)(7) (2004) (stating that the Attorney General shall “[u]pon demand by [public officials] render a written
¶ 12 Plaintiffs acknowledge that the Attorney General has some discretion in formulating the opinions he issues to public officers. They further acknowledge that generally a mandamus action cannot be used to compel a government employee to perform a function in a particular way if the official is granted any discretion about how to perform it.
Kahn v. Thompson,
¶ 13 We have held that a court abuses its discretion when it commits a legal error in the process of exercising its discretion.
See, e.g., Fuentes v. Fuentes,
¶ 14 Although related, the responsibility to declare existing law and the responsibility to advise concerning it are separate and distinct. It is the responsibility of the courts to declare existing law.
San Carlos Apache Tribe v. Super. Ct. ex rel. County of Maricopa,
¶ 15 If, as Plaintiffs suggest, a mandamus action could be brought to challenge the opinions of the Attorney General, upon such challenges, courts would effectively become direct legal advisors to the government. The courts would be compelled to decide previously unsettled legal questions as a necessary preliminary to determining whether the Attorney General’s opinion on various matters were an abuse of discretion.
¶ 16 This would be an inappropriate usurpation by the courts of responsibility assigned to the Attorney General and, in our view, a violation of the separation of powers. Our system of government prohibits one branch of the government from exercising the powers granted to another branch of the government. Ariz. Const, art. 3;
Litchfield Elem. Sch. Dist. No. 79 v. Babbitt,
¶ 17 Plaintiffs alternatively argue that 104-010 constitutes an abuse of discretion because it is “contrary to reason, lacks a fair, solid and substantial basis and is not governed by any fixed rules or standards.” They thus apparently argue that 104-010 is so deficient that it amounts to a complete failure of the Attorney General to comply with the obligation to issue an opinion. Even assuming that a decision issued by the Attorney General could be so deficient as to be a complete failure to fulfill the statutory obligation to issue an opinion, our review indi
cates
¶ 18 Plaintiffs also request, pursuant to the mandamus power, that the courts direct “that the Arizona Attorney General withdraw the subject Attorney General’s Opinion.” Even assuming a court might invalidate the substance of 104-010, however, an action in mandamus cannot compel the Attorney General to perform an act unless he is required by law to perform it.
Sears,
¶ 19 Although the Attorney General may choose to withdraw an opinion, the Plaintiffs identify no legal obligation compelling the Attorney General to do so in this case.
Cf. Ruiz v. Hull,
¶20 Plaintiffs argue that because A.R.S. § 38-446 (2006) immunizes any public employee from personal liability “for acts done in his official capacity in good faith reliance on written opinions of the attorney general” unless the opinion is withdrawn, public employees who refuse to follow the requirements of Proposition 200 in administering public benefit programs will escape personal criminal liability by claiming good faith reliance on 104-010. Pursuant to the statute, the immunity only exists when the government employee has acted in good faith, however, and it would be a rare circumstance in which a public employee could rely in good faith on legal conclusions in an Attorney General’s opinion that have been rejected by a court’s binding interpretation of the statute in question. Should a court interpret Proposition 200 differently than does the Attorney General, the court’s opinion decides the law, regardless of whether the Attorney General withdraws 104-010.
¶21 Nor does the immunity the statute grants prevent Plaintiffs from obtaining a judicial determination concerning the applicability of Proposition 200. The immunity statute only extends to the personal liability of government employees. It would in no way preclude a claim for declaratory relief as to whether the public benefits administered by those employees are covered by the statute, thus subjecting employees to the duties it imposes.
See, e.g., Maricopa County v. TWC Chandler,
¶ 22 Plaintiffs further request that a writ of mandamus issue “requiring that the Arizona Attorney General formally and immediately advise the Governor — and all of
1123 Again, the Plaintiffs do not establish any obligation on the part of the Attorney General to render any particular advice to any government official absent a request by that official. The principal statute regulating the duties of the Attorney General only requires the Attorney General to give such advice “[u]pon demand by the legislature, or either house or any member thereof, any public officer of the state or a county attorney.” A.R.S. § 41-193(A)(7). Absent an appropriate request, or separate statutory authority, which has not been pleaded or identified here, it would be no more appropriate for us to compel the Attorney General to give advice to the Governor than it would be for us to compel the Governor to ask for it.
¶ 24 Nor does the Attorney General have the ability, let alone the duty, to compel other state agencies or departments to make rules or regulations in connection with then-operations.
State ex rel. Morrison v. Thomas,
¶ 25 Absent clear statutory authority, the Attorney General has no power to compel action on the part of state agencies. Thus, no action for mandamus lies compelling the Attorney General to do so. The trial court, therefore, did not err in dismissing any mandamus claims or any proposed mandamus claims against the Attorney General.
C. The Governor
¶ 26 To the extent that the First Amended Complaint can be read to allege that the Governor has adopted and implemented the Attorney General’s interpretation of Proposition 200, such an allegation is still insufficient to state a claim for mandamus relief against the Governor. In
Sears,
the plaintiffs brought a statutory special action to enjoin the Governor from entering a gaming pact with the Salt River Pima-Maricopa Indian Community that the plaintiffs alleged violated the federal Indian Gaming Regulatory Act.
The most the [plaintiffs] can establish is that they disagree with the Governor’s interpretation of [federal and state statutes] ____That showing, if made, would not entitle the [plaintiffs] to mandamus relief. If we were to adopt the [plaintiffs’] argument, virtually any citizen could challenge any action of any public officer under the mandamus statute by claiming that the officer has failed to uphold or fulfill state or federal law, as interpreted by the dissatisfied plaintiff.
Id.,
at 69, ¶ 14,
¶ 27 Plaintiffs’ proposed Second Amended Complaint also seeks a writ of mandamus “directing that the Governor withdraw those portions of Executive Order 2004-030 that make the opinions of the Arizona Attorney General the arbiter of the meaning of Proposition 200 for all Executive Branch agencies of the State of Arizona.” Such a request is not susceptible of mandamus relief because there is no circumstance under which the Governor can be compelled to edit or revise the text of her executive orders. The power to issue executive orders belongs uniquely to the Governor.
See
A.R.S. § 41-101(A) (2004) (stating that the Governor has the power to supervise executive branch officials);
see also State v. Hooker,
¶ 28 In their briefing on appeal, Plaintiffs also argue that the Governor, by declaring Proposition 200 subject to the restraining order issued by the United States District Court for the District of Arizona in Friendly House, violated various sections of Article 4, part 1 of the Arizona Constitution because she did not proclaim as law that part of the initiative that became A.R.S. § 46-140.01. Not only is there no such claim either in the First or the proposed Second Amended Complaints, Plaintiffs misread the proclamation. The Governor did fully proclaim the proposition to be law on December 13, 2004, stating “I, Janet Napolitano, Governor of the State of Arizona, do hereby proclaim the initiative measure proposed to the voters in the form of Proposition 200 ... to be law subject to the terms and duration of the Temporary Restraining Order____” In recognizing the limits placed by the court’s restraining order on Proposition 200, she was not herself placing such limitations on the declaration; she was merely recognizing, as she was required to do under the supremacy clause, what the federal court had done. See U.S. Const, art. VI cl. 2. Once the court removed its restraining order, the law had already been fully proclaimed. As a matter of law, the Governor’s subsequent Executive Order No. 2004-30, directing how the proposition was to be implemented, did not constitute her proclamation of that law. We thus reject the Plaintiffs’ assertion that the proposed Second Amended Complaint states a valid claim against the Governor to oblige her to reword her proclamation. Accordingly, the trial court did not err when it dismissed both any mandamus claims, and proposed mandamus claims, asserted against the Governor.
THE DECLARATORY JUDGMENTS ACT
¶ 29 The Uniform Declaratory Judgments Act provides that “[a]ny person ... whose rights, status or other legal relations are affected by a statute ... may have determined any question of construction or validity arising under the ... statute ... and obtain a declaration of rights, status or other legal relations thereunder.” A.R.S. § 12-1832 (2003). While the Declaratory Judgments Act is remedial and should be liberally construed, A.R.S. § 12-1842 (2003), “the complaint must set forth sufficient facts to establish that there is a justiciable controversy.”
Planned Parenthood Ctr. of Tucson, Inc. v. Marks,
A. The Secretary of State
¶ 30 The complaint does not allege that the Secretary of State administers any state or local public benefit programs. Nor does it indicate any other way in which the Secretary of State may be depriving the Plaintiffs of any rights to which they are entitled under Proposition 200. We thus affirm the trial court’s dismissal of the Secretary of State as a party to this action.
B. The Attorney General
¶ 31 Nor does the complaint allege that the Attorney General administers public benefit programs. Rather it alleges that “Attorney General Goddard is responsible for the enforcement or implementation of the provisions of Proposition 200 by agencies of the State of Arizona and political subdivisions therein.” The complaint further alleges that the Attorney General intended his restrictive opinion to be binding on state agencies. While acknowledging that “[ojpinions of the Attorney General are advisory,” the complaint alleges that an Attorney General’s opinion is “customarily followed by other state agencies and subdivisions” and that
¶ 32 As discussed above, however, the powers of the Attorney General as they pertain to other state agencies are “advisory only.” The Attorney General does not have the power to compel state agencies to act.
Cf. McFate,
The authority here claimed by the Attorney General has been delegated by our Constitution and statutes to the Governor. Under Article V, Section 4, of the Arizona Constitution, the Governor “shall take care that the laws be faithfully executed.” A.R.S. § 41-101, subd. A provides that the Governor “shall supervise the official conduct of all executive and ministerial officers” (par. 1),____Thus, the Governor alone, and not the Attorney General, is responsible for the supervision of the executive department and is obligated and empowered to protect the interests of the people and the State by taking care that the laws are faithfully executed.
¶33 Furthermore, there is no statutory authority for the Attorney General to be a named party and to represent the State’s interests in a declaratory judgment action when the constitutionality of a state statute is not being challenged. In cases in which the constitutionality of a statute is being challenged, the Declaratory Judgments Act requires that the Attorney General be served with a copy of the complaint, together with a claim of unconstitutionality, and be allowed to respond on behalf of the State. A.R.S. § 12-1841 (Supp.2006). Accordingly, Arizona courts have uniformly held that the Arizona Attorney General is an appropriate party to such cases because the Attorney General’s participation is authorized by the Declaratory Judgments Act itself.
Ethington v. Wright,
V 34 As Plaintiffs acknowledge in their complaint, the opinions of the Attorney General are not binding. They are advisory only.
Green v. Osborne,
C. The Governor
¶35 Unlike the Attorney General, the Governor has the constitutional obligation to “take care that the laws be faithfully executed” and to “transact all executive business with the officers of the government.” Ariz. Const, art. 5, § 4. By statute, “[t]he governor ... [s]hall supervise the official conduct of all executive and ministerial officers.” A.R.S. § 41-101(A)(1) (2004).
¶ 36 To successfully bring a declaratory judgment action challenging the State’s implementation of Proposition 200, Plaintiffs must name as a defendant an entity or official that has the ability to control the implementation of that proposition.
See Morris,
¶37 Even had the Governor’s order not specifically directed state agencies to follow the opinion of the Attorney General, however, the Governor is the chief executive of the state. She has the power to direct or to change how the executive branch of the State implements a statute. It is, therefore, a common occurrence that the Governor, as the chief executive officer of the State, is the named party in challenges to the implementation of a new proposition or act in either state or federal court.
See, e.g., Yavapai-Prescott Indian Tribe v. Ariz.,
¶ 38 In this instance, the First Amended Complaint alleges that: “Governor Napolitano is responsible for the implementation of Proposition 200 by all executive agencies of the State of Arizona.” It further alleges, that “[t]o date, on information and belief, Arizona state and local agencies administering state and local public benefits have uniformly followed [104-010] in identifying the benefits to which the Proposition 200, § 6 verification of eligibility requirement will or will not apply.” It alleges at great length that this Attorney General’s opinion is an incorrect interpretation of the proposition, and thus not in compliance with the law, and then requests a “declaratory judgment that the term ‘state and local public benefits not mandated by federal law’ in A.R.S. § 46-140.1 applies to all benefits described in [a federal statute], regardless of which particular state or local government agency administers or regulates the provision of such benefits.”
¶ 39 In a notice-pleading state, such as Arizona, “a complaint need only have ‘a statement of the ground upon which the court’s jurisdiction depends, a statement of the claim showing that the pleader is entitled to relief and a demand for judgment.’ ”
Rowland v. Kellogg Brown & Root Inc.,
THE MOTION FOR LEAVE TO AMEND
¶ 40 Plaintiffs moved for leave to file their Second Amended Complaint within three months after they filed their initial suit and before the Defendants filed any answer. The trial court ultimately denied this motion for leave to amend, finding “that it would be futile to grant the motion to amend.” While leave to amend may be denied when the proposed amendment is futile,
Walls v. Ariz. Dep’t of Pub. Safety,
¶ 41 As explained above, we agree with the trial court’s conclusion that the proposed Second Amended Complaint was futile insofar as it attempted to state a claim against the Secretary of State or the Attorney General, or to restate a mandamus claim against the Governor seeking to strike portions of her executive order. We disagree, however, that the amended complaint would be futile to the extent that it sought to add four additional government officers as defendants to the action or continue the declaratory claim against the Governor.
¶42 In the Second Amended Complaint, Plaintiffs sought to add as defendants the Director of the Arizona Department of Housing (“ADOH”), the Director and Deputy Director of Administration of the Arizona Department of Health Services (“ADHS”), and the Director of the Arizona Department of Economic Security (“ADES”) in their official capacities. The complaint specifically alleged that the agencies that were directed by the proposed defendants administered programs that were subject to Proposition 200. The complaint further alleged that the proposed defendants instructed their employees that Proposition 200 did not apply to those programs, with the exception of a few ADES programs, and that, therefore, the proposed defendants did not follow the requirements of Proposition 200 in administering programs that were subject to it. Plaintiffs then requested a declaratory judgment that Proposition 200 applies to programs administered by the three agencies and injunctive relief requiring those administering the programs to comply with Proposition 200.
¶43 Such allegations set forth sufficient facts to establish a real dispute based upon an actual controversy.
See Planned Parenthood,
ATTORNEYS’ FEES
¶ 44 Plaintiffs have requested attorneys’ fees pursuant to A.R.S. § 12-348(A)(4) (2003) and the private attorney general doctrine. Attorneys’ fees are awarded under A.R.S. § 12-348(A)(4) when a party “prevails by an adjudication on the merits in ... a special action proceeding brought by the party to challenge an action by the state against the party.” Under the private attorney general doctrine, a court may, in its discretion, “award attorneys’ fees to a party who has vindicated a right that: 1) benefits a large number of people; 2) requires private em
forcement;
CONCLUSION
¶ 45 For the foregoing reasons, we affirm the trial court’s decision dismissing Plaintiffs’ mandamus claims. We reverse the trial court’s dismissal of Plaintiffs’ declaratory judgment action against the Governor and the trial court’s denial of Plaintiffs’ motion for leave to file the Second Amended Complaint as detailed above. We thus remand for proceedings consistent with this opinion.
Notes
. All complaints and proposed complaints at issue here name the Defendants in their official capacities only.
. While Proposition 200 contained other provisions, most notably pertaining to voting rights, the provisions pertaining to state and local benefits at issue here were contained in section six.
. At that time, 104-010 was the only opinion interpreting Proposition 200. Since then the Attorney General has issued 105-009, which similarly interprets the proposition. No court has issued an opinion interpreting the statute’s scope.
. For the reasons stated above, we do not, in determining that the Attorney General has adequately complied with the duty to render an opinion, express an opinion regarding the advice given.
. In addition to two organizations, Plaintiffs include four Arizona residents — Randall Pullen, Willa Key, George R. Childress and Robert D. Park. Proposition 200 provides that "[a]ny person who is a resident of this state shall have standing in any court of record to bring suit against any agent or agency of this state or its political subdivisions to remedy any violation of any provision of this section, including an action for mandamus.” A.R.S. § 46-140.01(C). As a result, the State apparently concedes that the Plaintiffs have standing to bring suit. Its argu-inent is that Plaintiffs nevertheless fail to state a claim. Because the Defendants do not challenge the standing of the Plaintiffs to bring suit, we do not address this issue.
