The defendants appeal the district court’s denial of their motions to dismiss based on Eleventh Amendment immunity and Federal Rule of Civil Procedure 12(b)(6). Pursuant to the collateral order doctrine, we have jurisdiction under 28 U.S.C. § 1291 to review the district court’s denial of the defendants’ motion asserting Eleventh Amendment immunity,
see Puerto Rico Aqueduct & Sewer Auth. v. Metcalf & Eddy, Inc.,
I. Background
Medicaid is a cooperative federal-state program under which states choosing to participate receive federal funds for state-administered Medicaid services provided they comply with the requirements of the Medicaid Act, 42 U.S.C. §§ 1396 et seq., and its implementing regulations, 42 C.F.R. §§ 430 et seq. Under the Medicaid Act, a participating state may ask the Secretary of Health and Human Services to provide a waiver allowing the state to pay for home or community-based services as “medical assistance” under its approved Medicaid plan. 42 U.S.C. § 1396n(c). New Mexico has chosen to participate in Medicaid and has received a waiver from the Secretary allowing for the inclusion of two “waiver services” in its plan: the Developmental Disabilities Home and Community-Based Services Waiver and the Disabled and Elderly Home and Community-Based Services Waiver.
In addition to an advocacy group called Protection and Advocacy, the initial plaintiffs in this case were individuals who •claimed they were eligible for Medicaid services because of their physical or developmental disabilities or because of their advanced age. 1 After applying for waiver services under New Mexico’s Medicaid plan, the plaintiffs were placed on waiting lists for as many as seven years. The plaintiffs argue that the state must provide the waiver services to which they are entitled “with reasonable promptness” as required by 42 U.S.C. § 1396a(a)(8). Alleging violations under both the Medicaid Act and the Americans with Disabilities Act (ADA), 42 U.S.C. §§ 1201 et. seq., as well *975 as due process violations actionable under 42 U.S.C. § 1983, the plaintiffs brought suit against two state agencies, the New Mexico Department of Health and the New Mexico Department of Human Services. In addition, the plaintiffs sued Alex Valdez in his official capacity as both Secretary of the Department of Health and Secretary-Designee of the Department of Human Services, as well as Governor Gary Johnson in his official capacity as Governor of New Mexico. The plaintiffs seek a declaration that the defendants’ current administration of the waiver services violates federal law and injunctive relief ordering the defendants to comply with the Medicaid Act by providing waiver services with “reasonable promptness.”
The plaintiffs also initially sought injunc-tive relief under the ADA, requesting that the state agencies provide them with services in the most integrated setting appropriate to their needs. Since the district court issued its order, however, the plaintiffs have voluntarily dismissed their ADA claim, leaving only their § 1983 claims alleging violations of their federal rights under the Medicaid Act and the Constitution. Accordingly, the only remaining defendants are the two individuals named in their official capacities, narrowing our inquiry concerning Eleventh Amendment immunity to whether the plaintiffs’ claims fall within the Ex parte Young doctrine, which allows plaintiffs to seek prospective equitable relief for violations of federal law by state officials. We conclude Ex parte Young applies and affirm the district court’s denial of the defendants’ motion to dismiss based on Eleventh Amendment immunity.
II. Standard of Review
Because an assertion of Eleventh Amendment immunity involves questions of law, we review the district court’s decision de novo.
See Powder River Basin Resource Council v. Babbitt,
III. Eleventh Amendment Immunity
Although citizens may not generally sue states in federal court under the Eleventh Amendment, the
Ex parte Young
doctrine has carved out an alternative, permitting citizens to seek prospective equitable relief for violations of federal law committed by state officials in their official capacities.
Ex parte Young,
*976 A. Alleging a suit against state officials
The Ex parte Young doctrine allows plaintiffs to sue state officials even if they claim to be acting under valid state law because, if the officials’ conduct constitutes an ongoing violation of federal law, the state “cannot cloak their actions with state authority or state immunity.” Id. That is, when state officials are arguably violating federal law, “[t]he state is not the real party in interest because the state cannot ‘authorize’ the officials to violate federal law.” Id. at 610. Hence, in allegedly violating federal law, the officials are stripped of their state authority and the Eleventh Amendment will not protect them from suit. In the case before us, the defendants are two state officials exercising considerable control over the implementation and administration of the waiver services under New Mexico’s Medicaid plan. The plaintiffs claim these officials, acting pursuant to state authority, are violating federal law in failing to provide waiver services to eligible individuals with “reasonable promptness.” The plaintiffs have, therefore, properly sued state officials, rather than the state itself.
Moreover, we are not persuaded by the defendants’ contention that the plaintiffs have failed to bring a permissible suit against state officials because the relief would require that the courts interfere with discretionary, rather than simply ministerial, acts by state officials. We have previously addressed the same argument, noting that “[a]lthough this general premise is sound, Ex parte Young does not extend this rule to preclude judicial review of discretionary acts that violate federal law.” Id. at 611. When plaintiffs establish a non-frivolous violation of federal law, we have held we “will not deny jurisdiction solely on the basis that a ruling might indirectly impact state officials’ discretionary acts.” Id. The relief sought in the present case requires only that the court order state officials to comply with federal law; because the court would not instruct the defendants in how to use their discretion to comply, any impact on the official exercise of discretion would be indirect.
B. Alleging a violation of federal law
We must next determine whether the plaintiffs have alleged a non-frivolous claim for relief “that does not merely allege a violation of federal law solely for the purpose of obtaining jurisdiction.”
Id.
at 610 (internal quotation marks omitted). Although this question may rest on the later decision on the merits, we have characterized the' two steps as separate, distinct inquires.
Id.
As the Supreme Court has recognized, a state official must act in violation of federal law and therefore outside any delegated authority in order for plaintiffs to avoid dismissal based on Eleventh Amendment immunity.
See, e.g., Larson v. Domestic & Foreign Commerce Corp.,
Applying this standard, we conclude that the plaintiffs’ claims are not “wholly insubstantial and frivolous.” Although the defendants argue that § 1396a(a)(8) fails to create a binding obligation on the state, the language of the statute and implementing regulations discourages the dismissal of the plaintiffs’
*977
statutory claim as frivolous. As in
Wilder v. Virginia Hospital Association,
Although the defendants do not raise the argument, we note the more difficult question for resolution on the merits is whether § 1396a(a)(8) creates a federal right directly benefitting the plaintiffs in this case. In order to create a federal right, the statute must reflect Congress’s clear intent to benefit directly the particular plaintiffs in this case.
See Blessing v. Freestone,
Finally, although the plaintiffs allege a deprivation of both substantive and procedural due process rights, we note their argument essentially alleges only a deprivation of procedural due process. They argue that state officials have failed to process their applications for waiver services in the manner required by federal law; they do not, quite wisely, argue that the Medicaid statutes create a substantive property interest in waiver services to which they are entitled. Again, although we will not decide the merits, we do conclude that the plaintiffs’ procedural due process claim survives the Ex parie Young inquiry because it is not wholly insubstantial or frivolous. In fact, a determination of whether the plaintiffs’ procedural due process rights have been violated depends on the resolution of the plaintiffs’ statutory claim — whether the Medicaid statutes actually create a federal statutory right to the reasonably prompt provision of services.
C. Seeking permissible prospective equitable relief
Under the third element, we must find that the plaintiffs are seeking prospective equitable relief, rather than retroactive monetary relief. As we have recognized, however, in applying this distinction we ask “not whether the relief will require the payment of state funds, but whether the relief will remedy future rather than past wrongs.”
Elephant Butte,
D. Implicating special sovereignty interests
In response to the Supreme Court’s decision in
Coeur d’Alene,
we recognized: “[I]f we determine the relief Plaintiffs seek, although prospective and not tantamount to a damages award, is an excessive intrusion into an area of special state sovereign interest,
Ex parte Young
does not apply, and the Eleventh Amendment bars the suit.”
Elephant Butte,
IV. Pendent Jurisdiction
Because the district court’s denial of the defendants’ motions to dismiss under Rule 12(b)(6) is not immediately ap-pealable, they urge us to exercise our pendent appellate jurisdiction, arguing that the 12(b)(6) inquiry is “inextricably intertwined” with the second element of the
Ex parte Young
inquiry, which requires us to determine whether the claim alleges a violation of federal law. We have interpreted the Supreme Court’s discussion of pendent jurisdiction in
Swint v. Chambers County Commission,
Despite the interlocutory nature of the defendants’ nonappealable claims, they argue that pendent jurisdiction is proper because the 12(b)(6) inquiry is inextricably intertwined with the
Ex parte Young
inquiry into whether the plaintiffs have al
*979
leged a violation of federal law. As we noted above, the Supreme Court has, however, approached this part of the
Ex parte Young
doctrine as a question of subject matter jurisdiction, which requires a less demanding standard under which to review plaintiffs’ legal claims.
See Larson,
The
Ex parte Young
doctrine is therefore governed by precedent that clearly distinguishes the initial jurisdictional inquiry from the 12(b)(6) inquiry. The threshold necessary to sustain jurisdiction is well settled: “Jurisdiction ... is not defeated ... by the possibility that the averments might fail to state a cause of action on which petitioners could actually recover.... ”
Bell,
We have already determined that the plaintiffs in the present case have alleged at least arguable violations of federal law sufficient to allow the suit to proceed to the merits. We need not, however, exercise pendent jurisdiction over the district court’s denial of the defendants’ motions to dismiss under Rule 12(b)(6) because whether the plaintiffs have failed to state a claim upon which relief may be granted is not inextricably intertwined with our jurisdictional analysis under Ex parte Young and the Eleventh Amendment. Simply stated, Rule 12(b)(6) and the Ex parte Young doctrine are two distinct inquiries requiring the application of different standards.
Accordingly, we AFFIRM the district court’s denial of the defendants’ motion to dismiss based on Eleventh Amendment immunity and decline to exercise pendent appellate jurisdiction over the remaining portions of the district court’s order.
Notes
. Since the district court issued its decision, some of the individually named plaintiffs in this case have received the waiver services for which they applied. Others have unfortunately passed away. At this stage, none of these plaintiffs remains a party in this case, leaving only the advocacy group. The defendants do not, however, raise this issue. Although we would typically consider the issue sua sponte,
see Qwest Communications Int’l, Inc. v. Fed. Communications Comm’n,
