We withdraw the opinion of this Court dated November 10, 1993, and substitute the following in its place.
Appellant, Liberty Mutual Insurance Company, filed suit against appellees John Sharp, Comptroller of Public Accounts, and James Lynaugh, Executive Director of the Texas Department of Criminal Justice (TDCJ), in their official capacities. Appellees filed a plea to the jurisdiction which the trial court granted, dismissing the suit with prejudice. We will affirm the trial court’s order.
BACKGROUND
On April 28, 1988, TDCJ entered into a contract for the construction of a pre-engi-neered building system with Trio Metal Buildings, Inc. To comply with state law, Trio Metal obtained payment and performance bonds from Liberty Mutual. See Act of May 20,1977, 65th Leg., R.S., ch. 809, § 1, art. 5160(A), 1977 Tex.Gen.Laws 2027, 2027 (Tex.Rev.Civ.Stat.Ann. art. 5160, since amended). Trio Metal defaulted on the TDCJ contract, and Liberty Mutual paid or offered to pay $507,782.37 in claims under Trio Metal’s payment bond.
At the time of its default, Trio Metal owed the State of Texas $100,279.59 in sales taxes. TDCJ owed Trio Metal an outstanding payment on the contract of approximately $300,-000. Trio Metal subsequently filed bankruptcy. During the bankruptcy proceedings, the bankruptcy court ordered that any outstanding payments on the TDCJ contract be placed in an escrow account in favor of Liberty Mutual. Pursuant to this order, the Comptroller issued a warrant payable to Trio Metal in the amount of approximately $200,-000 and delivered the warrant directly to Liberty Mutual. The Comptroller had offset Trio Metal’s outstanding tax liability against the amount due under the contract.
In January 1991, Liberty Mutual filed suit to recover the $100,279.59 withheld by the Comptroller. Liberty Mutual claimed that these sums were wrongfully and unlawfully held by the TDCJ and the State. The pleadings expressly state that this suit was filed against both John Sharp and James Lynaugh in their official capacities:
Defendant John Sharp is the Comptroller of the Public Accounts of the State of Texas, is being sued in his official capacity as the Comptroller, and may be served with process at 111 E. 17th Street, Austin, Texas. Defendant James Lynaugh is the Executive Director of The Texas Department of Criminal Justice, is being sued in his official capacity as Executive director, and may be served with process at the Brown Oil Tool Building, Spur 59, Huntsville, Texas.
Additionally, plaintiff included in its petition the following:
JURISDICTION
Plaintiffs [sic] will have a Resolution to Sue presented to the 1991 Texas Legislature when it convenes in January 1991.
2. Venue is appropriate in Travis County, Texas, as this suit is being brought against officers and agents of the State of Texas in their official capacity as representatives of State of Texas agencies.
*738 In its request for relief, Liberty Mutual prays for judgment against “defendants” for monies wrongfully appropriated and withheld. The trial court dismissed the suit for want of jurisdiction. In a single point of error, Liberty Mutual asserts that the trial court’s dismissal was error because the suit is not barred by the doctrine of governmental immunity.
GOVERNMENTAL IMMUNITY
The doctrine of governmental immunity bars Liberty Mutual’s claims against John Sharp and James Lynaugh in their official capacities. This Court has previously held that a suit against a state officer in his official capacity is a suit against the state.
Pickell v. Brooks,
Liberty Mutual argues that it may maintain this cause of action without legislative or statutory authority because its rights have been violated by the unlawful acts of state officials.
See Cobb v. Harrington,
When the purpose of a suit against an officer or agency of the State is to impose liabilities on or enforce liabilities against the State, it is in effect a suit against the State, and cannot be maintained without legislative consent.
Griffin v. Hawn,
Liberty Mutual also asserts that the appel-lees’ plea to the jurisdiction was procedurally flawed because: (1) Liberty Mutual was not given an opportunity to amend its pleadings; (2) appellees failed to prove lack of jurisdiction by extrinsic evidence; and (3) the plea was not properly verified. Because of the nature of subject-matter jurisdiction, Liberty Mutual’s claims are without merit.
A court’s jurisdiction is conferred by the constitution and the statutes; a court without jurisdiction cannot render a valid judgment.
City of Beaumont v. West,
Liberty Mutual also contends that the appellees’ plea to the jurisdiction was unsupported by evidence. However, the appellees were not required to present any evidence regarding the legislature’s waiver of governmental immunity. Liberty Mutual’s pleadings did not allege adequate grounds for jurisdiction. In deciding whether to grant a plea to the jurisdiction, the trial court must look solely to the allegations in the petition.
Texas Ass’n of Business v. Texas Air Control Bd.,
We do not address Liberty Mutual’s contention that the plea was not verified. This objection was not raised at the trial-court level, and appellant may not raise the issue for the first time on appeal.
See Builders Bargain Ctr., Inc. v. National Gypsum Co.,
*740
Having concluded that the trial court properly dismissed this suit for want of jurisdiction, we overrule Liberty Mutual’s point of error. We have considered Liberty Mutual’s motion for rehearing, and it is also overruled. Accordingly, we affirm the trial court’s order dismissing the cause with prejudice for want of jurisdiction.
Notes
. In recognition of the requirement that the State give its consent to be sued, plaintiffs in this case indicated in their pleadings their intent to seek a legislative waiver of governmental immunity.
. We note that the government has the right to set off taxes owed by a defaulting contractor against a retainage such as the one at issue in this case when the surety makes its claim to that retainage under a payment bond. This is because in that situation, the surety's claim to the retainage is derivative of that of the defaulting contractor.
See United States
v.
Munsey Trust Co.,
. Because we hold that Liberty Mutual cannot maintain this suit based on a theory of improper action by state officials, we do not address its contention that section 112.108 of the Tax Code does not bar this suit. See Tex.Tax Code Ann. § 112.108 (West 1992).
