OPINION ON REHEARING
Opinion by
We issued our original opinion in the above referenced cases on August 10, 2004.
See City of Dallas v. David S. Martin,
On June 30, 2006, the Texas Supreme Court withdrew its original opinion in
Rea-ta
and substituted a new opinion in its place.
See Reata Constr. Corp. v. City of Dallas,
I.
These cases arose out of an ordinance adopted by the City of Dallas in 1979 in accordance with a voter-approved pay referendum. The ordinance stated, among other things, that each sworn police officer, fire fighter, and rescue officer employed by the City would receive a pay raise and that “the current percentage pay differential between grades in the sworn ranks of the Dallas Police Force and the Fire Fighter and Rescue Force shall be maintained.” Appellees contend the ordinance amended their alleged employment contracts with the City to add a requirement that the City maintain the percentage pay differential between the grades in all future salary adjustments. Appellees filed suits claiming the City breached its contracts with them by repeatedly raising the pay of the highest ranking officers without making corresponding increases to the salaries received by the lower ranks. Appellees asserted claims for breach of contract seeking back pay, benefits, and prejudgment and post-judgment interest. Appellees also sought a declaratory judg *641 ment to establish that their construction of the ordinance was correct.
In response to appellees’ claims, the City filed answers and counterclaims for alleged overpayments of salaries. According to the City, if appellees’ construction of the ordinance was correct, then all salary adjustments made after the ordinance was adopted were void and unenforceable. The City argued that if the salary adjustments were unenforceable, appellees were required to return to the City any additional money paid to them pursuant to the allegedly void salary adjustments.
On June 4, 2003, the City filed pleas to the trial court’s jurisdiction contending that its governmental immunity from suit had not been waived and, therefore, the trial court lacked subject matter jurisdiction over each case. Appellees responded that the City’s immunity from suit was expressly waived in both section 51.075 of the Texas Local Government Code and chapter II of the Dallas City Charter. Specifically, the Local Government Code states that a municipality may “plead and be impleaded in any court.” See Tex. Local Gov’t Code Ann. § 51.075 (Vernon 1999). The Dallas City Charter states that the City has the power to “sue and be sued” and to “implead and be im-pleaded in all courts.” Dallas City CHARTER ch. II, § 1(2), (3) (Aug. 1999). 2
During the pendency of the City’s appeal, the Texas Supreme Court issued its original opinion in
Reata Construction Corp. v. City of Dallas. See Reata Constr. Corp. v. City of Dallas,
47 Tex. Sup.Ct. J. 408,
Approximately two years after issuing its original opinion in
Reata,
the Texas Supreme Court withdrew its opinion and issued a new opinion limiting the waiver of governmental immunity caused by a governmental entity’s assertion of claims for affirmative relief.
See Reata,
*642 II.
It is well established that sovereign immunity from suit protects the State of Texas, its agencies, and its officials from lawsuits for damages unless it is waived by clear and unambiguous legislative consent to suit.
See Fed. Sign v. Tex. S. Univ.,
Appellees contend that consent was granted by the legislature in section 51.075 of the Texas Local Government Code where the legislature stated that municipalities “may plead and be impleaded in any court.” See Tex. Local Gov’t Code Ann. § 51.075. Appellees further argue that consent to suit can be found also in chapter II of the Dallas City Charter, which states that the City has the power to “sue and be sued” and to “implead and be impleaded in all courts.” Dallas City CharteR ch. II, § 1(2), (3) (Aug. 1999).
In
Tooke,
the supreme court held the phrases “sue and be sued” and “plead and be impleaded” mean different things in different statutes and do not, by themselves, waive immunity.
See Tooke,
As an alternative basis for finding jurisdiction and affirming the trial court’s orders, appellees argue that the City’s counterclaims seeking affirmative monetary relief against them waived the City’s sovereign immunity from suit. For the purposes of our analysis, we will assume the City’s decision to bring counterclaims waived its immunity from suit for appel-lees’ claims in these cases to the extent set forth in Reata. What we determine is the effect, if any, of the City’s decision to withdraw its counterclaims. Applying Reata and its underlying rationale, we conclude that, to the extent the City may have waived its immunity from suit in these cases by filing counterclaims, it reinstated its immunity from suit when it dismissed its counterclaims.
In Reata, the Texas Supreme Court held that a “decision by the City of Dallas to file suit for damages encompassed a decision to leave its sphere of immunity from suit for claims against it which are germane to, connected with and properly defensive of claims the City asserts.” Id. This waiver of immunity is limited, however. The government continues to have immunity from suit for affirmative damage claims against it for monetary relief exceeding amounts necessary to offset its own claims. Id. at 377. The government only waives immunity, therefore, to the *643 extent the opposing party’s claims could offset any recovery against it. Id. at 378.
At the heart of the decision in Reata is the seminal idea that sovereigns should be, and traditionally have been, protected from the expense of litigation because governmental functions would be hampered by requiring tax resources to be expended on defending lawsuits and paying judgments rather than on their intended purposes. See id. at 375. Where the government brings its own affirmative claims, however, it has obviously concluded that the expense of litigation is worthwhile in light of its potential recovery in that case. See id. at 383 (Brister, J., concurring). Once the government asserts its affirmative claims, it must participate as any other litigant and is subject to all proper defensive matters, including offset. See id. at 377.
A government’s decision to expend resources in pursuit of a potential recovery, however, does not encompass the unrelated issue of putting public funds at risk of a potentially costly judgment. It is for this reason that any waiver of immunity is limited to the extent of the government’s affirmative claim. See id. Although under Reata an opposing party may assert an offset claim against the government, the opposing party cannot recover damages against the governmental entity. See id. The trial court’s jurisdiction to render judgment is limited to deciding the government’s entitlement to a particular sum and any appropriate offset of that sum. See id. at 383 (Brister, J., concurring). In this way, the government can control the amount of public funds it is willing to subject to the often unpredictable litigation process.
Because the City’s waiver of immunity by filing counterclaims in these cases was limited to a determination of whether it could recover any of the amounts it alleged it was owed, the trial court’s jurisdiction was necessarily dependent upon the continued existence of the City’s counterclaims. Once the City dismissed its affirmative claims, appellees’ claims for damages were no longer “germane to,” “connected with,” or “properly defensive of’ any claims being made by the City. Because appellees’ claims for damages were no longer in the nature of an offset, they no longer fell within the limited waiver of immunity described in Reata. Therefore, the City’s now withdrawn counterclaims cannot form the basis of the trial court’s jurisdiction over appellees’ claims.
Although the supreme court’s opinions in
Tooke
and
Reata
limited the potential bases for waiver of sovereign immunity, during the same time those opinions were being issued and while this case was pending on rehearing, the Texas Legislature enacted sections 271.151-60 of the Texas Local Government Code. Sections 271.151-60 waive immunity from suit for certain claims against local governmental entities.
See
Tex. Local Gov’t Code Ann. § 271.152 (Vernon 2005). The sections apply retroactively to claims that arise under a written contract for goods or services if sovereign immunity has not been waived with respect to the claims before the effective date of the subchapter.
See
Act of May 23, 2005, 79th Leg., R.S., ch. 604, § 2, 2005 Tex. Gen. Laws 1548, 1549. Appel-lees have pleaded claims for breach of contract. The appropriate action in cases such as these is to remand the claims to the trial court to allow appellees the opportunity to argue that the legislature has waived the City’s immunity from suit by these new statutory provisions.
See City of Houston v. Clear Channel Outdoor, Inc.,
*644
In addition to their breach of contract claims, appellees also brought a declaratory judgment action. Under the Uniform Declaratory Judgments Act, persons “affected by a statute, municipal ordinance, contract, or franchise may have determined any question of construction or validity arising under the instrument, statute, ordinance, contract, or franchise and obtain a declaration of rights, status, or other legal relations thereunder.” Tex. Civ. Prag. & Rem.Code Ann. § 37.004 (Vernon 1997). Governmental entities must be joined in suits to construe their legislative pronouncements.
See Tex. Educ. Agency v. Leeper,
Sovereign immunity cannot be circumvented, however, by characterizing a suit for damages as a declaratory judgment action.
See IT-Davy,
Based on the foregoing, we affirm the trial court’s denial of the City’s plea to the jurisdiction with respect to appellees’ requests for a declaratory judgment. We reverse the trial court’s orders with respect to appellees’ claims for breach of contract and remand the causes to the trial court for further proceedings consistent with this opinion.
Notes
. Concurrent with issuing this opinion, we also issue our opinion on rehearing in
City of Dallas v. Albert,
. Appellees also noted that the Dallas City Charter granted the City the right to "contract and be contracted with." The act of contracting waives only the City's immunity from liability, however, not its immunity from suit.
See Fed. Sign v. Tex. S. Univ.,
