delivered the opinion of the Court.
The issue is whether San Antonio’s Board of Adjustment (“the Board”) erred in finding that land leased but not used for quarry purposes before being annexed and subsequently zoned for residential use has a “preexisting nonconforming use” as a quarry such that the residential zoning does not apply. The City of San Antonio’s Director of the Department of Building Inspections approved the lessee’s filing of a registration statement of nonconforming use based on the preexisting leases. The Board approved the director’s determination, and, on writ of certiorari, the trial court affirmed the Board’s decision. The
*426
court of appeals reversed, holding that the Board misconstrued the City’s development ordinances in a manner that led to an absurd result and rendered a provision of the ordinances superfluous.
I. Facts
Martin Marietta Materials Southwest, Inc., formerly known as Redland Stone Products Company, operates the Beck-mann Quarry on property it owns. In April 1998, Martin Marietta leased for quarrying purposes the Schoenfeld and Rogers tracts, which are adjacent to the Beckmann tract. The Beckmann Quarry was annexed into the City of San Antonio in July 1998 and zoned as a quarry district. In November 1998, the City of San Antonio annexed the Schoenfeld and Rogers tracts and zoned them for residential use.
Martin Marietta filed a registration statement of nonconforming use for the Schoenfeld and Rogers tracts with Gene Camargo, the City’s Director of the Department of Building Inspections. Camar-go approved the registration, thereby giving Martin Marietta the right to use the Schoenfeld and Rogers tracts as part of its quarrying operations in the area. Steve Wende, Charles Brown, and other San Antonio taxpayers, and the City of Shavano Park, a municipality near the quarry, appealed Camargo’s decision to the Board.
At the hearing before the Board, Martin Marietta produced evidence, including Ca-margo’s testimony, to support its right to use the property for quarrying as a nonconforming use. Specifically, Martin Marietta argued that its nonconforming use rights were supported by its preexisting (preannexation) leases. The Board affirmed Camargo’s decision, and later issued findings of fact and conclusions of law in which it found that “Camargo’s determination was correct because a preexisting lease on the property [for quarrying purposes] gave Redland Stone Products Company nonconforming use rights.” The taxpayers and the City of Shavano Park sought a writ of certiorari from the district court to reverse the Board’s decision. The trial court affirmed the Board’s decision. Wende, Brown, and the City of Shavano Park (collectively, ‘Wende”) appealed the trial court’s judgment.
After construing the City Development Code’s nonconforming use provisions and definitions, and examining the common law and other cities’ zoning ordinances, the court of appeals noted that the Board’s construction of the provisions would allow a person to obtain nonconforming use rights not only by leasing property for a nonconforming purpose, but also by merely intending to use a property for a nonconforming use. It reasoned that such a construction produced an absurd result because it would be so “diametrically at odds with the fundamental conception of nonconforming uses throughout this country.”
II. Mootness
Before addressing the merits of this case, we must first determine whether the controversy has become moot. Wende argues that the case is moot for three *427 reasons. First, Wende suggests that the controversy is mooted by the recent enactment of Local Government Code section 43.002(a)(2), which allows a landowner to establish nonconforming use rights based on a preannexation planned use. Second, Wende argues that while the appeal has been pending in this Court, the City has rezoned the land at issue from residential to quarry district, giving Martin Marietta all the relief it seeks. And finally, Wende points out that Martin Marietta and the City of Shavano Park have entered into 'a settlement agreement that prohibits Sha-vano Park from interfering with Martin Marietta’s mining of the tracts and an operating agreement that affords Wende the protections sought to keep quarry operations from moving closer to residential communities. Wende contends that the settlement agreement and operating agreement thus moot this controversy.
Martin Marietta and the Board disagree. The Board responds that it is not a party to the settlement agreement, and urges that the court of appeals’ opinion erroneously rewrites the City ordinances at issue. Martin Marietta adds that any rezoning that has occurred confers rights inferior to those it would have under nonconforming use, and the referenced settlement and operating agreements resolve only a federal lawsuit and a state court nuisance suit not at issue in this appeal.
It is well settled that “a controversy must exist between the parties at every stage of the legal proceedings, including the appeal.”
Williams v. Lara,
We agree with the Board and Martin Marietta that the controversy is not moot. While Local Government Code section 43.002(a)(2) appears to “grandfather” planned use of annexed property subject to certain filings and applications, Tex. Loc. Gov’t Code § 43.002(a)(2)(A)-(B) (Supp. 2002), Wende concedes that it does not apply to this case because the provision did not become effective until 1999, 1 after the 1998 annexations at issue in this case. Additionally, we agree with Martin Marietta that any rights it received by virtue of the recent rezoning of its property for quarry use are inferior to the nonconforming use rights it seeks. For instance, the right to quarry under the rezoning is subject to challenge for three years after the effective date of the rezoning. See id. § 51.003(a)(1) (Supp.2002). The three-year window does not apply to the nonconforming use rights that the Board affirmed, making the nonconforming use rights superior. Finally, the settlement agreement and the operating agreement do not dispose of the controversy between the Board and Wende, and they do not eliminate the nonconforming use dispute between Wende and Martin Marietta.
III. Analysis
Having decided that the controversy is not moot, we turn to the merits. In order to resolve this case, we must construe several provisions of San Antonio’s Unified Development Code. Martin Marietta filed its registration statement of nonconforming use under section 35-3064(a) of the City’s Unified Development Code, which is entitled “Registration of nonconforming uses and structures,” and provides that “[t]he owner of a nonconforming use or structure may register such nonconform- *428 mg use or structure by filing ■with the department of building inspections a registration statement.” San Antonio, Tx., Unified Development Code § 35-3064(a). Subsection (d) explains that “[t]he owner of a nonconforming use or structure in newly annexed territory is permitted one (1) year after the effective date of the annexation to register such use or structure.” Id. § 35 — 3064(d) (emphasis added).
Development Code section 35-1041, entitled “Definitions,” provides that the “terms, phrases, words, and their derivations shall have the meaning given in this section.” Id. § 35-1041. That section then defines the terms “use” and “nonconforming use.” “Use” means “[t]he purpose for which land or structures thereon is designed, arranged, or intended to be occupied or used, or for which it is occupied, maintained, rented or leased.” Id. “Nonconforming use” means “the use of an existing property or structure after the effective date of this chapter, which does [not] 2 comply with the use regulations applicable to the district in which the property is located.” Id.
The Development Code also contains section 35-3067, which provides:
Nonconforming rights may be granted to newly annexed areas in accordance with the following provisions and upon payment of the fees specified in Exhibit C. All applications for nonconforming use rights must be filed within sixty (60) days of the effective date of annexation,
(a) Incomplete construction.
(1) Construction may be completed on any structure legally under construction upon annexation provided:
a. The owner ... applies to the director of building inspections for a permit to authorize further work on the structure stating the proposed use of the structure and attaching thereto the plans and specifications relating to the construction; and
b. The construction is completed within two (2) years of the effective date of the annexation.
[[Image here]]
(b) Proposed construction.
(1) Proposed construction may be completed upon a finding by the zoning commission that sufficient evidence exists that planning for the proposed use was in progress prior to annexation....
[[Image here]]
(2) ... The applicant shall have six (6) months from the date of the zoning commission’s favorable determination to secure all building permits. After that time, the nonconforming rights shall expire.
Id. § 35-3067(a), (b) (Entitled “Newly annexed territory”). In order to establish nonconforming use rights under section 35-3067, an applicant must either apply to the director of building inspections for permits to complete incomplete construction, id. § 35-3067(a)(l)(a), or, for proposed construction, file with the zoning commission a site plan, certain financial information, an affidavit of ownership, and a narrative explaining its proposed project and its status. Id. § 35-3067(b)(l)(a)-(d).
A
As noted above, Martin Marietta filed, and both Camargo and the Board approved, Martin Marietta’s nonconforming use registration under section 35-3064, not *429 section 35-3067. Martin Marietta contends here, as it did in the court of appeals and other proceedings below, that the City’s Development Code incorporates the definition of the word “use” into the term “nonconforming use.” Thus, under the Development Code, a “nonconforming use” would exist when the “purpose for which land ... is ... leased” does not “comply with the use regulations applicable to the district in which the property is located.” San Antonio, Tx., Unified Development Code § 35-1041. Camargo reasoned that Martin Marietta’s preexisting leases provided the basis for nonconforming use rights under section 35-3064. The Board affirmed his determination on that ground. The district court affirmed the Board’s decision.
The court of appeals, however, reasoned that the leases could not underpin the nonconforming use rights under section 35-3064 because such a construction produced an absurd result contrary to both the common law and other cities’ zoning ordinances, and rendered section 35-3067(b) superfluous.
The court of appeals also noted that such an incorporation of the definition of “use” would also create a nonconforming use whenever a person could establish a preannexation “ ‘purpose for which land ... is designed, arranged or
intended to be ... used.’
”
Id.
at 170 (quoting San Antonio, Tx., Unified Development Code § 35-1041) (emphasis added in court of appeals’ opinion). Although it did “not question the City’s power to adopt such a definition,” it believed that the City would have to have been more explicit in intending an “absurd result” so “diametrically at odds with the fundamental conception of nonconforming uses throughout this country.”
Additionally, the court of appeals concluded that Martin Marietta’s construction rendered section 35-3067(b) superfluous.
Id.
at 171. That section, the court concluded, provides the procedure for obtaining nonconforming use rights in a newly annexed area if the nonconforming use did
*430
not exist before the annexation.
Id.
(citing San Antonio, Tx., Unified Development Code § 35-3067(b)). Under section 35-3067, the court reasoned, an owner must convince the zoning commission that “ ‘planning for the proposed use was in progress prior to annexation,’ ” must submit a site plan and evidence of financial commitment, and must comply with other procedures beyond merely filing a registration statement with the Department of Building Inspections.
The Board and Martin Marietta argue that the court of appeals misconstrued the City Development Code’s definition of the words “use” and “nonconforming use,” and thus erred in concluding that Martin Marietta’s preexisting leases on the Rogers and Schoenfeld tracts were insufficient to establish nonconforming use rights. They argue that the unambiguous definitions of “use” and “nonconforming use” compel the conclusion that a “nonconforming use” exists when the “purpose for which land or structures thereon is designed, arranged, or intended to be occupied or used, or for which it is occupied, maintained, rented or leased.” San Antonio, Tx., Unified Development Code § 35-1041. In this case, no one disputes that the tracts were leased for quarry purposes. Thus, the Board and Martin Marietta urge that their filing under section 35-3064 was sufficient because Martin Marietta did not propose to begin or complete any construction requiring building permits such that section 35-3067 would apply. Because they contend that the words are unambiguous, the Board and Martin Marietta believe that the court of appeals erred in using definitions other than those that the San Antonio City Council crafted in its legislative capacity. They argue that the City’s Development Code ordinances are presumed valid and that a court must not rewrite them merely because it disagrees with their policy objective.
See City of Fort Worth v. Johnson,
B
Courts use the same rules that are used to construe statutes to construe municipal ordinances.
We agree with the Board and Martin Marietta that the preexisting leases establish Martin Marietta’s nonconforming use rights under section 35-3064 and the Development Code’s definitions of “use” and “nonconforming use.” The Development Code provides that “terms, phrases, words, and their derivations shall have the meaning given in this section.” San Antonio, Tx., Unified Development Code § 35-1041. It then defines the words “use” and “nonconforming use.”
As the court of appeals acknowledged, it is undisputed that Martin Marietta leased the Rogers and Schoenfeld tracts for quarrying purposes before the tracts were annexed. No party disputes that ouarrying rights do not comply with residential zoning. Utilizing the Development Code’s definitions, we must insert the applicable portion of the definition of “use” into the definition of “nonconforming use.” The result, as the court of appeals noted but then disregarded, is that a “nonconforming use exists when ‘the purpose for which land ... is ... leased’ does not ‘comply with the [applicable] use regulations.’ ”
Regardless of the court of appeal’s determination that the common law
3
and other cities’ zoning ordinances
4
require actual preannexation use to establish nonconforming rights, the proper focus is on the City’s own legislative enactments.
See So-rokolit v. Rhodes,
The court of appeals also erred in holding that the Board’s construction of the Development Code rendered section 35-3067 superfluous. We should read statutes to avoid conflict and superfluities if possible.
City of Amarillo v. Martin,
On the other hand, applicants for nonconforming use rights who do not propose construction could never gain permanent nonconforming use rights under section 35-3067. Applicants who establish nonconforming use rights under section 35-3067(b)(1) for “[proposed construction” must “secure all building permits” within six months “from the date of the zoning commission’s favorable determination.” Id. § 35-3067(b)(2). Moreover, “[a]fter that time, the nonconforming rights shall expire.” Id. If an applicant does not propose construction or if the proposed construction does not require the applicant to secure building permits, any nonconforming rights would expire six months after they were granted. Wende urged in the lower courts that a quarry requires “construction” but never suggested that the construction was such that building permits were required under section 35-3067. Camargo testified that he had no notice that construction “of any sort that would require building permits” was anticipated on the property. In short, there is nothing in the record that indicates that Martin Marietta plans to construct anything that would require building permits in order to use the tracts for quarrying. Thus, if Martin Marietta were required to proceed under section 35 — 3067(b), even if it convinced the zoning commission that it had sufficiently planned, before annexation, to use these tracts for quarrying, its success would be short-lived because its nonconforming use rights would expire when it did not secure building permits for proposed construction within six months after the date nonconforming use rights were granted.
⅜ t'fi ⅜ ⅝ ⅜ ⅞:
In sum, we hold that Martin Marietta’s preexisting leases are sufficient to establish its nonconforming use rights under the City’s Unified Development Code. Accordingly, we reverse the court of appeals’ *433 judgment and render judgment in favor of the Board and Martin Marietta.
Notes
. Act of May 30, 1999, 76th Leg., R.S., ch. 1167, § 17, 1999 Tex. Gen. Laws 4074, 4090.
. No one disputes that due to a typographical error, the word "riot” incorrectly appears in this provision instead of the word "not.” We will quote the provision as if the word "not” appears.
.
City of Univ. Park v. Benners,
.
Thomas v. City of San Marcos,
. We express no opinion about the rights or obligations of parties seeking to establish nonconforming rights for master plans, not at issue in this case, as addressed in section 35-3067(c).
