This case has led a somewhat tortured existence in the federal courts. The Plaintiffs-Appellees, who are Wyoming landowners, originally filed suit in the District of Wyoming in 2001 alleging various state law claims including trespass, unjust enrichment, and slander of title against Defendants-Appellants Union Pacific Corporation and Union Pacific Railroad Company (“Union Pacific”). On December 6, 2001, the District Court sua sponte dismissed Plaintiffs’ causes of action for lack of subject matter jurisdiction under either 28 U.S.C. §§ 1331 or 1332. Despite the fact that it ostensibly prevailed, Union Pacific filed a motion under Fed.R.Civ.P. 59(e) requesting the District Court to alter
Union Pacific then appealed the ruling to this Court. This panel affirmed, concluding that federal-question jurisdiction over state law claims existed only when Congress provided a federal cause of action or intended to provide a federal forum for resolution of the dispute. Nicodemus v. Union Pac. Corp.,
Before the en banc argument took place, however, the parties filed a joint motion asking that the appellate proceedings be abated pending the outcome of class action settlement proceedings in the Seventh Circuit that might moot the issues on appeal. On August 19, 2003, this Court granted the motion. Two years later, in 2005, the Seventh Circuit vacated the nationwide class certification, see Smith v. Sprint Commc’ns Co.,
In the interim, the Supreme Court issued its decisions in Grable & Sons Metal Prods., Inc. v. Darue Eng’g & Mfg., - U.S. -,
District courts have “original jurisdiction of all civil actions arising under the Constitution, laws, or treaties of the United States.” 28 U.S.C. § 1331. “A case arises under federal law if its ‘well-pleaded complaint establishes either that federal law creates the cause of action or that the plaintiffs right to relief necessarily depends on resolution of a substantial question of federal law.’ ” Morris v. City of Hobart,
Over the last century, several principles have developed that guide federal courts in determining whether they have jurisdiction over a state-law claim. First, the well-pleaded complaint rule requires that “the federal question giving rise to jurisdiction must appear on the face of the complaint.”
The well-pleaded complaint rule also means that federal-questidn jurisdiction may not be predicated on a defense that raises federal issues. Merrell Dow,
Even if a federal question appears on the face of a well-pleaded complaint, federal jurisdiction is not automatic. It is by now axiomatic that “federal jurisdiction demands not only a contested federal issue, but a substantial one, indicating a serious federal interest in claiming the advantages thought to be inherent in a federal forum.” Grable & Sons,
even when the state action discloses a contested and substantial federal question, the exercise of federal jurisdiction is subject to a possible veto. For the federal issue will ultimately qualify for a federal forum only if federal jurisdiction is consistent with congressional judgment about the sound division of labor between state and federal courts governing the application of § 1331.
Id.
In Merrell Dow, the Court was confronted with a typical negligence action in which the plaintiffs alleged that the defendant drug manufacturer’s violation of a Food Drug and Cosmetic Act (“FDCA”) labeling provision raised a rebuttable presumption of negligence.
After the Court’s decision in Merrell Dow, the circuits were divided over the precise effect the case had on federal jurisdiction over state-law claims. Several circuits, including this one, required a finding of a federal cause of action to support the assertion of federal-question jurisdiction over state-law claims. See, e.g., Nicodemus I,
The Court clarified that Merrell Dow cannot be read “as overturning decades of precedent ... and converting a federal cause of action from a sufficient condition for federal-question jurisdiction into a necessary one.” Id. at 2369-70 (footnote omitted). Rather, the absence of a private right of action is “relevant to, but not dispositive of, the ‘sensitive judgments about congressional intent’ that § 1331 requires.” Id. at 2370. It further explained that in Merrell Dow, the absence of a federal private right of action was fatal because “exercising federal jurisdiction over a state misbranding action would have attracted a horde of original filings and removal cases raising other state claims with embedded federal issues.” Id. In this way, Merrell Dow is consistent with the Court’s prior holdings because it was based in part on a determination of “Congress’s intended division of labor between state and federal courts.”
With this framework in mind, we turn to the facts of this case.
II. DISCUSSION
A. Facts
Plaintiffs in this case are Wyoming landowners. Union Pacific was granted railroad rights-of-way over Plaintiffs’ property under numerous federal land-grant statutes, which dated from 1852 to 1875. The dispute between the parties arose when Union Pacific entered into agreements with various telecommunications providers in which Union Pacific “licensed” to them the right to install and maintain fiber-optic cables in the rights-of-way over Plaintiffs’ land. Union Pacific receives revenue from these license agreements.
B. Federal-Question Jurisdiction
Our starting point is to determine whether the well-pleaded complaint raises a disputed issue of federal law, the resolution of which is necessary to grant the relief Plaintiffs seek.
Plaintiffs argue, however, that the federal issue only arises as a defense to their claims and thus it is an inappropriate basis on which to assume federal-question jurisdiction. On the contrary, to prove them action for unjust enrichment, for example, Plaintiffs must show not only that Union Pacific was enriched, but that “the underlying circumstances, as between
The presence of a federal issue, however, is not necessarily “a password opening federal courts to any state action embracing a point of. federal law.” Grable & Sons,
Union Pacific argues that there is a substantial federal interest in the railroad rights-of-way held by Union Pacific. In support of this contention, it notes the following: (1) the federal government’s subsidization of the construction of a transcontinental railroad through the rights-of-way grants; (2) the federal government’s limited right of reverter in the railroad rights-of-way, see 16 U.S.C. § 1248(c);
We agree that the contested interpretation of the federal land-grant statutes as between these parties involves a substantial federal issue. Indeed, we acknowledged that these were “considerable federal interests” in Nicodemus I.
Finally, we are confident that providing a federal forum for the resolution of this issue will not disrupt “the sound division of labor between state and federal courts.” We acknowledge that the type of property dispute at issue has been the recent subject of several proposed class actions. See, e.g., Smith,
In sum, “[g]iven the absence of threatening structural consequences” and the importance for the availability for a federal forum, “there is no good reason to shirk from federal jurisdiction over the disposi-tive and contested federal issue at the heart of [this] state-law ... claim.” Id. at 2371.
III. CONCLUSION
For the foregoing reasons, the judgment of the District Court dismissing the action for lack of subject matter jurisdiction is
REVERSED.
Notes
. We note that though both parties now agree that the District Court had jurisdiction- — • Plaintiffs suggest diversity jurisdiction is proper while Union Pacific suggests federal-question jurisdiction is proper — we must nevertheless find jurisdiction as it "cannot be conferred upon a federal court by consent, inaction or stipulation.” Basso v. Utah Power & Light Co.,
. We reinstate that portion of our prior opinion determining our appellate jurisdiction over the District Court’s order dismissing the case in Union Pacific's favor. See Nicodemus I,
. Plaintiffs argue that the Supreme Court’s recent decision in Exxon Mobil permits the District Court to exercise diversity jurisdiction over the dispute. The District Court concluded, however, that Plaintiffs did not meet the amount-in-controversy requirement for diversity jurisdiction, and neither Plaintiffs nor Union Pacific appealed that ruling. We therefore deem the issue waived. See Tulengkey v. Gonzales,
. There is one exception to the well-pleaded complaint rule: complete preemption. In Metropolitan Life Ins. Co. v. Taylor, the Supreme Court recognized that "Congress may so completely preempt a particular area that any civil complaint raising this select group of claims is necessarily federal in character.”
. The Court acknowledged that Merrell Dow characterized the absence of a private right of action as a consideration in the assessment of substantiality, see Grable & Sons,
. In Nicodemus I, we assumed without deciding that Plaintiffs' claims satisfied the well-pleaded complaint rule, see
. We note that we have previously construed Union Pacific's rights under section 2 of the Pacific Railroad Act of 1862, involving Mr. Nicodemus's land, as "the grant of the right-of-way, and ... [not a] conveyance] [of] title to the servient estate underlying the right-of-way.” Energy Transp. Sys., Inc. v. Union Pac. R.R. Co.,
. If any one claim within Plaintiffs’ complaint supports federal question jurisdiction, a federal court may assert jurisdiction over all the claims, including any alleged state-law claims, arising from the same core of operative facts. See 28 U.S.C. § 1367; City of Chicago v. International College of Surgeons, 522 U.S. 156, 164,
. Under the Abandoned Railroad Right of Way Act, 43 U.S.C. § 912, enacted in 1922, land given by the United States for use as a railroad right-of-way in which the United States retained a right of reverter under N. Pac. Ry. Co. v. Townsend,
