OPINION
This appeal is from the trial court’s order granting appellee the City of Jacks-boro’s plea to the jurisdiction and dismissing the case filed by appellant Perry Teague pursuant to section 214.0012 of the local government code. Tex. Loc. Gov’t Code Ann. § 214.0012 (Vernon Supp.2005). In two issues, Teague contends that the trial court erred by granting the City’s plea to the jurisdiction because it is not a jurisdictional prerequisite to a cause of action under section 214.0012 that the plaintiff request the trial court to issue a writ of certiorari and because the constitutional issues Teague raised in his petition *815 invoked the trial court’s jurisdiction under the residual clause of the state constitution. Tex. Const, art. V, § 8; Tex. Gov’t Code Ann. § 24.008 (Vernon 2004). Because we determine that Teague’s original petition invoked the trial court’s subject matter jurisdiction, we reverse and remand.
Background
Teague owns real property in Jacksboro, Texas. On December 13, 2005, the Jacks-boro City Council approved an order requiring Teague to demolish the structure located on the property if Teague did not abate “all unhealthy and unsafe conditions” within thirty days. See Tex. Loc. Gov’t Code Ann. § 214.001. Instead of complying with the City’s order, Teague sued 1 the City in district court on January 12, 2006, seeking a declaratory judgment under section 37.004 of the civil practice and remedies code that (1) the City’s conduct in issuing the December 13, 2005 order was “arbitrary, capricious, unconstitutional, unwarranted, void and not supported by the evidence,” (2) the City’s zoning ordinances as applied to the property are so undefined, vague, overbroad, and ambiguous that they are unconstitutional, and (3) the City’s procedures in enforcing the zoning ordinances violate due process and equal protection. Teague also sought permanent and temporary injunctive relief prohibiting the City from enforcing its zoning ordinances against his property. 2 The district court issued a temporary restraining order (TRO) the same day Teague filed the petition and scheduled a hearing for January 18, 2006.
The day of the hearing, the City filed a plea to the jurisdiction, alleging that its governmental immunity had not been waived, and therefore the trial court had no subject matter jurisdiction over the ease, because Teague had failed to comply with the sole statutory procedure for challenging the order; that is, he had not filed a sworn petition requesting that the trial court issue a writ of certiorari within thirty days after receiving a copy of the City’s demolition order. See Tex. Loc. Gov’t Code Ann. § 214.0012(a). On January 20, after the thirty-day period set forth in section 214.0012(a), Teague filed a request for writ of certiorari and a first amended petition seeking the same declaratory judgment and injunctive relief, but also asking that the trial court issue a writ of certiorari “directed to the City to review the order of the municipality and prescribe in the writ the time within which a return of the writ must be made.” On January 26, 2006, the trial court granted the City’s plea to the jurisdiction, dissolved the TRO, and dismissed the case.
In its order granting the plea to the jurisdiction and dismissing the case, the trial court found and concluded the following, in pertinent part:
3. Section 214.0012 of the Texas Local Government Code requires that a writ of certiorari be filed within 30 calendar days of the date the final decision is personally delivered or mailed first class mail, return receipt requested.
[[Image here]]
6. The criteria set forth in Section 214.0012 of the Texas Local Govem *816 ment Code are jurisdictional prerequisites for obtaining review of an order of condemnation.
7. Compliance with Section 214.0012 is a statutory prerequisite to the waiver of governmental immunity under Chapter 214 of the Texas Local Government Code.
8. By failing to comply with the statutory prerequisites to establish jurisdiction, jurisdiction cannot lie as a matter of law.
9. The uncontroverted evidence demonstrated an incurable jurisdictional defect which deprives this Court of subject matter jurisdiction.
The trial court also awarded the City “its reasonable and necessary attorneys fees, costs and expenses” as well as the amount of the bond posted by Teague in obtaining the TRO.
Standard of Review
Governmental immunity from suit defeats a trial court’s subject matter jurisdiction and thus is properly asserted in a plea to the jurisdiction.
See Tex. Dep’t of Parks & Wildlife v. Miranda,
We review the trial court’s ruling on a plea to the jurisdiction based on immunity from suit under a de novo standard of review.
Id.
at 225-26, 228;
Tex. Natural Res. Conservation Comm’n v. IT-Davy,
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.
Id.; Tex. Ass’n of Bus. v. Tex. Air Control Bd.,
Analysis
In his first issue, Teague contends that his original petition conferred subject matter jurisdiction on the trial court and that his failure to timely request that the court issue a writ of certiorari is not a jurisdictional defect. The City contends that by failing to request in his original petition that the trial court grant a writ of certiora-ri, Teague failed to comply with the jurisdictional prerequisites of section 214.0012, which is mandatory in order for the City’s governmental immunity to be waived. The City also contends that Teague’s original petition did not invoke the trial court’s subject matter jurisdiction under section 214.0012 because Teague requested only a declaratory judgment and injunctive relief; thus, the City contends that the petition could not function as a petition for writ of certiorari under section 214.0012.
In the absence of a waiver of governmental immunity, a trial court does not have subject matter jurisdiction over a suit against a governmental entity.
Tex. Dep’t of Transp. v. Jones,
Section 214.0012 of the local government code provides, in pertinent part, as follows:
(a) Any owner, lienholder, or mortgagee of record of property jointly or severally aggrieved by an order of a municipality issued under Section 214.001 may file in district court a verified petition setting forth that the decision is illegal, in whole or in part, and specifying the grounds of the illegality. The petition must be filed by an owner, lienholder, or mortgagee within 30 calendar days after the respective dates a copy of the final decision of the municipality is personally delivered or mailed to them by first class mail, certified return receipt requested, or such decision shall become final as to each of them upon the expiration of each such 30 calendar day period.
(b) On the filing of the petition, the court may issue a writ of certiorari directed to the municipality to review the order of the municipality and shall prescribe in the writ the time within which a return on the writ must be made, which must be longer than 10 days, and served on the relator or the relator’s attorney.
Tex. Loc. Gov’t Code Ann. § 214.0012(a), (b).
The City contends that for its governmental immunity to be waived under section 214.0012, the statute requires Teague not only to file a verified petition stating the illegality of the City’s decision within thirty days after receiving a copy of the City’s order but also to request within that same thirty-day period that the trial court issue a writ of certiorari.
When a statute is clear and unambiguous, we “should give the statute its common meaning.”
St. Luke’s Episcopal Hosp. v. Agbor,
Although Teague’s original petition was filed within the thirty-day period prescribed under the statute, it did not specifically ask the trial court to issue a writ of certiorari, nor did it mention section 214.0012. Instead, the petition seeks declaratory judgment relief under section 37.004 of the civil practice and remedies code and temporary and permanent in-junctive relief from enforcement of the *818 City’s zoning ordinances as applied to the property. But his request for temporary injunctive relief more specifically seeks relief from enforcement of the December 13, 2005 order of the city council.
The City contends that because the petition does not seek relief under section 214.0012 and because it does not expressly request that the trial court issue a writ of certiorari, it is not adequate to invoke the trial court’s jurisdiction under section 214.0012. In determining whether Teague invoked the trial court’s subject matter jurisdiction under this section, we are guided by cases interpreting the appeal of zoning board decisions and municipal sign board decisions, which involve virtually identical procedures.
See J.B. Adver., Inc. v. Sign Bd. of Appeals,
The procedure for obtaining review of a city’s order under section 214.001 of the local government code is by petition for writ of certiorari.
Martinez,
Teague’s original petition filed within the thirty-day window does not mention section 214.0012, nor does it request that the trial court issue a writ of certiorari. But it does seek injunctive and declaratory relief; specifically, it requests relief from enforcement of the City’s zoning ordinances in general and the December 13, 2005 order. The supreme court has held that “an injunction proceeding” to restrain the maintenance of a large sign approved as a variance by the Corpus Christi Board of Adjustment was “in effect an appeal (by writ of certiorari) from the action of the Board of Adjustment.”
Scott v. Bd. of Adjustment,
Here, it is clear that in his original petition, Teague sought relief from the City’s December 13, 2005 demolition order on numerous grounds, including the illegality (by lack of due process) of the order as well as the unconstitutional application of the zoning ordinances to his property. Thus, we conclude that Teague’s original petition, which was filed within the thirty-day period set forth in section 214.0012, fit the requirements of section 214.0012(a) by “setting forth that the decision is illegal, in whole or in part, and specifying the grounds of the illegality.” Tex. Loc. Gov’t Code Ann. § 214.0012(a).
The City next contends that Teague’s original petition did not confer subject matter jurisdiction on the trial court because it did not request the issuance of a writ of certiorari within the thirty-day period.
In
Davis v. Zoning Board of Adjustment,
the supreme court held that a writ of certiorari is simply the method by which the trial court reviews a zoning board’s decision; it has nothing to do with the trial court’s subject matter jurisdiction.
In
Davis,
the trial court granted the request for writ of certiorari that was in the plaintiffs’ timely filed original petition and ordered the court clerk to issue the writ upon the plaintiffs’ posting a bond.
Id.
The plaintiffs never posted the bond, so the writ was never served on the board of adjustment.
Id.
In addition, their second amended petition failed to include a request that the trial court issue a writ of certiorari.
Davis v. Zoning Bd. of Adjustment of La Porte,
Approximately two years later, eleven days before trial, the board filed a plea in abatement complaining that it had not been served with the writ of certiorari. Id. The trial court granted the plea and gave the plaintiffs thirty days to amend their petition to again request the issuance of a writ. Id. Approximately four months after the plaintiffs filed an amended petition, the trial court dismissed the suit for lack of jurisdiction. Id. The court of appeals affirmed the trial court’s decision, reasoning that the plaintiffs did not timely invoke the trial court’s jurisdiction because they “failed to have the writ issued” within the ten-day period provided by the statute. Id. at 652. According to the court of appeals, “[a]ppeal of a board’s decision under § 211.011 requires three procedural steps before jurisdiction is conferred on the district court: (1) the petition must be timely filed; (2) the writ of certiorari must *820 be issued and served on the board; and (3) the board must make its return.” Id.
The supreme court reversed and remanded to the trial court, concluding that “[t]he statute does not contain a specific time limit for issuance of the writ,” only for the filing of a petition complaining about the illegality of the board’s order.
Davis,
This interpretation of section 211.011 of the local government code comports with the plain language of section 214.0012(a), which requires only that a party “file ... a verified petition setting forth that the decision is illegal, in whole or in part, and specifying the grounds of the illegality” within the thirty-day time period. Tex. Loo. Gov’t Code Ann. § 214.0012(a).
4
Thus, we conclude that in a suit under section 214.0012 challenging the legality of a municipality’s order, a specific request for writ of certiorari is not necessary to invoke the trial court’s subject matter jurisdiction, nor is such a request untimely if it is included in an amended petition filed after the thirty-day window. Whether the writ is requested and issued affects only whether there is a record for the trial court to review, not whether the trial court has jurisdiction over the cause of action.
See Davis,
The City cites
Martinez v. City of El Paso
for support of its contention that Teague’s request for issuance of a writ of certiorari was too late to invoke the trial court’s subject matter jurisdiction.
Because we hold that Teague complied with the requirements of section 214.0012(a) necessary to invoke the trial court’s subject matter jurisdiction, we conclude that the trial court erred by granting the City’s plea to the jurisdiction.
See
Tex. Loc. Gov’t Code Ann. § 214.0012(a);
Davis,
Conclusion
Having sustained Teague’s first issue, we reverse the trial court’s judgment and remand the case for further proceedings consistent with this opinion. 8
Notes
. Teague’s original petition was verified.
. In the factual section of his original petition, Teague contended, among other things, that the City searched his property pursuant to an illegal warrant, that the City's order was based on unsworn testimony, and that he was not given an opportunity to call witnesses or cross-examine the City's witnesses and respond to the City's allegations about the property at the City Council meeting.
. The City attempts to distinguish Davis because it involved a plea of abatement rather than a plea to the jurisdiction. Id. at 942. But this distinction is irrelevant because Davis was decided on subject matter jurisdiction grounds and is squarely on point. Id.
. Once such a petition is timely filed, the trial court "may” issue a writ of certiorari. Id. § 214.0012(b).
. If there is no record of the municipality’s decision for the trial court to review, the court must presume that the municipality’s decision is valid and supported by substantial evidence.
See Nussbaum,
. Although the appeal in Davis was from a decision of a zoning board under local government code section 211.011, the statutory appeals procedures in sections 211.011 and 214.0012 are virtually identical.
. Because Teague's first issue is dispositive, we need not address his second issue.
See
Tex.R.App. P. 47.1;
Tex. Mut. Ins. Co. v. Surety Bank, N.A.,
. On February 8, 2006, in an original proceeding ancillary to this appeal, Number 02-06-00033-CV, we granted Teague’s petition for writ of injunction and enjoined the City from enforcing the December 13, 2005 order during the pendency of this direct appeal. In accordance with our order, Teague filed a $ 1,000 cash bond. Because we have disposed of Teague’s appeal, we dissolve the writ of injunction and order the clerk of this court to release the full amount of the bond to Teague, or if Teague did not personally file the bond, to the party who filed the bond on his behalf.
