Federal courts must consider subject matter jurisdiction sua sponte and dismiss an action if jurisdiction is lacking because it cannot be waived or conferred by party consent.
After a defendant moved to dismiss for lack of subject matter jurisdiction, the parties entered into a settlement agreement. When the plaintiff sought to enforce the agreement, the district court entered an order without first resolving the jurisdictional challenge. Because federal courts are courts of limited jurisdiction, they lack the authority to issue orders unless a dispute falls within the jurisdiction conferred by Congress. Subject matter jurisdiction cannot be waived by the parties or conferred by consent, and a settlement agreement does not moot the jurisdictional question. The court must consider subject matter jurisdiction sua sponte and dismiss the action if jurisdiction is lacking.
At page 1297 Courts' duty to consider subject matter jurisdiction sua sponte82 citing casesUnited States District Courts and Courts of Appeals have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking.
- United States v. Baltazar-Sebastian, 990 F. 3d 939 (5th Cir. 2021).published (Courts of Appeals have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking.)
- Dental Resource Sys. Inc v. Ashcraft, No. 3:20-cv-02085 (N.D. Tex. Feb. 10, 2021).(United States District Courts and Courts of Appeals have the responsibility to consider the 3 question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such juri…)
- Ronda Crutchfield v. Sewerage & Water Bd., 829 F.3d 370 (5th Cir. 2016).published(United States District Courts and Courts of Appeals have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisd…)
- Naomi Sandres v. State of LA Div. of Admin, No. 13-31010 (5th Cir. Jan. 20, 2014).unpublished II Before reaching the merits of Sandres’s appeal, we must determine whether the district court had jurisdiction to rule on ORM’s motion to dismiss. 3 We review such jurisdictional questions de novo. 4 In general, “‘[t]he filing of a notic…
- Jones, No. 4:25-cv-01726 (S.D. Tex. Feb. 20, 2026).Tex. June 11, 2025) (quoting Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (5th Cir. 1985)).
- Dill, No. 3:25-cv-00915 (N.D. Tex. Nov. 24, 2025).Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (5th Cir. 1985).
- Tran, No. 3:25-cv-00377 (S.D. Tex. Nov. 21, 2025).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Simpson v. Amerisave Mortg. Corp., No. 4:23-cv-00906 (E.D. Tex. Sept. 29, 2025).“the responsibility to consider the question of subject matter jurisdiction sua sponte . . . and to dismiss any action if such jurisdiction is lacking”
- Valdez, No. 3:25-cv-00526 (N.D. Tex. Sept. 17, 2025).Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (5th Cir. 1985).
- Newrez LLC v. Gregory Lee, No. 5:25-cv-01072 (W.D. Tex. Sept. 4, 2025).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
Show 67 more citing cases
- Frymier v. Houston Area Women's Ctr., No. 4:25-cv-01122 (S.D. Tex. June 10, 2025).“Therefore, United States District Courts and Courts of Appeals have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if s…”
- Nat'l Fire & Marine Ins. Co. v. 1639 Buckner Plaza LLC, No. 3:24-cv-02407 (N.D. Tex. Jan. 28, 2025).“the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Escobedo v. Orellana, No. 5:24-cv-00856 (W.D. Tex. Oct. 25, 2024).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- McGinnis v. Newrez Mortg., No. 4:24-cv-00247 (E.D. Tex. Sept. 19, 2024).“the responsibility to consider the question of subject matter jurisdiction sua sponte . . . and to dismiss any action if such jurisdiction is lacking”
- Vita Equipose Equity Partners, LLC v. TIG Romspen US Master Mortg. LP <b><font color="red">Case remanded to 239TH Jud. Dist. Court of Brazoria Cnty., Texas.</font></b>, No. 3:21-cv-00358 (S.D. Tex. Aug. 12, 2024).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Ikon Grp. Opportunity Zone Fund, LLC v. Great Am. Ins. Co., No. 4:24-cv-00480 (E.D. Tex. June 10, 2024).(first citing FED. R. CIV. P. 12(h)(3); and then citing In re Kutner, 656 F.2d 1107, 1110 (5th Cir. Unit A Sept. 1981))
- Ferrari v. Francis, 732 F. Supp. 3d 650 (N.D. Tex. 2024).published“the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Scott v. Struga Mgmt., No. 5:22-cv-00052 (W.D. Tex. Feb. 9, 2024).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Trend Intermodal Chassis Leasing LLC v. Zariz Transp. Inc, 711 F. Supp. 3d 627 (N.D. Tex. 2024).published“Nor can jurisdiction be conferred by conduct or consent of the parties”
- Nat'l Oilwell Varco v. Auto-Dril, 68 F.4th 206 (5th Cir. 2023).published Id. at 1297-98.
- Castillo v. OK SANG, No. 5:22-cv-00777 (W.D. Tex. Mar. 20, 2023).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Grisham v. Valenciano, No. 5:21-cv-00983, 2023 WL 367216 (W.D. Tex. Jan. 20, 2023).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Leos v. Bexar Cnty., No. 5:22-cv-00574 (W.D. Tex. Oct. 4, 2022). “have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Ravain v. Ochsner Med. Ctr. - Kenner, L.L.C., No. 2:21-cv-02365 (E.D. La. Aug. 12, 2022).Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (5th Cir. 1985).
- Williams v. Hegar, No. 5:22-cv-00256 (W.D. Tex. July 21, 2022).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Williams v. Bexar Cnty. Dist. Attorneys Off., No. 5:22-cv-00257 (W.D. Tex. July 21, 2022).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Winters v. Texas SFI P'ship Ltd., No. 4:20-cv-03404 (S.D. Tex. May 12, 2022).P. 12(h)(3); Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (Sth Cir. 1985).
- Sanders v. Boeing, No. 20-10882, 2021 WL 3412509 (5th Cir. Aug. 4, 2021).unpublished“the concept of limited jurisdiction”
- In the Matter of the Complaint of Go Rio San Antonio, LLC, No. 5:20-cv-01304 (W.D. Tex. June 11, 2021).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- J.G. Wentworth Originations, LLC v. Resendez, No. 5:20-cv-00528 (W.D. Tex. Apr. 13, 2021).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Cedarview Mart, LLC v. State Auto Prop. & Cas. Co., No. 3:20-cv-00107 (N.D. Miss. Mar. 30, 2021).Nor can jurisdiction be conferred by conduct or consent of the parties.” Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (5th Cir. 1985).
- Pole v. Fed. Bureau of Investigation, No. 3:20-cv-00242 (S.D. Miss. Jan. 21, 2021).“the responsibility to consider the question of subject[-]matter jurisdiction sua sponte if it is not raised by the parties”
- Endowment v. Great Am. Assurance Co., No. 5:20-cv-01146 (W.D. Tex. Dec. 10, 2020).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Felicia Cirlos v. AGTI Transp., Inc., No. 5:20-cv-00964 (W.D. Tex. Sept. 17, 2020).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Meiburg v. Savoie, No. 4:20-cv-01628 (S.D. Tex. May 27, 2020).This Court has the “‘responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking.’” Crutchfield v. Sewerage & Water Bd. of N…
- Affordable Constr. Servs., Inc. v. Auto-Owners Ins. Co., No. 1:20-cv-01016 (W.D. Tenn. Apr. 23, 2020).“Unless a dispute falls within the confines of the jurisdiction conferred by Congress, such courts do not have authority to issue orders regarding its resolution”
- Mega Vape, LLC v. City of San Antonio, 455 F. Supp. 3d 299 (W.D. Tex. 2020).published“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Hardmon v. U L Coleman, No. 5:17-cv-01118 (W.D. La. Mar. 31, 2020).Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1297 (5th Cir. 1985).
- Casey v. Marathon Petroleum Co., LP, No. 5:19-cv-00732 (W.D. Tex. Sept. 25, 2019).“have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking”
- Cephus v. Texas Health & Human Servs. Comm'n, 146 F. Supp. 3d 818 (S.D. Tex. 2015).publishedSee Kidd v. Southwest Airlines Co., 891 F.2d 540, 545 (5th Cir.1990)(“[F]ederal courts must address jurisdictional questions sua sponte when the, parties’ briefs do not bring the issue to the court’s attention.”)(same); Giannakos v. M/V Br…
- J.A.R., Inc. v. M/v Lady Lucille, 963 F.2d 96 (5th Cir. 1992).published
- Odeco Oil & Gas Co. v. David J. Bonnette, 4 F.3d 401 (5th Cir. 1993).published
- Odom v. Apfel, No. 97-30337 (5th Cir. Dec. 24, 1997).unpublished
- Lofton v. Cain, No. 97-30436 (5th Cir. Dec. 24, 1997).unpublished
- Reynolds v. Amer Academy Achieve, No. 97-10726 (5th Cir. Apr. 8, 1998).unpublished
- United States v. Hernandez, No. 97-50706 (5th Cir. Apr. 15, 1998).unpublished
- Dinger v. Apfel, No. 98-31148 (5th Cir. Sept. 17, 1999).unpublished
- Griffin v. Lee, 621 F.3d 380 (5th Cir. 2010).published
- Paul Edward Archie v. David A. Christian, 768 F.2d 726 (5th Cir. 1985).published
- James C. Kanzelberger & Contemporary, Inc. v. Warren F. Kanzelberger, 782 F.2d 774 (7th Cir. 1986).published
- Arlene Nordgren v. Jerome Hafter, 789 F.2d 334 (5th Cir. 1986).published
- Anthony J. Caprera v. Roy Jacobs, Sr., 790 F.2d 442 (5th Cir. 1986).published
- Hensgens v. Deere & Co., 833 F.2d 1179 (5th Cir. 1987).published
- Debra Kidd v. Sw. Airlines, Co., 891 F.2d 540 (5th Cir. 1990).published
- Kathleen Denise Shirley v. Maxicare Texas, Inc., 921 F.2d 565 (5th Cir. 1991).published
- Victor C. Baris v. Sulpicio Lines, Inc., 932 F.2d 1540 (5th Cir. 1991).published
- MCI Telecomm. Corp. v. United Showcase, Inc., 847 F. Supp. 510 (N.D. Tex. 1994).published
- Irby v. Fred's Stores of Tennessee, Inc., 967 F. Supp. 187 (S.D. Miss. 1997).published
- Hood ex rel. Mississippi v. City of Memphis, Tenn., 533 F. Supp. 2d 646 (N.D. Miss. 2008).published
- Marr Broad. Co. v. Shamrock Broad. of Texas, Inc. (In re Marr Broad. Co.), 79 B.R. 673 (Bankr. S.D. Tex. 1987).published
- InterFirst Bank Fannin v. Bernell (In re Mesa Intercontinental, Inc.), 79 B.R. 669 (Bankr. S.D. Tex. 1987).published
- In re Lakeside Global II, Ltd., 116 B.R. 499 (Bankr. S.D. Tex. 1989).published
- Snyder v. United States, 504 F. Supp. 2d 136 (S.D. Miss. 2007).published
- Kendall v. Nat. Union Fire Ins. Co. of Pittsburgh, 388 F. Supp. 2d 755 (N.D. Miss. 2005).published
- Woods v. Golden Triangle Convalescent Ctr., 22 F. Supp. 2d 570 (E.D. Tex. 1998).published
- Deaville v. Capital One Bank, 425 F. Supp. 2d 744 (W.D. La. 2006).published
- Rogers v. Coastal Towing, L.L.C., 723 F. Supp. 2d 929 (E.D. La. 2010).published
- Dow Chem. Co. v. Union Pac. Corp., 8 F. Supp. 2d 940 (S.D. Tex. 1998).published
- Sandres v. State of Louisiana Div. of Admin., 551 F. App'x 95 (5th Cir. 2013).unpublished
- Colvin v. Amegy Mortg. Co., 507 B.R. 169 (W.D. Tex. 2014).published
- Colvin v. Amegy Mortg. Co., 507 B.R. 915 (W.D. Tex. 2014).published
- Salamah v. UT Sw. Health Sys., No. 3:24-cv-00477 (N.D. Tex. Apr. 25, 2025).
- Baker, No. 3:24-cv-00109 (S.D. Miss. Aug. 19, 2026).
- 11300 Roszell Holdings, LLC v. Blue Logic Capital, No. 5:20-cv-00302 (W.D. Tex. Mar. 23, 2020).
- Wardlaw Transp., LLC v. S. Tire Mart, LLC, No. 5:20-cv-01014 (W.D. Tex. Oct. 16, 2020).
- Sparta v. Gilbert, No. 4:25-cv-00185 (S.D. Tex. June 11, 2025).
- Greene, No. 4:25-cv-02423 (S.D. Tex. July 16, 2026).
At page 1298 Waiver of jurisdictional defects under rule 12(h)(1)30 citing casesUnder Federal Rule of Civil Procedure 12(h)(1) any jurisdictional defect stemming from insufficiency of process or of service of process is waived unless it is raised in the answer or by motion before the filing of a responsive pleading.
- Ovesian v. Denton Dist. Attorney's Off., No. 4:21-cv-00168 (E.D. Tex. Feb. 16, 2022).(Under Federal Rule of Civil Procedure 12(h)(1) any jurisdictional defect stemming from insufficiency of process or of service of process is waived unless it is raised in the answer or by motion before the filing of a r…)
- Kelley, No. 2:25-cv-02031 (E.D. La. Feb. 3, 2026).Tex. Oct. 3, 2025) (“Amending a complaint does not restart this time period.”). 10 Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1298 (5th Cir. 1985). 11 Aetna Bus.
- McMahan v. Grasshopper, No. 1 CA-SA 25-0137 (Ariz. Ct. App. Oct. 16, 2025).publishedCiv. P. 12(h)(1); Giannakos v. M/V BRAVO TRADER, 762 F.2d 1295, 1298 (5th Cir. 1985)).
- LMC Prop v. Prolink Roofing Sys, No. 23-11090 (5th Cir. Oct. 9, 2024).unpublishedCiv. P. 12(h)(1); Giannakos v. M/V BRAVO TRADER, 762 F.2d 1295, 1298 (5th Cir. 1985)). 24 Moran v. Kingdom of Saudi Arabia, 27 F.3d 169, 172 (5th Cir. 1994) (quoting Gould, Inc. v. Pechiney Ugine Kuhlmann, 853 F.2d 445, 450 (6th Cir. 1988)…
- 4FLAC LLC v. Transcol, S.A., No. 1:21-cv-20630 (S.D. Fla. Feb. 22, 2021).Similarly, “a natural person with foreign citizenship is generally considered a citizen of a foreign state, even if that person is residing in the United States.” Id. (citing Giannakos v. M/V Bravo Trader, 762 F.2d 1295, 1298 (5th Cir. 198…
- Trafigura AG v. Enter. Prods. Operating LLC, 995 F. Supp. 2d 641 (S.D. Tex. 2014).publishedGiannakos v. M/V Bravo Trader, 762 F.2d 1295, 1298 (5th Cir.1985) (per curiam).
- Insituform Tech., Inc. v. Amerik Supplies, Inc., 850 F. Supp. 2d 1336 (N.D. Ga. 2012).publishedGiannakos v. M/V Bravo Trader, 762 F.2d 1295, 1298 (5th Cir.1985).
- Bd Regents Univ TX v. Nippon Tele Telegr, 478 F.3d 274 (5th Cir. 2007).published
- Photolab Corp. v. Simplex Specialty Co., 806 F.2d 807 (8th Cir. 1986).published
- Broadcast Music, Inc. v. M.T.S. Enter., Inc., 811 F.2d 278 (5th Cir. 1987).published
Show 18 more citing cases
- Harrison Combs, Tr., United Mine Workers 1974 Pension Trust v. Nick Garin Trucking, Harrison Combs, Tr., United Mine Workers 1974 Pension Trust v. Nick Garin Trucking, 825 F.2d 437 (D.C. Cir. 1987).published
- Barrett Comput. Servs., Inc. v. Pda, Inc., 884 F.2d 214 (5th Cir. 1989).published
- Grassi v. Ciba-Geigy, Ltd., 894 F.2d 181 (5th Cir. 1990).published
- Marathon Oil Co. Marathon Int'l Oil Co. Marathon Petroleum Norge A/s v. Ruhrgas, A.G., 115 F.3d 315 (5th Cir. 1997).published
- Grajczyk v. Tasca, 2006 S.D. 55, 717 N.W.2d 624.published
- Simon Holdings PLC Grp. of Companies U.K. v. Klenz, 878 F. Supp. 210 (M.D. Fla. 1995).published
- Arai v. Tachibana, 778 F. Supp. 1535 (D. Haw. 1991).published
- Pancan Int'l Mgmt. Consultants, Inc. v. STS Microscan, Inc., 848 F. Supp. 1321 (E.D. Mich. 1993).published
- Lawal v. British Airways, PLC, 812 F. Supp. 713 (S.D. Tex. 1992).published
- Nolan v. Boeing Co., 736 F. Supp. 120 (E.D. La. 1990).published
- Prof'l Hockey Club Cent. Sports Club of Army v. Detroit Red Wings, Inc., 787 F. Supp. 706 (E.D. Mich. 1992).published
- D'ARBOIS v. Sommelier's Cellars, 741 F. Supp. 489 (S.D.N.Y. 1990).published
- Williamson-Dickie Mfg. Co. v. M/V Heinrich J, 762 F. Supp. 2d 1023 (S.D. Tex. 2011).published
- Hernandez-Castellanos v. Bridgestone Corp., 215 F. Supp. 2d 862 (S.D. Tex. 2002).published
- FDIC v. Daniel Belcher, 978 F.3d 959 (5th Cir. 2020).published
- Combs v. Nick Garin Trucking, 825 F.2d 437 (D.C. Cir. 1987).published
- Bd. of Regents of the Univ. of Texas Sys. ex rel. Univ. of Texas v. Nippon Tel. & Tel. Corp., 478 F.3d 274 (5th Cir. 2007).published
- J. Slotnik Co. v. Clemco Indus., 127 F.R.D. 435 (D. Mass. 1989).published
At page 1295 “have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking.”2 citing cases
- Pinnacle Bank v. Cope Investments, LLC, No. 1:25-cv-00194 (S.D. Miss. Mar. 4, 2026).(District Courts . . . have the responsibility to consider the question of subject matter jurisdiction sua sponte if it not raised by the parties . . . .)
- Naomi Sandres v. State of LA Div. of Admin, No. 13-31010 (5th Cir. Jan. 20, 2014).unpublished (United States District Courts and Courts of Appeals have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisd…)
v.
M/V BRAVO TRADER, Her Engines, Tackle, Apparel, Furniture, etc., In Rem, and Kenneth C. Scullin, Gulf Trading Company, and Hyperion Helios Shipping Corporation In Personam, Kenneth C. Scullin
Kenneth C. Scullin asks us to vacate the district court’s judgment enforcing a settlement agreement between Scullin and Panos Giannakos on the grounds that the court lacked subject matter jurisdiction over the suit. We vacate and remand.
I
Giannakos filed suit in 1981 alleging that Scullin and two corporations controlled by Scullin, Gulf Trading Company and Hyperion Helios Shipping Corporation, had failed to compensate Giannakos for services rendered in accordance with an oral contract between Giannakos and Scullin. Under the contract Giannakos was to serve as a consultant to aid defendants’ efforts to purchase, construct, and operate various passenger vessels.
In May 1984 Scullin filed a motion to dismiss for lack of subject matter jurisdiction pursuant to Federal Rule of Civil Procedure 12(b)(1). The parties settled before the trial judge ruled on this motion. However, defendants failed to comply with the terms of the settlement agreement. Giannakos then applied to the court for an order enforcing the agreement. The judge entered the requested order, still without addressing the question of subject matter jurisdiction.
II
On appeal Scullin contends that the order enforcing the settlement agreement was invalid because the court lacked jurisdiction over the underlying controversy. Giannakos maintains that defendants waived this issue by entering into the settlement before the district court resolved the jurisdictional question and are now estopped from raising it as a defense to enforcement of the agreement. In the alternative, he asserts that the court had proper jurisdiction based on general maritime law and diversity of citizenship.
A
Inferior federal courts are courts of limited jurisdiction. 13 C. Wright, A. Miller & E. Cooper, Federal Practice and Procedure § 3522 (1984) (hereinafter C. Wright). Unless a dispute falls within the confines of the jurisdiction conferred by Congress, such courts do not have the authority to issue orders regarding its resolution. The question of subject matter jurisdiction can never be waived. Nor can jurisdiction be conferred by conduct or consent of the parties. C. Wright, supra. See Eagerton v. Valuations, Inc., 698 F.2d 1115, 1118 (11th Cir.1983); A.L. Rowan & Son v. Department of Housing and Urban Development, 611 F.2d 997, 998-99 (5th Cir.1980). Such jurisdiction goes to the core of the court’s power to act, not merely to the rights of the particular parties. If jurisdiction could be waived or created by the parties, litigants would be able to expand federal jurisdiction by action, agreement, or their failure to perceive a jurisdictional defect. Such a result would be in direct conflict with the concept of limited jurisdiction. Therefore, United States District Courts and Courts of Appeals have the responsibility to consider the question of subject matter jurisdiction sua sponte if it is not raised by the parties and to dismiss any action if such jurisdiction is lacking. Fed.R.Civ.P. 12(h)(3). Matter of Kutner, 656 F.2d 1107, 1110 (5th Cir.1981), cert. denied, 455 U.S. 945, 102 S.Ct. 1443, 71 L.Ed.2d 658 (1982).
In the present case, the district court erred in entering the challenged judgment without responding to defendants’ motion to dismiss. Giannakos aptly complains that Scullin has engaged in dilatory tactics throughout this proceeding. Unfortunately, the normal equities created by conduct of a party are beside the mark. The question of subject matter jurisdiction must be resolved by the application of proper legal principles to the facts devel[*1298]oped below. Because federal jurisdiction cannot be conferred by an agreement between the parties, the settlement agreement did not moot the jurisdictional question. Unless the court had jurisdiction over the original controversy, it did not have the authority to order enforcement of the settlement.
Both parties draw two cases to our attention: Fairfax County Wide Citizens v. Fairfax County, 571 F.2d 1299 (4th Cir.1978) and Aro Corp. v. Allied Witan Co., 531 F.2d 1368 (6th Cir.1976). However, these cases are inapposite. Although they address jurisdictional questions regarding the enforcement of settlement agreements, in each case the original controversy was within the court’s federal question jurisdiction. As plaintiff notes, the Sixth Circuit did state that a federal court has jurisdiction over settlement agreements even where its original jurisdiction may be questionable because the execution of the agreement “renders the prior controversy academic.” Aro, 531 F.2d at 1371. We decline to apply this statement to the present case for two reasons. First, it is dicta. The original complaint was indisputably within the jurisdiction of the federal court because it was premised on the infringement of a federal patent. Second, as support for this statement the Sixth Circuit cited Meetings & Expositions, Inc. v. Tandy Corp., 490 F.2d 714 (2d Cir.1974), which addressed only the effect of a settlement agreement on a subsequent claim that the enforcing court lacked personal jurisdiction over defendant.
B
Giannakos has alleged two bases for jurisdiction: general maritime law and diversity of citizenship. The sources to be used by this court in assessing a claim of lack of jurisdiction are: (1) the complaint, (2) any undisputed facts evidenced in the record, and (3) any disputed facts resolved by the district court. Williamson v. Tucker, 645 F.2d 404, 413 (5th Cir.1981).
The record before us in this case does not permit a conclusive determination that jurisdiction exists under either theory advanced by plaintiff. Although his alleged employment contract did relate to maritime business, we do not have sufficient facts to determine whether his claim satisfies the prerequisites for admiralty jurisdiction. See C. Wright, supra, § 3675.
On its face, the complaint does not satisfy the requirements of diversity jurisdiction because the diversity of citizenship is not complete. Both the plaintiff and one of the defendants, Hyperion Helios Shipping Corporation, are citizens of foreign nations. Diversity does not exist where aliens are on both sides of the litigation. Corporacion Venezolana de Fominto v. Vintero Sales Corp., 629 F.2d 786, 790 (2d Cir.1980), cert. denied, 449 U.S. 1080, 101 S.Ct. 863, 66 L.Ed.2d 804 (1981). The fact that Giannakos has established a residence in Louisiana does not alter this conclusion. Jagiella v. Jagiella, 647 F.2d 561, 563 (5th Cir.1981).
Giannakos advances three arguments in support of his claim that complete diversity exists despite the naming of Hyperion in the complaint. All are without merit.
First he contends that Hyperion never became a party because service of process on the corporation was never effected. However, service is not a prerequisite to jurisdiction. A party named in the complaint may voluntarily submit to the jurisdiction of the court. Under Federal Rule of Civil Procedure 12(h)(1) any jurisdictional defect stemming from insufficiency of process or of service of process is waived unless it is raised in the answer or by motion before the filing of a responsive pleading. Hyperion filed an answer to Giannakos’s complaint. It did not raise any issues pertaining to personal jurisdiction. Therefore Hyperion was properly before the court.
Second, he maintains that Hyperion could have been dismissed from the proceeding to preserve diversity because it is not an indispensable party to the litigation. This argument must be presented to[*1299] the district court on remand pursuant to Federal Rule of Civil Procedure 19(b).
Finally Giannakos asserts that Hyperion is the alter ego of Scullin and does not have any independent existence. This argument also requires factual development and must be presented first to the district court.
VACATED AND REMANDED.