delivered the Opinion of the Court.
T1 We granted certiorari in this case to review the court of appeals' decision in Sensible Housing Co., Inc. v. Town of Minturn,
*1156
No. 09CA1824,
$2 In 2008, Minturn enacted annexation ordinances for nine parcels of property in response to annexation petitions filed in 2005, which claimed that Ginn (petitioners in this action) was the 100% owner of the land proposed to be annexed. Ginn and Sensible Housing Co. (respondent in this action) were involved in a quiet title action concerning portions of the annexed property, which commenced before Ginn filed the annexation petitions. Sensible sought judicial review of the annexation pursuant to section 31-12-116, C.R.S. (2011), asserting that Minturn exceeded its jurisdiction and abused its discretion by approving the annexation of the property without an election, due to the ongoing dispute as to the property's title. The court of appeals agreed and applied the "priority pule" to the annexation proceedings, which states that "when more than one court can exercise jurisdiction over a matter, 'the court first acquiring jurisdiction [over] the parties and the subject matter has exclusive jurisdiction.'" Sensible Housing Co.,
13 We hold that the priority rule only applies as between competing judicial proceedings and the court of appeals erred in applying the rule to the annexation, a legislative action. We return this case to the court of appeals for remand to the district court with directions to stay judicial review of the annexation proceedings pending the outcome of the quiet title litigation.
I.
T4 Since 1998, Petitioners Ginn Battle North, LLC, Ginn Battle South, LLC, and Ginn-LA Battle One Ltd., LLLP (collectively, "Ginn") and Respondent, Sensible Housing Co. ("Sensible") have been involved in ongoing quiet title litigation regarding the ownership of two parcels of property located in Eagle County, Colorado ("quiet title action").
T5 In November 2005, Ginn filed nine petitions requesting that the Town of Min-turn annex nine parcels of property totaling approximately 4800 acres, including portions of property at issue in the quiet title action. Each petition expressly identified a Ginn entity as the 100% owner of the pertinent parcel. Sensible objected to the annexation by letter on December 13, 2005, asserting that because of the ongoing dispute over title to portions of the annexed property, Ginn was not the 100% owner of those parcels.
16 On December 21, 2005, Minturn found Ginn's annexation petitions to be in substantial compliance with applicable statutory and constitutional requirements, and held public hearings on the potential annexation between February 2006 and February 2008. Sensible objected again in August 2006, reiterating that title to the property was in dispute. Nevertheless, on February 28, 2008, Minturn approved the proposed annexations through *1157 nine annexation ordinances. Each annexing ordinance explicitly found that the petitioning Ginn entity was the 100% owner of the applicable parcel and, consequently, an election by landowners was not required under article II, section 80 of the Colorado Constitution or section 31-12-107(2), C.R.S. (2011) of the Annexation Act. Sensible then filed a motion to reconsider the annexation ordinances, which was denied.
T7 On April 25, 2008, Sensible filed its initial complaint in the immediate action, seeking judicial review of the annexation ordinances pursuant to section 31-12-116, CRS. (2011) ("annexation judicial review proceeding"). 3 Sensible asserted that Min-turn had exceeded its jurisdiction and abused its discretion by approving the annexation of the property without an election due to the ongoing dispute as to the property's title.
T8 Meanwhile, the quiet title action proceeded before the trial court, and on June 3, 2009, the court granted partial summary judgment to Ginn for both disputed parcels, holding that Sensible had presented no evidence supporting its claim to title of the property ("quiet title order"). The court of appeals affirmed as to one of the two parcels but reversed as to the other parcel, remanding the case to the trial court for further proceedings. Ginn Battle Lender, LLC v. Sensible Housing Co., Inc., Nos. 10CA0114 & 10CA2158, slip op. at 11, 21,
T 9 Following entry of the quiet title order, but before the order's appeal, the district court in the annexation judicial review proceeding requested status reports from Ginn and Sensible to determine whether that order-granting summary judgment to Ginn on the grounds that Sensible had put forth no evidence to support its claim of title-had any effect upon the annexation judicial review proceeding. After receiving the reports of both parties, the district court on July 21, 2009 issued an order dismissing the annexation judicial review proceeding ("dismissal order").
T 10 The district court reasoned that, because the quiet title order established that Sensible did not have title to the disputed properties, Sensible had no standing to petition for review of the annexation. 5 The district court thus dismissed the case for lack of subject matter jurisdiction pursuant to C.R.C.P. 12(b)(1).
T 11 Sensible appealed the dismissal order, arguing that (1) the district court erred in dismissing the annexation judicial review proceeding based solely on the quiet title order because neither claim nor issue preclusion applied to that order; (2) the trial court's decision in the quiet title action did not render the annexation judicial review proceeding moot; and (3) the district court erred in dismissing the annexation judicial review proceeding on the ground Sensible lacked standing. The court of appeals reversed the dismissal order on two principal grounds. First, it held that the district court erred in relying upon the quiet title order to determine that Sensible lacked standing and the court lacked jurisdiction because the quiet title order had been appealed and could not be considered final for issue or claim preclusion purposes at that time. Sensible Housing Co.,
{12 The court of appeals remanded the case with directions to vacate the annexation ordinances related to the disputed property and stay any further annexation proceedings with respect to that property pending the *1158 outcome of the quiet title action. Id. at *5. The court sua sponte applied the priority rule to the annexation proceedings, which states that "when more than one court can exercise jurisdiction over a matter, 'the court first acquiring jurisdiction [over] the parties and the subject matter has exclusive jurisdiction'" ("priority rule"). Id. at *4 (internal citations omitted). The court reasoned that, because the quiet title action commenced before the annexation proceedings and both actions concerned the same property, the priority rule required Minturn to await the outcome of the quiet title litigation before making any determination about the ownership of the annexed property. Id. at *3. We disagree.
IL.
€13 We hold that the priority rule only applies as between competing judicial proceedings and the court of appeals erred in applying the rule to the annexation, a legislative action. We return this case to the court of appeals for remand to the district court with directions to stay judicial review of the annexation proceedings pending the outcome of the quiet title litigation.
A.
Standard of Review
«14 Application of the priority rule to a legislative proceeding is a question that we review de novo. See People v. Shell,
B.
Annexations are Legislative in Nature
115 Providing procedures for the setting of municipal boundaries, whether by incorporation or annexation, is a prerogative of the General Assembly. City of Greenwood Vill. v. Petitioners for the Proposed City of Centennial,
116 The Municipal Annexation Act of 1965 lays out the procedural framework by which a municipality may annex new land. §§ 31-12-101 to -707, C.R.S. (2011). Proceedings by municipalities under this authority are legislative in nature. City & Cnty. of Denver v. Dist. Court,
T17 Onee an annexation is complete, any person owning land in the area annexed may seek judicial review of the annexation in accordance with section 31-12-116. Review is limited to the determination of whether the governing body has exceeded its jurisdiction or abused its discretion under the terms of the Act. § 81-12-116(8). "[Tlhe function of the county court in such proceedings is to provide a forum in order to insure first, that the area is eligible, and secondly, that the procedural requirements of the statute have been fully complied with." City of Littleton v. Wagenblast,
*1159 C.
The Priority Rule
118 Courts, in general, have the power to stay proceedings before them. Landis v. N. Amer. Co.,
119 Where two courts may exercise jurisdiction over the same parties and subject matter, we have stated that the first action filed has priority of jurisdiction, and that the second action must be stayed until the first is finally determined ("priority rule"). Wiltgen v. Berg,
120 Though other states have applied the priority rule to legislative proceedings, see People ex rel. Hathorne v. Morrow,
It is a general principle in the governmental system of this country that the judicial department has no direct control over the legislative department. Each department of the state government is independent within its appropriate sphere. Legislative action by the general assembly cannot be coerced or restrained by the judicial process ... [The legislature cannot be thus compelled to pass an act, even though the constitution expressly commands it; nor restrained from passing an act, even though the constitution expressly forbids it.
Colo. Common Cause v. Bledsoe,
D.
Application to this Case
T21 We conclude that the court of appeals erred in applying the priority rule to void Minturn's annexation ordinances because annexations are legislative proceedings. It is clear from the language used, both by this court and by the United States Supreme Court, that the priority rule is one used to keep the judicial house in order, to avoid a multiplicity of suits, and to promote judicial efficiency. See Landis,
*1160
122 To apply the priority rule in such a way would be at odds with our eaution that legislative action "cannot be coerced or restrained by the judicial process." Bledsoe,
The general rule is that a municipal corporation, in the exercise of legislative power with relation to the subjects committed to its jurisdiction, can not more be enjoined than can the legislature of the state.
The restraining power of the court should be directed against the enforcement rather than the passage of ... resolutions or ordinances by municipal corporations.
City & Cnty. of Denver v. Bd. of Cnty. Comm'rs,
123 By applying the priority rule to void Minturn's annexation proceedings, the court of appeals in effect held that no legislative action could occur because the quiet title action had been filed in court. But proceedings to annex territory may only be enjoined where they are in excess of the city's powers or where the passing of the ordinance itself (rather than the ordinance's enforcement) would cause irreparable injury beyond the power of redress by subsequent judicial proceedings. Id. at 104-05,
24 Here, Minturn cannot be said to have acted in excess of its power by finding that Ginn was the 100% owner of the annexed territory and proceeding with the annexation. In fact, the Annexation Act requires Minturn to make findings with regard to whether or not an election is required under article II, section 80(1)(a) of the Colorado Constitution before completing the annexation. § 31-12-110. Because an election is required if the annexing municipality has not received an annexation petition signed by more than 50% of the owners of the land proposed to be annexed, Minturn is required to make findings as to the ownership of the land in question. See id; Colo. Const. art. II, § 80.
125 Likewise, the passing of annexation ordinances does not result in irreparable injury beyond redress by later judicial proceedings. Section 31-12-116 provides for Judicial review of the annexation proceedings for any aggrieved landowner or registered elector and allows the court to void annexation proceedings or ordinances if it finds that the municipality has exceeded its jurisdiction or abused its discretion. §§ 31-12-116 to -117. This provides an adequate remedy if the quiet title action is resolved in favor of Sensible; in that event, a court would determine that Minturn erred in finding that no election was required prior to annexation.
Because the passage of the annexation ordinances was within Minturn's municipal power and has not caused irreparable injury incapable of redress by later judicial proceedings, the court of appeals erred in applying the priority rule to void the annexation.
I 26 When Sensible filed for judicial review of the annexation pursuant to section 31-12-116, the quiet title action was under review by the court of appeals; it is currently on remand before the trial court. Because both actions involve the same parties and subject matter, the priority rule applies to the annexation judicial review proceeding, and the quiet title action should proceed first. See Martin,
IIL
T27 Accordingly, we reverse the judgment of the court of appeals and remand this case for return to the district court for further proceedings consistent with this opinion.
Notes
. The issues presented for review are:
1. As a matter of first impression in Colorado, did the court of appeals violate the separation of powers doctrine by applying the Priority Rule to bar a home rule municipality from proceeding with a legislative annexation determination where the Municipal Annexation Act of 1965, C.R.S. §§ 31-12-101 to 31-12-123 vests a municipality with exclusive authority to annex property?
2. In the alternative, if the Priority Rule applies where concurrent court and legislative annexation proceedings are pending, did the court of appeals err when it sua sponte determined, contrary to Wiligen and another court of appeals opinion, that a town's annexation ordinances were void ab initio?
. As Martin more fully points out, the rule connotes not "exclusive" jurisdiction, but rather a priority of jurisdiction as between two court proceedings.
. Section 31-12-116 provides for annexation proceedings to be reviewed by certiorari in accordance with the Colorado rules of civil procedure.
. We denied certiorari on February 9, 2012.
. Section 31-12-116, providing for judicial review of annexations, allows only for the filing of a petition for review by a landowner or qualified elector within the annexed area.
. The only issue before us concerns the validity of the court of appeals' decision to void the annexation. We do not address the merits of any other issue in this case.
. Sensible misrelies on our opinion in Wiligen to support its claim that the priority rule should be applied to annexation proceedings. Wiltgen concerned dueling municipal incorporation proceedings, a court petition process, which we ruled were "judicial in nature" before applying the priority rule.
