Douglas L. Longie appeals the district court’s 1 dismissal of his case for lack of federal jurisdiction and, alternatively, for his failure to exhaust tribal court remedies. We affirm.
I.
This appeal involves a dispute between the Spirit Lake Tribe and one of its members over two tracts of land within the Spirit Lake Nation Indian Reservation. Longie, an enrolled tribal member, submitted a request for a land exchange to the *588 tribe in 1976, seeking to trade his family’s 40-acre allotment (No. DLS-888) for the 80-acre Devils Lake Sioux Allotment No. SL-0878. Congress originally allotted the 40-acre plot to Longie’s family members; the 80 acres are tribal lands. The United States holds both land parcels in trust. In negotiating the transfer, both parties acknowledged that they would transfer only their existing interests in the land and that the land would retain its associated restrictions and conditions. The transfer, once complete, would be subject to the approval of the Bureau of Indian Affairs of the Department of the Interior, as is required for all exchanges of Indian trust land. See 25 U.S.C. § 464.
Believing that the agreement would soon be finalized, Longie made improvements on the 80-acre parcel, including a road and a well. The tribal council passed Resolution No. A05-86-069, authorizing the transfer, and Longie signed the deed to transfer title to his land. The transfer remained incomplete, however, because the tribal council members did not sign the deed authorizing the formal transfer of title. Longie began living on the land and made additional improvements over the years. He continues to receive rent income from his family’s 40-acre allotment, which was never formally transferred to the tribe.
Longie received a letter in May 2001 from the Bureau of Indian Affairs (charged with management of the leasing of Indian lands), stating that the land transfer had never occurred, that Longie owed $12,075 for unauthorized use of the land, and that Longie needed to obtain leases from the tribe in order to continue to use the property. In December 2002, the Spirit Lake Tribe began to build a mini satellite solid waste transfer station on a portion of the 80-acre plot where Longie resides.
Longie filed this action in federal district court in August 2003 seeking quiet title, an injunction against the waste transfer station, and other equitable relief. He believed that he would face prejudice and unfair'treatment if he tried to proceed in tribal court because of a prior dispute with tribal council members. 2 Longie sought to amend his complaint to add bases for federal jurisdiction (28 U.S.C. §§ 1331, 1361 and 1362) and to add the United States as a party (based on its belief that it is an indispensable party), along with other government agencies. The tribe moved to dismiss on numerous grounds. The district court dismissed the' case, finding that it lacked subject matter jurisdiction because the case did not raise a federal question and the other jurisdictional provisions were inapplicable.
II.
Longie argues on appeal that this court has subject matter jurisdiction over his case under both 28 U.S.C. §§ 1331 and 1361.
3
We review questions of subject
*589
matter jurisdiction
de novo. Prince v. Ark. Bd. of Examiners in Psychology,
Federal courts have consistently affirmed the principle that it is important to guard “the authority of Indian governments over their reservations.”
Williams v. Lee,
This case is not one “arising under the Constitution, laws, or treaties of the United States” within the meaning of 28 U.S.C. § 1331. Longie argues that his claim raises a federal question because it implicates the tribe’s possessory interest in the land, protected by the United States in trust. Section 1331 jurisdiction, however; does not broadly incorporate- every case that indirectly implicate's an interest that is grounded in the laws of. the United States.
See Shulthis v. McDougal,
We therefore ask whether federal law or local/tribal law- controls the existence and enforceability of Longie’s asserted right.
See Weeks Constr., Inc. v. Oglala Sioux Housing Auth.,
The interpretation of federal law is central, however, to the resolution of cases that involve' the question whether a tribal court has exceeded its jurisdiction.
National Farmers Union Ins. Cos. v. Crow Tribe of Indians,
Longie’s right to ownership of the 80-acre plot is contingent upon whether the tribe legally consented to and effectu *591 ated the transfer, i.e., whether there was an express or implied contract or other legal basis to force the tribe to honor its resolution consenting to the transfer. This intra-tribal matter is contingent upon tribal law, not federal law. Longie contends that the federal courts may order the land transfer as part of the remedy he seeks. We disagree. Neither the federal courts nor the Secretary of the Interior has authority to determine in the first instance that a land transfer should occur between a tribe and a member of that tribe. The Secretary’s authority is limited to the choice of whether to approve or deny a completed and voluntary land transfer agreement by the parties involved. 25 U.S.C. § 464. That limited statutory authority, grounded in the trust responsibility of the United States and its fee interest in Indian lands, is the only federal law concept implicated in this case, and it is insufficient to provide jurisdiction under section 1331.
*590 [I]n the absence of congressional action bestowing upon the individual Indians the right,to litigate internal questions relating to their property rights in the federal courts, and conferring jurisdiction upon this court to determine such controversies, this court should not assume jurisdiction.
*591
Longie also argues that the federal district court has jurisdiction over his case under 28 U.S.C. § 1361. He claims to be seeking a writ of mandamus against the United States and contends that the United States has a duty to honor the previously agreed-upon land exchange. His claim fails, however, because he has not named a federal officer as a defendant and because he has not identified a legal basis for the duty he claims exists. For section 1361 to apply, the plaintiff must seek “to compel an officer or employee of the United States or any agency thereof to perform a duty owed to the plaintiff.” 28 U.S.C. § 1361. Mandamus may issue under section 1361 against an officer of the United States “only when the plaintiff has a clear right to relief, the defendant has a clear duty to perform the act in question, and the plaintiff has no adequate alternative remedy.”
Borntrager v. Stevas,
Even if Longie had identified the federal officer who is responsible for approving land transfers within the reservation, that officer would not have a duty to act — and in fact, as detailed above, would lack authority to act — on a land transfer until it has been established that the transfer was voluntary and complete in every other respect. Longie cannot claim that the Secretary of the Interior refused to approve a land transfer that was never presented to him for approval because the predicate steps never took place.
See, e.g., Martinez,
Our holding does not preclude Longie from seeking relief in tribal court. The tribal court is well suited to determine whether a binding agreement existed between Longie and the tribe regarding the land exchange and whether any obligations still exist under that agreement.
The order of dismissal is affirmed.
Notes
. The Honorable Ralph R. Erickson, United States District Judge for the District of North Dakota.
. Longie had been elected in 1997 by the members of the tribe as Chief Judge for the Spirit Lake Nation. The tribal council adopted resolutions in 1999 allowing its members to remove and appoint judges and promptly acted to remove Longie from his position as Chief Judge. Longie filed suit in the Northern Plains Intertribal Court of Appeals and in federal court, both of which suits were dismissed for failure to exhaust tribal remedies. We affirmed the dismissal of the federal court action.
Longie v. Pearson,
No. 99-4142,
. As a preliminary matter, Longie argues that the district court abused its discretion in not granting his request to amend his complaint. His argument is immaterial if the urged bases for subject matter jurisdiction in the amended complaint would nevertheless result in dis
*589
missal. We have held that amended complaints, although liberally permitted under Fed.R.Civ.P. 15(a), may be denied if there has been undue delay, there has been bad faith on the part of the moving party, the amendment would be futile, or unfair prejudice would result.
See Roberson v. Hayti Police Dep’t,
. Even when an Indian law case involves a federal question, other jurisprudential considerations may nevertheless prevent it from proceeding in federal district court.
See National Farmers,
. We agree with Judge Hazel’s conclusion in
United States v. Seneca Nation of New York Indians,
