MURDOCK, Justice.
The City of Montgomery (“the City”) appeals from a summary judgment in favor of the Town of Pike Road (“the Town”), a municipal corporation in Montgomery County, and Gordon Stone, in his official capacity as mayor of the Town, in an action challenging the Town’s right to annex three parcels of land in Montgomery County. We reverse and remand.
I. Factual Background
In 2007, Montgomery County (“the County”) and the Montgomery County Commission (“the Commission”) sued the Town and Mayor Stone. Subsequently, the County and the Commission (hereinafter referred to collectively as “the County plaintiffs”) amended their complaint to add the City as a defendant.
The City filed an answer to the complaint as well as a cross-claim against the Town, which contained essentially the same averments and sought similar relief as the County plaintiffs’ complaint. Both the City and the County plaintiffs challenged the Town’s purported annexation of three parcels of property. The City’s cross-claim, for example, averred that, in August 2007, the Town “passed ordinances in an invalid attempt to annex the [par[577] cels].” More specifically, the City alleged that the purported annexations were void for, among other things, “lack of contiguity with the corporate limits of [the Town]” and failure to comply with the “statutory requirements for annexation.” The City and the County plaintiffs sought a judgment declaring the annexations void and writ of quo warranto nullifying the annexations.
All parties moved for a summary judgment. On April 16, 2008, the trial court entered an order purporting to grant the summary-judgment motions filed by the City and the County plaintiffs and to deny the summary-judgment motion filed by the Town and Stone. The order declared, in pertinent part, “that the purported annexations of [two of the parcels] by [the Town] are legally flawed for failure to comply with the applicable annexation statute, are void and neither parcel/property is annexed into the Town of Pike Road.”1
Subsequently, the Town and Stone moved to alter, amend, or vacate the judgment, arguing, in pertinent part:
“4. On June 2, 2008, counsel for [the Town] became aware of Act No. 2008-481, which was passed during the 2008 Regular Session of the Alabama Legislature. Act No. 2008-481 attached hereto as Exhibit 2.
“5. Act No. 2008-481(b) provides:
“ ‘[ (b) ] In addition to the provisions of subsection (a), in all cases in which there has been after the year 1990, an attempt to organize the inhabitants of any territory as a municipal corporation under the laws of this state and the judge of probate of the county in which the territory is situated has entered an order that the inhabitants of the territory are incorporated as a town or city, as the case may be, the incorporation is hereby validated ab initio, and any extensions or other alterations of the corporate limits of the municipality which occurred prior to the effective date of the act adding this subsection are also validated ab initio and the territory is confirmed as a part of the corporate limits of the municipality, any law to the contrary notwithstanding.... This subsection shall not apply to ... any extension or alteration of its corporate limits which occurred prior to the effective date of this act where litigation is pending on the incorporation prior to the effective date of the act adding this subsection.’
“6. The Act became effective upon its approval by the Governor on May 29, 2008.
“7. Since [the Town] has annexed [the parcels in ordinances] passed prior to May 29, 2008, and because there is no litigation pending on the incorporation of [the Town] in 199[7], the Legislature has validated this previous annexation and thus, this litigation is moot.
[[Image here]]
“13. Since the passage of Act No. 2008-481 has validated ... [the Town’s] annexation[ ], this litigation is now moot and due to be dismissed.”
(Emphasis omitted.)
On August 15, 2008, the trial court vacated its April 16, 2008, judgment. It “conclud[ed] that Act No. 2008-481 [had] validated] the annexations by [the Town] at issue in this case” and entered a judgment dismissing the claims of the County plaintiffs and the City “in their entirety.” On September 4, 2008, the trial court denied motions of the City and the County plaintiffs to alter, amend, or vacate its [578] August 15, 2008, judgment. The City appealed.
On appeal, the City challenges both the constitutionality of Act No. 2008-481, Ala. Acts 2008 (“the Act”), which amended § 11^1-8, Ala.Code 1975, as well as the applicability of § 11 — 41—8(b) to the annexations at issue. It asks this Court to reverse the trial court’s August 15, 2008, judgment and to remand the case with instructions for the trial court to reinstate its April 16, 2008, judgment.
II. Standard of Review
“ ‘This court reviews de novo a trial court’s interpretation of a statute, because only a question of law is presented.’ Scott Bridge Co. v. Wright, 883 So.2d 1221, 1223 (Ala.2003). Where, as here, the facts of a case are essentially undisputed, this Court must determine whether the trial court misapplied the law to the undisputed facts, applying a de novo standard of review.”
Continental Nat’l Indem. Co. v. Fields, 926 So.2d 1033, 1034-35 (Ala.2005). Likewise,
“ ‘[o]ur review of constitutional challenges to legislative enactments is de novo.’ Richards v. Izzi, 819 So.2d 25, 29 n. 3 (Ala.2001). However, we must approach this review in light of the following:
“ ‘ “[I]n passing upon the constitutionality of a legislative act, the courts uniformly approach the question with every presumption and intendment in favor of its validity, and seek to sustain rather than strike down the enactment of a coordinate branch of the government.” Alabama State Fed’n of Labor v. McAdory, 246 Ala. 1, 9, 18 So.2d 810, 815 (1944).’ ”
Board of Water & Sewer Comm’rs of Mobile v. Hunter, 956 So.2d 403, 408-09 (Ala.2006) (quoting McInnish v. Riley, 925 So.2d 174, 178 (Ala.2005) (emphasis omitted)).
III. Analysis
Before it was amended in 2008 by the Act, § 11-41-8 provided:
Free access — add to your briefcase to read the full text and ask questions with AI
MURDOCK, Justice.
The City of Montgomery (“the City”) appeals from a summary judgment in favor of the Town of Pike Road (“the Town”), a municipal corporation in Montgomery County, and Gordon Stone, in his official capacity as mayor of the Town, in an action challenging the Town’s right to annex three parcels of land in Montgomery County. We reverse and remand.
I. Factual Background
In 2007, Montgomery County (“the County”) and the Montgomery County Commission (“the Commission”) sued the Town and Mayor Stone. Subsequently, the County and the Commission (hereinafter referred to collectively as “the County plaintiffs”) amended their complaint to add the City as a defendant.
The City filed an answer to the complaint as well as a cross-claim against the Town, which contained essentially the same averments and sought similar relief as the County plaintiffs’ complaint. Both the City and the County plaintiffs challenged the Town’s purported annexation of three parcels of property. The City’s cross-claim, for example, averred that, in August 2007, the Town “passed ordinances in an invalid attempt to annex the [par[577] cels].” More specifically, the City alleged that the purported annexations were void for, among other things, “lack of contiguity with the corporate limits of [the Town]” and failure to comply with the “statutory requirements for annexation.” The City and the County plaintiffs sought a judgment declaring the annexations void and writ of quo warranto nullifying the annexations.
All parties moved for a summary judgment. On April 16, 2008, the trial court entered an order purporting to grant the summary-judgment motions filed by the City and the County plaintiffs and to deny the summary-judgment motion filed by the Town and Stone. The order declared, in pertinent part, “that the purported annexations of [two of the parcels] by [the Town] are legally flawed for failure to comply with the applicable annexation statute, are void and neither parcel/property is annexed into the Town of Pike Road.”1
Subsequently, the Town and Stone moved to alter, amend, or vacate the judgment, arguing, in pertinent part:
“4. On June 2, 2008, counsel for [the Town] became aware of Act No. 2008-481, which was passed during the 2008 Regular Session of the Alabama Legislature. Act No. 2008-481 attached hereto as Exhibit 2.
“5. Act No. 2008-481(b) provides:
“ ‘[ (b) ] In addition to the provisions of subsection (a), in all cases in which there has been after the year 1990, an attempt to organize the inhabitants of any territory as a municipal corporation under the laws of this state and the judge of probate of the county in which the territory is situated has entered an order that the inhabitants of the territory are incorporated as a town or city, as the case may be, the incorporation is hereby validated ab initio, and any extensions or other alterations of the corporate limits of the municipality which occurred prior to the effective date of the act adding this subsection are also validated ab initio and the territory is confirmed as a part of the corporate limits of the municipality, any law to the contrary notwithstanding.... This subsection shall not apply to ... any extension or alteration of its corporate limits which occurred prior to the effective date of this act where litigation is pending on the incorporation prior to the effective date of the act adding this subsection.’
“6. The Act became effective upon its approval by the Governor on May 29, 2008.
“7. Since [the Town] has annexed [the parcels in ordinances] passed prior to May 29, 2008, and because there is no litigation pending on the incorporation of [the Town] in 199[7], the Legislature has validated this previous annexation and thus, this litigation is moot.
[[Image here]]
“13. Since the passage of Act No. 2008-481 has validated ... [the Town’s] annexation[ ], this litigation is now moot and due to be dismissed.”
(Emphasis omitted.)
On August 15, 2008, the trial court vacated its April 16, 2008, judgment. It “conclud[ed] that Act No. 2008-481 [had] validated] the annexations by [the Town] at issue in this case” and entered a judgment dismissing the claims of the County plaintiffs and the City “in their entirety.” On September 4, 2008, the trial court denied motions of the City and the County plaintiffs to alter, amend, or vacate its [578] August 15, 2008, judgment. The City appealed.
On appeal, the City challenges both the constitutionality of Act No. 2008-481, Ala. Acts 2008 (“the Act”), which amended § 11^1-8, Ala.Code 1975, as well as the applicability of § 11 — 41—8(b) to the annexations at issue. It asks this Court to reverse the trial court’s August 15, 2008, judgment and to remand the case with instructions for the trial court to reinstate its April 16, 2008, judgment.
II. Standard of Review
“ ‘This court reviews de novo a trial court’s interpretation of a statute, because only a question of law is presented.’ Scott Bridge Co. v. Wright, 883 So.2d 1221, 1223 (Ala.2003). Where, as here, the facts of a case are essentially undisputed, this Court must determine whether the trial court misapplied the law to the undisputed facts, applying a de novo standard of review.”
Continental Nat’l Indem. Co. v. Fields, 926 So.2d 1033, 1034-35 (Ala.2005). Likewise,
“ ‘[o]ur review of constitutional challenges to legislative enactments is de novo.’ Richards v. Izzi, 819 So.2d 25, 29 n. 3 (Ala.2001). However, we must approach this review in light of the following:
“ ‘ “[I]n passing upon the constitutionality of a legislative act, the courts uniformly approach the question with every presumption and intendment in favor of its validity, and seek to sustain rather than strike down the enactment of a coordinate branch of the government.” Alabama State Fed’n of Labor v. McAdory, 246 Ala. 1, 9, 18 So.2d 810, 815 (1944).’ ”
Board of Water & Sewer Comm’rs of Mobile v. Hunter, 956 So.2d 403, 408-09 (Ala.2006) (quoting McInnish v. Riley, 925 So.2d 174, 178 (Ala.2005) (emphasis omitted)).
III. Analysis
Before it was amended in 2008 by the Act, § 11-41-8 provided:
“In all cases prior to June 13, 2007, where there has been an attempt to organize the inhabitants of any territory as a municipal corporation under this article, and the judge of probate of the county in which the territory is situated has entered an order that the inhabitants of the territory are incorporated as a town or city, as the case may be, pursuant to Section 11-41-4, but the attempted incorporation is invalid because of some irregularity in the procedure followed, the incorporation of that municipality so attempted to be organized and with respect to which the order has been made is validated ab initio in accordance with the description of the territory attempted to be incorporated as the description is contained in the order or, if the description of the territory attempted to be incorporated is not contained in the order in accordance with the description of the territory contained in the petition of the electors filed with the judge of probate, notwithstanding any failure to comply with the requirements respecting the signatures to or contents of the petition for incorporation, any irregularities as to publication or posting, or any other failure to comply with the procedures set forth in that article or otherwise required by law. This section shall not apply to the incorporation of any municipality held to be invalid by a court of competent jurisdiction by judgment entered prior to June 13, 2007, or in any matter where litigation is pending relating to the incorporation of the municipality.”
[579] The Act (approved May 29, 2008) was entitled: “An act [t]o amend Section 11-41-8 of the Code of Alabama 1975, as last amended by Act 2007-385, [Ala. Acts 2007,] to further provide for [1] the incorporation of certain municipalities incorporated under certain conditions and [2] any extension of the corporate limits related thereto.” The Act provided, in full:
“Section 1. Section 11-41-8 of the Code of Alabama 1975, as last amended by Act 2007-385, is further amended to read as follows:
“ ‘ § 11-41-8.
“ ‘(a) In all cases prior to June 13, 2007, where there has been an attempt to organize the inhabitants of any territory as a municipal corporation under this article, and the judge of probate of the county in which the territory is situated has entered an order that the inhabitants of the territory are incorporated as a town or city, as the case may be, pursuant to Section 11-41-4, but the attempted incorporation is invalid because of some irregularity in the procedure followed, the incorporation of that municipality so attempted to be organized and with respect to which the order has been made is validated ab initio in accordance with the description of the territory attempted to be incorporated as the description is contained in the order or, if the description of the territory attempted to be incorporated is not contained in the order in accordance with the description of the territory contained in the petition of the electors filed with the judge of probate, notwithstanding any failure to comply with the requirements respecting the signatures to or contents of the petition for incorporation, any irregularities as to publication or posting, or any other failure to comply with the procedures set forth in that article or otherwise required by law. This section shall not apply to the incorporation of any municipality held to be invalid by a court of competent jurisdiction by judgment entered prior to June 13, 2007, or in any matter where litigation is pending relating to the incorporation of the municipality.
“ ‘(b) In addition to the provisions of subsection (a), in all cases in which there has been after the year 1990, an attempt to organize the inhabitants of any territory as a municipal corporation under the laws of this state and the judge of probate of the county in which the territory is situated has entered an order that the inhabitants of the territory are incorporated as a town or city, as the case may be, the incorporation is hereby validated ab initio, and any extensions or other alterations of the corporate limits of the municipality which occurred prior to the effective date of the act adding this subsection are also validated ab ini-tio and the territory is confirmed as a part of the corporate limits of the municipality, any law to the contrary notwithstanding. Any municipality validated pursuant to this subsection, including any extensions or alterations of the corporate limits, shall be subject to provisions in Sections 11-41-1 and 11-49-80 with regard to assuming responsibility to control, manage, supervise, regulate, repair, maintain, and improve all public streets or parts thereof lying within the incorporated limits. This subsection shall not apply to the incorporation of any municipality held to be invalid in a court of competent jurisdiction by judgment entered prior to the effective date of the act adding this subsection or in a matter where litigation is pending on the effective date of this act relating to the incorporation of the municipality, or to any extension or alteration of its corporate limits which occurred prior to the effective date of this act where litigation [580] is pending on the incorporation prior to the effective date of the act adding this subsection.’
“Section 2. This act shall become effective immediately following its passage and approval by the Governor, or its otherwise becoming law.”
A comparison of the Act with § 11^41-8 reveals that subsection (a) of the Act is a virtual reiteration of what was then § 11-41-8. It is thus apparent that the only substantive change made to § 11-41-8 by the Act was the addition of subsection (b).
A. The Text of § ll-il-8
By its own terms, § ll-41-8(b) does not address all annexation elections. Instead, § 11^41 — 8(b) expressly concerns itself only with the annexation elections of “the municipalities]” which have had their incorporation elections validated ab initio by the curative operation of § 11^41-8(a). Nothing in the text of § 11 — 41—8(b) expressly addresses questions regarding any irregularities in the annexation election itself.2
Thus, § 11 — 41—8(b) is intended to remove the uncertainty concerning the validity of annexations that would otherwise exist because of the fact that the annexations were executed by a city or town that, at the time of the annexation election, may not have been validly incorporated. In other words, the purpose of § 11-41-8(b) is simply to ensure that the initial invalidity of the incorporation of a city or town does not itself serve to taint a subsequent annexation by that city or town, given the fact that the legislature has since chosen, through § 11 — 41—8(a), to retroactively validate that faulty incorporation.
This understanding of § 11-41-8(b) comports with the plain language of that section and that of § 11-41-8(a), which of course must be read in pari materia with one another. “The fundamental rule of statutory construction is to ascertain and give effect to the intent of the legislature in enacting the statute.” IMED Corp. v. Systems Eng’g Assocs. Corp., 602 So.2d 344, 346 (Ala.1992). In so doing, this Court must give words in a statute their “plain meaning.” Id. Further, this Court must
“‘consider the statute as a whole and ... construe the statute reasonably so as to harmonize [its] provisions.’ McRae v. Security Pac. Hous. Servs., Inc., 628 So.2d 429, 432 (Ala.1993). Additionally, ‘[sections of the Code originally constituting a single act must be read in pari materia in order to “produce a harmonious whole.” ’ Ex parte Jackson, 625 So.2d 425, 428 (Ala.1992) (quoting 2A Norman J. Singer, Sutherland Statutory Construction § 46.05 (5th ed.1993)).”
Proctor v. Riley, 903 So.2d 786, 789-90 (Ala.2004).3
Section ll-41-8(a) begins by stating that “[i]n all cases prior to June 13, 2007, where there has been an attempt to orga[581] nize the inhabitants of any territory as a municipal corporation ... and the judge of probate ... has entered an order