This case involves a custody dispute concerning an Indian child, Lexie. After the untimely death of Lexie’s mother, Lexie’s maternal aunt, Defendant Linda L. Flynn Hanson, sought custody through Defendant Fort Peck Tribal Court (“Tribal Court”). The Tribal Court granted temporary custody to Lexie’s maternal grandmother pending the outcome of the custody dispute. Lexie’s non-Indian father, Plaintiff Ross Atwood, then brought this action in federal district court, challenging the jurisdiction of the Tribal Court and alleging a substantive due process violation. The district court dismissed the case, relying on the domestic relations exception to subject matter jurisdiction and on Plaintiffs failure to exhaust tribal court remedies.
We hold that the “domestic relations exception,” a doctrine divesting the federal courts of jurisdiction, applies only to the diversity jurisdiction statute, 28 U.S.C. § 1332, and that the district court erred by applying the domestic relations exception because federal question jurisdiction exists in this case under 28 U.S.C. § 1331. We affirm the district court’s dismissal nonetheless, because Plaintiff failed to exhaust tribal court remedies.
FACTUAL AND PROCEDURAL HISTORY
Plaintiff and Lexie’s mother never married. In late 1997, when Lexie was two years old, Plaintiff filed a petition for custody in the Tribal Court. After a hearing, the Tribal Court entered a custody agreement for Lexie on February 20, 1998. That agreement granted the parents “joint legal custody of the child, with the Mother to have physical custody, and the Father having [specified visitation rights].” The agreement also stated that “the Fort Peck Tribal Court, Fort Peck Indian Reservation shall continue to have jurisdiction over this matter.”
On July 16, 2005, Lexie’s mother died, and Lexie was taken to stay with her maternal grandmother. Lexie’s maternal aunt, Defendant Hanson, thereafter petitioned the Tribal Court for custody of Lex-ie. 1 On September 23, 2005, that court ordered that Lexie remain in the custody of her maternal grandmother pending the outcome of the petition. Lexie remains in *946 the physical custody of her maternal grandmother, and the custody case remains pending before the Tribal Court.
On October 7, 2005, two weeks after the Tribal Court issued its order, the Thirteenth Judicial District Court of Montana granted immediate custody of Lexie to Plaintiff. The state court’s order shows that the state court was aware of the 1998 custody agreement, but gives no indication that it was aware of the Tribal Court’s recent order. According to the federal district court in this case, “[apparently, the Thirteenth Judicial District Court terminated enforcement upon learning of the pending tribal court matter.” The parties do not dispute that finding.
On December 29, 2005, Plaintiff filed a complaint in federal district court. The complaint alleges that the Tribal Court’s order violates his substantive due process right to parent his child and that Defendant Hanson lacks standing in Tribal Court. Plaintiff sought injunctive relief, specifically, an order requiring that Lex-ie’s grandmother return Lexie to him, an order divesting the Tribal Court of jurisdiction, and an award of custody. The complaint alleges both federal question jurisdiction and diversity jurisdiction.
On March 8, 2006, the district court granted Defendants’ motion to dismiss the complaint. The district court held that the domestic relations exception divested it of jurisdiction and, in the alternative, that it would choose to abstain from intervening in a domestic relations matter that was pending in a tribal court. Plaintiff timely appealed.
STANDARD OF REVIEW
We review de novo whether we have subject matter jurisdiction.
Schnabel v. Lui,
DISCUSSION
A. Subject Matter Jurisdiction and the “Domestic Relations Exception”
Plaintiffs complaint alleges that “[t]he maternal aunt has no standing [in Tribal Court] to petition for custody of the child” and that the Tribal Court’s order is “a substantive violation of Plaintiffs constitutional right to parent his child.” In other words, Plaintiff alleges that “a tribal court has exceeded the lawful limits of its jurisdiction.”
Nat’l Farmers Union Ins. Cos. v. Crow Tribe of Indians,
Both in his complaint and before the district court, Plaintiff asserted subject matter jurisdiction on two grounds: federal question jurisdiction, 28 U.S.C. § 1331, and diversity jurisdiction, 28 U.S.C. § 1332. The district court expressly declined to decide “whether this Court has federal question or diversity jurisdiction” and held that, regardless, the “domestic relations exception to federal jurisdiction” applied. The Supreme Court has long recognized that, when the relief sought re
*947
lates primarily to domestic relations, a doctrine referred to as the domestic relations exception divests federal courts of jurisdiction.
See, e.g., In re Burrus,
The Supreme Court discussed the nature of the domestic relations exception at length in
Ankenbrandt v. Richards,
But, the Court held, the diversity jurisdiction statute does exclude such cases. In reasoning to that conclusion, the Court examined the text and history of the diversity jurisdiction statute.
Id.
at 698,
In sum,
Ankenbrandt
held that the domestic relations exception was not of constitutional dimension, but rested on Congress’ intent in enacting the
diversity
jurisdiction statute, 28 U.S.C. § 1332. Although
Ankenbrandt
did not address whether the exception applies to the
federal question
jurisdiction statute, 28 U.S.C. § 1331, the Court’s reasoning plainly does not apply to that statute. We therefore join the Fourth and Fifth Circuits in holding that the domestic relations exception applies only to the diversity jurisdiction statute.
See United States v. Bailey,
Our holding today is driven by the Supreme Court’s reasoning in
Ankenbrandt,
but it also is consistent with our cases predating
Ankenbrandt. See Csibi v. Fustos,
In conclusion, subject matter jurisdiction exists in this case under § 1331 and federal common law. The domestic relations exception does not apply.
*948 B. Exhaustion of Tribal Court Remedies
In dismissing the case, the district court also relied on the fact that Plaintiff had not exhausted tribal court remedies. Under the doctrine of exhaustion of tribal court remedies, relief may not be sought in federal court until appellate review of a pending matter in a tribal court is complete.
Iowa Mut. Ins. Co. v. LaPlante,
Although the Supreme Court has crafted narrow exceptions to the exhaustion rule, none applies here. There has been no showing that Defendant Hanson asserted tribal jurisdiction in bad faith or that she acted to harass Plaintiff.
Nevada v. Hicks,
Finally, it is not “plain” that tribal court jurisdiction is lacking.
Id.
(citing
Strate,
CONCLUSION
We hold that the domestic relations exception applies only to the diversity jurisdiction statute, 28 U.S.C. § 1332. Because federal courts have jurisdiction in this case under the federal question jurisdiction statute, 28 U.S.C. § 1331, the district court erred by applying the domestic relations exception. Nonetheless, we affirm the district court’s dismissal of this case because Plaintiff has not exhausted his tribal court remedies.
AFFIRMED.
Notes
. The record is not entirely clear on the status (Indian or non-Indian) of Defendant Hanson and of Lexie’s maternal grandmother. Determination of those factual questions is unnecessary to the resolution of the issue before us.
. Because we have subject matter jurisdiction under § 1331, we need not determine whether an alternative basis for jurisdiction also exists.
See Boozer,
