Opinion ID: 786761
Heading Depth: 3
Heading Rank: 1

Heading: INS officials

Text: 28 The INS officials also seek review of the district court's denial of their motion to dismiss the constitutional and RFRA claims for failure to state a claim, a decision not ordinarily subject to immediate appeal. See Figueroa v. United States, 7 F.3d 1405, 1408 (9th Cir.1993). Whether a complaint fails to allege legally cognizable claims is, however, inextricably intertwined with the qualified immunity issue. 29 To determine whether the INS officials are entitled to qualified immunity, we must first consider whether, taken in the light most favorable to the plaintiff, the facts alleged show the violation of a constitutional or statutory right. See Saucier, 533 U.S. at 201, 121 S.Ct. 2151. Similarly, in reviewing a district court's denial of a motion to dismiss for failure to state a claim, we must consider whether, construing the allegations of the complaint in the light most favorable to the plaintiff, it appears beyond doubt that the plaintiff can prove no set of facts in support of his claim which would entitle him to relief. Zimmerman v. City of Oakland, 255 F.3d 734, 737 (9th Cir.2001) (quoting Conley v. Gibson, 355 U.S. 41, 45-46, 78 S.Ct. 99, 2 L.Ed.2d 80 (1957)). So to determine whether the facts as alleged show that the INS officials violated a legal right (the qualified immunity inquiry), we have to determine whether the facts as alleged state a claim for violation of constitutional or statutory rights. See, e.g., Schwenk v. Hartford, 204 F.3d 1187, 1198-99 & n. 8 (9th Cir.2000) (concluding that the review of a denial of a motion to dismiss for failure to state a claim is part and parcel of the qualified immunity analysis). We may therefore exercise pendent jurisdiction to review the district court's denial of the substantive motion to dismiss.