
    Shaukat ALI, Appellant v. Tehmina ALI; Rizwan Mahmood; Saleema Akthar; Cavalry Portfolio Services, LLC; Mary Zmigrodski; Wasswerman and Schachman Counselors at Law; Estate of Ronald H. Schachman, through Mrs. Barbara H. Schachman; Janis W. Gerber Awan; David B. Wasserman Late Through Estate of David B. Wasserman.
    No. 11-4170.
    United States Court of Appeals, Third Circuit.
    Submitted Pursuant to Third Circuit LAR 34.1(a) May 24, 2012.
    Opinion filed: May 25, 2012.
    Shaukat Ali, Jersey City, NJ, pro se.
    Mary Zmigrodski, Augusta, MA, pro se.
    Saleema Akthar, Sparta, NJ, pro se.
    Tehmina Ali, Montague, NJ, pro se.
    Janis W. Gerber Awan, Sparta, NJ, pro se.
    Rizwan Mahmood, Sparta, NJ, pro se.
    Before: JORDAN, HARDIMAN and ALDISERT, Circuit Judges.
   OPINION

PER CURIAM.

Shaukat Ali (“Ali”), proceeding pro se, appeals the District Court’s dismissal of his complaint. After a sua sponte review of his initial filing, the District Court was unable to discern the basis of federal subject matter jurisdiction and directed Ali to show cause why the action should not be dismissed. In response to the District Court’s order, Ali filed an amended complaint raising additional claims against additional parties. His claims related to the circumstances of his divorce, the disposition of marital assets, allegations that state officials failed to enforce court orders related to his divorce — including prosecution of conduct he deemed unlawful — and a single claim of unlawful arrest.

The majority of Ali’s claims were based solely in state law — several appear to have no basis in any law, state or federal. The District Court correctly held that the alleged failures to investigate and prosecute actions which Ali deemed unlawful did not constitute a federal cause of action. Furthermore, there was no basis for diversity jurisdiction because Ali and most of the named defendants are citizens of the state of New Jersey. 28 U.S.C. § 1332; see Mennen Co. v. Atl. Mut. Ins. Co., 147 F.3d 287, 290 (3d Cir.1998) (“[Jurisdiction [under § 1332] is lacking if any plaintiff and any defendant are citizens of the same state.”) (citations omitted).

On appeal, Ali argues that he had filed a federal claim and sought to invoke the District Court’s pendent jurisdiction to pursue his many state law causes of action. That federal claim was a civil-rights action pursuant to 42 U.S.C. § 1983 arising from his allegedly unlawful 1998 arrest on domestic violence charges. Ali has already pursued this claim in a prior suit, see Ali v. N.J. State Police Dep’t, 120 Fed.Appx. 900 (3d Cir.2005), and is precluded from raising it again. Allen v. McCurry, 449 U.S. 90, 94, 101 S.Ct. 411, 66 L.Ed.2d 308 (1980) (“Under res judicata, a final judgment on the merits of an action precludes the parties or their privies from relitigating issues that were or could have been raised in that action.”). The District Court correctly dismissed his putative federal claim, and did not err by dismissing the remaining state claim. United Mine Workers of Am. v. Gibbs, 383 U.S. 715, 726, 86 S.Ct. 1130, 16 L.Ed.2d 218 (1966) (“[I]f the federal claims are dismissed ... the state claims should be dismissed as well.”).

Accordingly, we will affirm the decision of the District Court. The motion for sanctions is denied. 
      
      . We have jurisdiction over this appeal pursuant to 28 U.S.C. § 1291 and exercise plenary review over the District Court's sua sponte dismissal. See Allah v. Seiverling, 229 F.3d 220, 223 (3d Cir.2000). We may affirm the District Court’s judgment on any basis supported by the record. Murray v. Bledsoe, 650 F.3d 246, 247 (3d Cir.2011).
     
      
      . Several defendants filed motions to dismiss claims as barred by res judicata. Those motions were mooted by the District Court’s sua sponte dismissal for lack of subject matter jurisdiction, and the Court’s failure to dispose of them was harmless error.
     
      
      . The District Court determined that there was no diversity, however one of the defendants is a resident of the state of Maine. As the remaining defendants are citizens of the same state as Ali, this error was harmless.
     