delivered the opinion of the Court.
“Sovereign immunity protects the State from lawsuits for money damages.”
Tex. Nat. Res. Conservation Comm’n v. IT-Davy,
I
Background
Lilli M. Heinrich is the widow of Charles D. Heinrich, a member of the El Paso Police Department who died in August 1985 from wounds received in the line of duty. Shortly after Charles died, the El Paso Firemen & Policemen’s Pension Fund began paying Heinrich monthly survivor benefits equal to 100% of the monthly pension her husband had earned. 1 The parties contest how those payments were apportioned. The City of El Paso, the El Paso Firemen & Policemen’s Pension Fund (“the Fund”), the Fund’s Board of Trustees (“the Board”), and the individual board members contend that the Fund’s bylaws assigned only two-thirds of this payment to Heinrich, the other third being paid to her on behalf of her then-minor child. Heinrich, on the other hand, contends that, notwithstanding the bylaws, the Board voted to award her 100% of Charles’ pension benefits in her own right, as more fully explained below.
Accordingly, when in 2002 the Board reduced the monthly payments to Heinrich by one-third after Heinrich’s son turned 28, Heinrich filed this lawsuit, alleging that petitioners violated the statute governing the Fund by reducing her benefits retroactively. Heinrich sought both declaratory relief and an injunction restoring Heinrich to the “status quo from [the] date of the illegal act.” Petitioners filed pleas to the jurisdiction asserting that governmental immunity shielded the governmental entities from suit and that the individual board members enjoyed official immunity. The trial court denied the pleas, and petitioners filed an interlocutory appeal.
The court of appeals affirmed, holding that “a party may bring a suit seeking declaratory relief against state officials who allegedly act without legal or statutory authority and such suit is not a ‘suit against the state.’ ”
II
Discussion
A
Ultra Vires Claims
Petitioners contend that although Heinrich requests declaratory and equitable relief, her claim is essentially for past and future money damages, and that governmental immunity therefore bars her suit. As we said in
Reata Construction Corp. v. City of Dallas,
“ ‘[sovereign immunity protects the State from lawsuits for money damages.’ Political subdivisions of the state ... are entitled to such immunity—
*370
referred to as governmental immunity— unless it has been waived.”
Reata,
Heinrich concedes that the City, Fund, and Board enjoy governmental immunity from suit, but argues that because her claim alleges a reduction in her benefits that was unauthorized by law, it is not barred. This is so, she says, because “[pjrivate parties may seek declaratory relief against state officials who allegedly act without legal or statutory authority.”
Id.
at 855 (citing
Tex. Educ. Agency v. Deeper,
A state official’s illegal or unauthorized actions are not acts of the State. Accordingly, an action to determine or pro-fect a private party’s rights against a state official who has acted without legal or statutory authority is not a suit against the State that sovereign immunity bars. In other words, we distinguish suits to determine a party’s rights against the State from suits seeking damages. A party' can maintain a suit to determine its rights without legislative permission.
Fed,. Sign,
On this basis, Heinrich argues that rather than money damages, she seeks only equitable and injunctive relief under the Uniform Declaratory Judgment Act. That Act is a remedial statute designed “to settle and to afford relief from uncertainty and insecurity with respect to rights, status, and other legal relations.” Tex. Civ. Prac. & Rem.Code § 37.002(b). It provides: “A person ... whose rights, status, or other legal relations are affected by a statute, municipal ordinance, contract, or franchise may have determined any question of construction or validity arising under the ... statute, ordinance, contract, or franchise and obtain a declaration of rights, status, or other legal relations thereunder.”
Id.
§ 37.004(a). The Act, however, does not enlarge a trial court’s jurisdiction, and a litigant’s request for declaratory relief does not alter a suit’s underlying nature.
3
IT-Davy, 74
S.W.3d
*371
at 855;
State v. Morales,
Heinrich relies on
State v. Epperson,
By legislative act the state has constituted the tax collector of the county its agent to receive delinquent taxes collected under such contract, and it is the duty of such officer to pay all fees and commissions lawfully incurred in the collection thereof to the various parties who may be entitled thereto. Under such circumstances, the tax collector’s duty with reference to money belonging to persons who are entitled under valid contracts to receive the same from him is purely ministerial. If he withholds the payment of such funds when a person is lawfully entitled to receive same, he has failed to discharge a duty imposed upon him by law and his act is a wrongful one.
Epperson,
Thus, the rule arising out of Epperson is that while suits for contract damages against the state are generally barred by immunity, where a statute or the constitution requires that government contracts be made or performed in a certain way, leaving no room for discretion, a suit alleging a government official’s violation of that law is not barred, even though it necessarily involves a contract. We explained this distinction in W.D. Haden Co. v. Dodgen:
[Although [Epperson ] ar[ose] out of [ ] contract transaction ... [it] appears to fall into the class of cases projected by United States v. Lee, [106 U.S. 196 ,1 S.Ct. 240 ,27 L.Ed. 171 (1882) ]. 4 In that class of cases it is held that suits for property alleged to be unlawfully or wrongfully withheld from the rightful owner by officers of the state are not suits against the sovereign itself and may be maintained without permission of the sovereign.
From this rationale, it is clear that suits to require state officials to comply with statutory or constitutional provisions are not prohibited by sovereign immunity, even if a declaration to that effect compels the payment of money. To fall within this
ultra vires
exception, a suit must not complain of a government officer’s exercise of discretion, but rather must allege, and ultimately prove, that the officer acted without legal authority or failed to perform a purely ministerial act.
Compare Epper-son,
Further, while “[a] lack of immunity may hamper governmental functions by requiring tax resources to be used for defending lawsuits ... rather than using those resources for their intended purposes,”
Reata Constr. Corp.,
B
Proper Parties
Nonetheless, as a technical matter, the governmental entities themselves — as opposed to their officers in
*373
their official capacity — remain immune from suit. We have been less than clear regarding the permissible use of a declaratory remedy in this type of
tiltra vires
suit.
6
Must it be brought directly against the state or its subdivisions? Or must it be brought against the relevant government actors in their official capacity?
Compare Fed. Sign,
C
Permissible Relief
But the
ultra vires
rule is subject to important qualifications. Even if such a claim may be brought, the remedy may implicate immunity.
Cf.
13 Charles Alan Wright & Arthur R. Miller, Federal Practice & Procedure § 3524.3 (under fed
*374
eral immunity law, an
ultra vires
suit may be brought but “if the defendant is a state officer, sovereign immunity bars the recovery of damages from the state treasury in a private suit”). This is a curious situation: the basis for the
ultra vires
rule is that a government official is not following the law, so that immunity is not implicated, but because the suit is, for all practical pui’poses, against the state, its remedies must be limited.
Cf Fla. Dep’t of State v. Treasure Salvors, Inc.,
We also stated that “in every suit against a governmental entity for money damages, a court must first determine the parties’ contract or statutory rights; if the sole purpose of such a declaration is to obtain a money judgment, immunity is not waived.”
Id.
This does not mean, however, that a judgment that involves the payment of money necessarily implicates immunity. Drawing the line at monetary relief is itself problematic, as “[i]t does not take much lawyerly inventiveness to convert a claim for payment of a past due sum (damages) into a prayer for an injunction against refusing to pay the sum, or for a declaration that the sum must be paid, or for an order reversing the agency’s decision not to pay.”
Bowen v. Massachusetts,
Parsing categories of permissible relief in cases implicating immunity inevitably involves compromise.
See, e.g.,
Douglas LaYCOCK, MODERN AMERICAN REMEDIES 482 (3d ed. 2002) (“The law of remedies against governments and government officials is a vast and complex body of doctrine, full of technical distinctions, fictional explanations, and contested compromises.”). The United States Supreme Court has held that, under federal immunity law, claims for prospective injunctive relief are permissible, while claims for retroactive relief are not, as such an award is “in practical effect indistinguishable in many aspects from an award of damages against the State.”
Edelman v. Jordan,
The injunction issued in Ex parte Young was not totally without effect on the State’s revenues, since the state law which the Attorney General was enjoined from enforcing provided substantial monetary penalties against railroads which did not conform to its provisions. Later cases from this Court have authorized equitable relief which has probably had greater impact on state treasuries than did that awarded in Ex parte Young. In Graham v. Richardson,403 U.S. 365 ,91 S.Ct. 1848 ,29 L.Ed.2d 534 (1971), Arizona and Pennsylvania welfare officials were prohibited from denying welfare benefits to otherwise qualified recipients who were aliens. In Goldberg v. Kelly,397 U.S. 254 ,90 S.Ct. 1011 ,25 L.Ed.2d 287 (1970), New York City welfare officials were enjoined from following New York State procedures which authorized the termination of benefits paid to welfare recipients without prior hearing. But the fiscal consequences to state treasuries in these cases were the necessary result of compliance with decrees which by their terms were prospective in nature. State officials, in order to shape their official conduct to the mandate of the Court’s decrees, would more likely have to spend money from the state treasury than if they had been left free to pursue their previous course of conduct. Such an ancillary effect on the state treasury is a permissible and often an inevitable consequence of the principle announced in Ex parte Young, supra.
Id.
at 667-68,
While “[t]he line between prospective and retrospective remedies is neither self-evident nor self-executing,” Laycook, Modern American Remedies at 483, the Supreme Court shed further light on the issue in
Milliken v. Bradley,
This compromise between prospective and retroactive relief, while imperfect, best balances the government’s immunity with the public’s right to redress in cases involving
ultra vires
actions, and this distinction “appear[s] in the immunity of the United States, and in the law of most states’ immunity from state-law claims.” Laycook, Modern American Remedies at 482. It also comports with the modern justification for immunity: protecting the public fisc.
Tooke v. City of Mexia,
197
*376
S.W.3d 325, 331-32 (Tex.2006) (observing that immunity “shield[s] the public from the costs and consequences of improvident actions of their governments”);
Federal Sign,
This approach is inconsistent with
Epperson,
however, in which we held that, if successful, Epperson would be entitled to “the sum of $93,000 which belonged to him as his commission for services rendered.”
Epperson,
But this rule is not absolute. For example, a claimant who successfully proves a takings claim would be entitled to compensation, and the claim would not be barred by immunity even though the judgment would require the government to pay money for property previously taken.
Gen. Servs. Comm’n v. Little-Tex Insulation Co.,
Heinrich has not alleged a takings claim. In the trial court, Heinrich alleged only that “a suit for equitable relief against a governmental entity for violation of a provision of the Texas Bill of Rights is excepted from ... sovereign immunity under Texas Constitution article [I], section 29” without specifying which provision of the Bill of Rights had been violated. In the court of appeals, however, she clarified that her constitutional complaint was a “violation of Article 1, section 16.” TEX. CONST, art. I, § 16 (“No bill of attainder, ex post facto law, retroactive law, or any law impairing the obligation of contracts, shall be made.”). Petitioners contend that she waived this argument by failing to
*377
raise it in the trial court.
See Tex. Dep’t of Protective & Regulatory Servs. v. Sherry,
As we have repeatedly noted, the Legislature is best positioned to waive immunity, and it can authorize retrospective relief if appropriate. See, e.g., Tex. Looal Gov’t Code § 180.006 (enacted after Williams and waiving immunity for firefighter and police officer claims for back pay and civil penalties). There are cases in which prospective relief is inadequate to make the plaintiff whole, but the contours of the appropriate remedy must be determined by the Legislature.
Thus, Heinrich’s claims for prospective relief may be brought only against the appropriate officials in their official capacity, and her statutory claims for future benefits against the City, Fund, and Board must be dismissed.
9
Heinrich’s pleadings are unclear as to the capacity or capacities in which she has sued the individual Board members. The United States Supreme Court has observed that, “[i]n many cases, the complaint will not clearly specify whether officials are sued personally, in their official capacity, or both.”
Kentucky v. Graham,,
D
Evidence That Petitioners Acted Ultra Vires
In their second issue, petitioners argue that governmental immunity prohib *378 its Heinrich’s suit because Heinrich has offered no evidence that the reduction in her benefits was illegal or unauthorized. We conclude, however, that Heinrich has presented evidence raising a fact question on this issue.
“When a plea to the jurisdiction challenges the pleadings, we determine if the pleader has alleged facts that affirmatively demonstrate the court’s jurisdiction to hear the cause. We construe the pleadings liberally in favor of the plaintiffs and look to the pleaders’ intent.”
Miranda,
This is not the end of our analysis, however: “if a plea to the jurisdiction challenges the existence of jurisdictional facts, we consider relevant evidence submitted by the parties when necessary to resolve the jurisdictional issues raised, as the trial court is required to do.” Id. at 227. If there is no question of fact as to the jurisdictional issue, the trial court must rule on the plea to the jurisdiction as a matter of law. Id. at 228. If, however, the jurisdictional evidence creates a fact question, then the trial court cannot grant the plea to the jurisdiction, and the issue must be resolved by the fact finder. Id. at 227-28. This standard mirrors our review of summary judgments, and we therefore take as true all evidence favorable to Heinrich, indulging every reasonable inference and resolving any doubts in her favor. Id. at 228.
Petitioners argue that, in accordance with the governing bylaws, the payments to Heinrich were reduced when her son ceased to be eligible to receive them, and asserts that the statutory provisions Heinrich relies upon are “inapplicable.” Conversely, Heinrich alleges that she was awarded 100% of her husband’s pension in accordance with these provisions, and that petitioners’ subsequent retroactive reduction of her benefits violated, among others, article 6243b, section 10A(a)(l) of the Texas Revised Civil Statutes. The relevant portions of article 6243b, section 10A provide:
(a) Notwithstanding anything to the contrary in other parts of this Act and subject to Subsections (b) and (c) of this section, the Board of Trustees may, by majority vote of the whole board, make from time to time one or more of the following changes, or modifications:
(1) modify or change prospectively or retroactively in any manner whatsoever any of the benefits provided by this Act, except that any retroactive change or modification shall only increase pensions or benefits;
:[; ⅝ ⅜
(b) None of the changes made under Subsection (a) of this section may be made unless all of the following conditions are sequentially complied with:
(1) the change must be approved by a qualified actuary selected by a four-fifths vote of the Board; the actuary’s approval must be based on an actuarial finding that the change is supported by the existing funding status of the fund; the actuary, if an individual, must be a Fellow of the Society of Actuaries or a Fellow of the Conference of Actuaries in Public Practice or a Member of the American Academy of Actuaries; the actuary, if an actuarial consulting firm, must be established in the business of providing actuarial consulting services to pension plans and have experienced personnel able to provide the requested *379 services; the findings upon which the properly selected and qualified actuary’s approval are based are not subject to judicial review;
(2) the change must be approved by a majority of all persons then making contributions to the fund as employees of a department to which the change would directly apply, voting by secret ballot at an election held after ten (10) days’ notice given by posting at a prominent place in every station or substation of a department to which the change would directly apply and in the city hall;
tex.Rev.Civ. Stat. art. 6243b, § 10A (emphasis added). Under this statute, while benefits may be increased if certain procedures are followed, the Board has no discretion to retroactively lower pensions. Petitioners, however, cite the provisions of the 1980 bylaws, under which the reduction would be proper due to Heinrich’s son’s age. They therefore suggest that Heinrich erroneously relies on 1985 changes to the bylaws that increased the surviving spouse’s share but were prospective only in nature and do not apply to Heinrich.
Heinrich submitted an affidavit from John Batoon, former Assistant City Attorney for El Paso. 11 Batoon’s affidavit provided:
I was serving as an Assistant City Attorney for the City of El Paso in 1985. I reviewed and approved the award to Ms. Lilli M. Heinrich of 100% of her deceased husband’s, Charles D. Heinrich, benefits from The El Paso Firemen & Policemen’s Pension Fund. All procedures were followed according to the Plan and according to law. The membership voted and approved of the benefits awarded Ms. Heinrich as was required by the Plan. Because Mr. Heinrich had been an outstanding police officer for the City of El Paso and because he was killed in the line of duty, the Board of Trustees and the membership voted to award Ms. Heinrich 100% of Mr. Heinrich’s benefits.
Consideration of the amount of benefits awarded Ms. Heinrich was not based, in any way, on the fact that she had a minor child at that time. Ms. Heinrich was awarded 100% of the benefits because Mr. Heinrich had been a well-loved officer and his death was a terrible loss for the police department. It was the Board of Trustees and the membership’s way of paying tribute to a fallen officer.
Along with this sworn testimony, the evidence included a pair of October 16, 1985 letters from the chief of police, one signed by the then-Board members, stating that “Mrs. Heinrich will receive 100% of her husband’s final pension amount,” and one unsigned, stating that 100% would go to “Mrs. Heinrich and her dependent children.” The minutes of the November 20, 1985 Board meeting also indicate that the membership had previously voted to change benefits so that surviving spouses’ benefits would increase from 66 2/3 to 100% of the pension amount. The Board contends that these bylaw changes do not apply to Heinrich, but even if they do not, Batoon’s affidavit and the letters raise a fact question as to whether Heinrich’s individual benefits were increased to 100% of her husband’s pension payments under the provisions of article 6243b and subsequently reduced in violation thereof. We conclude that the trial court correctly denied that portion of the plea to the jurisdiction
*380
challenging Heinrich’s claims against the individuals in their official capacities.
Miranda,
E
The Individuals’ Immunity
In their final issue, petitioners assert that the trial court erred in denying the individual board members’ plea to the jurisdiction based on governmental and official immunity. With the limited
ultra vires
exception discussed above, governmental immunity protects government officers sued in their official capacities to the extent that it protects their employers.
See Univ. of Tex. Med. Branch v. Hohman,
III
Conclusion
In sum, because there is a question of fact as to whether Heinrich’s pension payments have been reduced in violation of state law, her claims for prospective declaratory and injunctive relief against the Board members and the mayor in their official capacities may go forward, but we dismiss her retrospective claims against them. All of her claims against the City, Fund, and Board, however, are barred by governmental immunity, and we dismiss them. Finally, we hold that the Board members have not been sued in their individual capacities, and to the extent the court of appeals held otherwise, we reverse its judgment. We affirm in part and reverse in part the court of appeals’ judgment and remand this case to the trial court for further proceedings. Tex.R.App. P. 60.2(a),(d).
Notes
. The City withheld a percentage of Charles's compensation (and that of other officers) to fund the plan.
. The State of Texas and the Texas State Association of Fire Fighters submitted amicus curiae briefs.
. We recently dismissed a claim for declaratory and injunctive relief against the Houston Municipal Employees Pension System in which the "plaintiffs ... requested that the trial court issue an injunction directing the pension board to comply with the trial court’s interpretation of Article 6243h,” the governing statute.
Houston Mun. Employees Pension Sys. v. Ferrell,
. The
Dodgen
Court expressly declined to limit
Epperson
based on changes in federal immunity jurisprudence.
Dodgen,
. Because the policy embodied in the law extends only as far the amount wrongfully withheld, claims for amounts beyond those alleged to be due under the relevant law, such as consequential damages, remain barred by immunity.
. For claims challenging the validity of ordinances or statutes, however, the Declaratory Judgment Act requires that the relevant governmental entities be made parties, and thereby waives immunity. Tex. Civ. Prac. & Rem. Code § 37.006(b) (“In any proceeding that involves the validity of a municipal ordinance or franchise, the municipality must be made a party and is entitled to be heard, and if the statute, ordinance, or franchise is alleged to be unconstitutional, the attorney general of the state must also be served with a copy of the proceeding and is entitled to be heard.”);
see Wichita Falls State Hosp. v. Taylor,
. State officials may, of course, be sued in both their official and individual capacities. Judgments against state officials in their individual capacities will not bind the state.
See Alden v. Maine,
. Further, although the parties do not address it, we note that the reduction in Heinrich's survivor payments occurred before the effective date of article XVI, section 66 of the Texas Constitution ("Protected Benefits Under Certain Public Retirement Systems”), and we do not consider whether it would otherwise apply in this case.
. While this case was pending on interlocutory appeal, the Legislature enacted 271.151-.160 of the Local Government Code, waiving immunity from suit for certain claims against cities and other governmental entities. Heinrich does not argue that her claims fall within these provisions, and we express no opinion on that subject.
.Because the mayor of El Paso, who is also a Board member, was named as a defendant in his official capacity, Heinrich may seek liability from the City through that officer, although her claims against the City itself must be dismissed.
. The Fund, the Board, and the Board members objected to this evidence. The trial court did not explicitly rule on the objections, and the petitioners do not raise any evidentiary issues on appeal.
. The court of appeals failed to draw this distinction, instead discussing the protections available to officials from governmental immunity.
