PER CURIAM.
This declaratory-judgment action involves a boundary dispute between the City of Ingleside and the City of Corpus Christi over the scope of an ordinance establishing the adjacent bay waters' "shoreline" as the common border. At issue is whether wharves, piers, docks, and other objects affixed to Ingleside's shore and projecting into bay waters are wholly on the land or water side of the "shoreline" boundary. Ingleside sued Corpus Christi seeking a declaration that "structures, both natural and man-made, that are attached to and part of the fast land, and are functionally part of the land, are entirely within the jurisdiction of" the land side of the "shoreline."
In a plea to the jurisdiction, Corpus Christi challenged the trial court's subject-matter jurisdiction on multiple grounds, but the trial court rejected the plea on all counts. The court of appeals disagreed, concluding the trial court lacked jurisdiction to establish the boundary between the two cities because the selection of a political subdivision's boundary is "a purely political question ... not subject to judicial review." No. 13-13-00088-CV, 2014 WL 7403974, at *2-3 (Tex. App.-Corpus Christi 2014) (mem. op.). We disagree. Ingleside's declaration does not require the court to address a nonjusticiable political question. Regardless of the matter's ultimate resolution, the declaratory-judgment action requires the court to interpret relevant boundary ordinances not select the appropriate boundary line. Whether extant natural and artificial conditions are protrusions of the "shoreline" is a justiciable issue materially distinct from a legislative determination about where to establish a municipal boundary line. Accordingly, we reverse the court of appeals' judgment and remand this case to that court to consider Corpus Christi's remaining jurisdictional challenges.
A plea to the jurisdiction challenges the court's authority to decide a case. Bland Indep. Sch. Dist. v. Blue, 34 S.W.3d 547, 554 (Tex.2000). Whether a court has subject-matter jurisdiction is a question of law reviewed de novo, Tex. Natural Res. Conservation Comm'n v. IT-Davy, 74 S.W.3d 849, 855 (Tex.2002), and the plaintiff bears the burden of affirmatively demonstrating the trial court's jurisdiction. Tex. Dep't of Parks & Wildlife v. Miranda, 133 S.W.3d 217, 226 (Tex.2004). In determining whether Ingleside has met its burden, we liberally construe the pleadings, taking all factual assertions as true and looking to Ingleside's intent. Id.
After Corpus Christi enacted the ordinance, several piers, bulkheads, wharves, and other artificial structures were constructed and affixed to the fast land in Ingleside's jurisdiction. The structures, however, project into Corpus Christi's jurisdiction. As a result, each city claims the structures fall within its jurisdictional boundaries.
Believing the structures are entirely within the jurisdiction of the land-side of the shoreline, Ingleside filed a declaratory-judgment action asking the court to determine which city's boundary includes the disputed area. Corpus Christi contends, and the court of appeals agreed, that Ingleside's declaratory-judgment action presents a nonjusticiable political question because it seeks to alter boundaries legislatively fixed more than fifty years ago. Cf. Alexander Oil Co. v. City of Seguin, 825 S.W.2d 434, 436 n.3 (Tex.1991) ("The determination of boundaries is a question for the political branches of government rather than judicial. Consequently, the court may not substitute its judgment for that of the municipality [and will not inquire into a municipality's motives to annex land]."); City of Wichita Falls v. State ex rel. Vogtsberger, 533 S.W.2d 927, 929 (Tex.1976) (the purpose of an annexation ordinance and the use, character, and shape of the annexed territory are "legislative prerogatives").
The Texas Constitution provides that one governmental branch may not exercise those powers committed to a coordinate branch. TEX. CONST. art. II, § 1. Therefore, if a determination is constitutionally committed to the legislative branch's discretion, the judiciary is not free to substitute its judgment for that of the legislative branch. Tex. Ass'n of Bus. v. Tex. Air Control Bd., 852 S.W.2d 440, 444 (Tex.1993). As it pertains to the jurisdictional boundaries of home-rule municipalities like Ingleside and Corpus Christi, the procedural validity of territorial annexation may be judicially determined — but a legislative decision to annex territory and the reasons underlying such a decision are not subject to judicial scrutiny. See State ex rel. Pan Am. Prod. v. Texas City, 157 Tex. 450, 303 S.W.2d 780, 782 (1957) ("This power of a Home Rule City to annex territory, being legislative power, is therefore not subject to being revised by the judicial power of the courts."); see also Alexander Oil Co., 825 S.W.2d at 436 n.3; City of Waco v. City of McGregor, 523 S.W.2d 649, 654 (Tex.1975).
Ingleside does not allege Ordinance 6636 impermissibly establishes the "shoreline" as the territorial boundary between the two municipalities. Nor does Ingleside contest Corpus Christi's motives for selecting that particular boundary line or its authority to do so. Instead, Ingleside's declaratory-judgment action asks the court to determine whether the "shoreline," as used in the pertinent ordinances defining
Separation-of-powers concerns may arise if a matter is constitutionally committed to a coordinate political department or there are no judicially discoverable and manageable standards for resolving the issue. See Neeley v. W. Orange-Cove Consol. Indep. Sch. Dist., 176 S.W.3d 746, 777-78, 780 & n.180 (Tex.2005) (observing two principle "nonjusticiable political question" tests set out by the United States Supreme Court, but declining to expressly adopt those tests as the separation-of-powers standard under the Texas Constitution); see also Edgewood Indep. Sch. Dist. v. Kirby, 777 S.W.2d 391, 394 (Tex.1989) (holding that the statutory terms "efficient" and "suitable" provided a standard by which a court could measure the constitutionality of the school-finance system); Wheeler v. City of Brownsville, 148 Tex. 61, 220 S.W.2d 457, 462 (1949) (concluding that because annexation for municipal tax purposes is constitutionally delegated to the legislature, the judiciary may not revise the legislative determination); Terrazas v. Holmes, 115 Tex. 32, 275 S.W. 392, 395 (1925) (selecting the rightful sovereign in a foreign territory is not a judicial question); Tex. Adjutant Gen.'s Dept. v. Amos, 54 S.W.3d 74, 79 (Tex.App.-Austin 2001, pet. denied) (declaring a soldier's challenge to the Texas National Guard's discharge order nonjusticiable because the military retains discretion to discharge soldiers). However, neither of those circumstances are presented here.
Courts have historically exercised their jurisdiction to resolve boundary disputes. See, e.g., United States v. Texas, 143 U.S. 621, 630-31, 641, 12 S.Ct. 488, 36 L.Ed. 285 (1892) (declaring a boundary dispute between the United States and Texas involving conflicting descriptions of the 100th longitude meridian justiciable); Oklahoma v. Texas, 272 U.S. 21, 23-24, 44, 47 S.Ct. 9, 71 L.Ed. 145 (1926) (comparing conflicting surveyor reports to locate the boundary between Texas and Oklahoma). We have also applied standards to determine whether particular property falls within a city's boundary. See Keith v. Hyndman, 57 Tex. 425, 430 (1882) (determining which portion of a homestead tract fell within Corsicana's city limits). More to the point, we have previously settled disputes about how to determine the location of a boundary defined by reference to the "shoreline." See Luttes v. State, 159 Tex. 500, 324 S.W.2d 167, 179 (1958) (defining the "seashore" boundary by reference to measured mean daily high water levels); see also John G. & Marie Stella Kenedy Mem'l Found. v. Dewhurst, 90 S.W.3d 268, 281 (Tex.2002) (applying the Luttes definition of "shoreline" to a boundary dispute); Porretto v. Tex. Gen. Land Office, 448 S.W.3d 393, 400 (Tex.2014) (applying the Luttes definition of "shoreline" to determine property ownership in a takings claim). Interpreting and applying an ordinance is also well within judicial authority. Cf. City of Fort Worth v. Gulf Ref. Co., 125 Tex. 512, 83 S.W.2d 610, 617 (1935) (construing and applying several ordinances regulating filling station businesses).
Liberally construing the pleadings, Ingleside does not seek a declaration altering the boundary between the cities, which is indisputably the "shoreline." Instead, it merely asks the court to clarify whether the "shoreline," an unfixed and inherently variable boundary, may be reshaped by protrusions of natural and artificial fixtures