delivered the opinion of the Court.
After respondent Guardian Life Insurance Company 1 tеrminated petitioner’s general agency agreement, petitioner brought suit in California Superior Court alleging various state-law claims. Respondent removed the case to the United States District Court for the Eаstern District of California on the basis of diversity jurisdiction and filed state-law counterclaims. After closing arguments but before the District Judge instructed the jury, the parties arrived at an oral agreement settling all claims and cоunterclaims, the substance of which they recited, on the record, before the District Judge in chambers. In April 1992, pursuant to Federal Rule of Civil Procedure 41(a)(l)(ii), the parties executed a *377 Stipulation and Order of Dismissal with Prеjudice, dismissing the complaint and cross-complaint. On April 13, the District Judge signed the Stipulation and Order under the notation “It is so ordered.” The Stipulation and Order did not reserve jurisdiction in the District Court to enforce the settlement agreement; indeed, it did not so much as refer to the settlement agreement.
Thereafter the parties disagreed on petitioner’s obligation to return certain files to respondent under the settlement agreement. On May 21, respondent moved in the District Court to enforce the agreement, which petitioner opposed on the ground,
inter alia,
that the court lacked subject-matter jurisdiction. The District Court entered an enforcement order, asserting an “inherent power” to do so. Order Enforcing Settlement (ED Cal., Aug. 19,1992), App. 180. Petitioner appealed, relying solely on his jurisdictional objection. The United States Court of Appeals for the Ninth Circuit аffirmed, quoting its opinion in
Wilkinson
v.
FBI,
Federal courts are courts of limited jurisdiction. They possess only that power authorized by Constitution and statute, see
Willy
v.
Coastal Corp.,
*378
The dismissal in this case issued pursuant to Federal Rule of Civil Procеdure 41(a)(l)(ii), which provides for dismissal “by filing a stipulation of dismissal signed by all parties who have appeared in the action,” and causes that dismissal to be with prejudice if (as here) the stipulation so specifies. Neithеr the Rule nor any provision of law provides for jurisdiction of the court over disputes arising out of an agreement that produces the stipulation. It must be emphasized that what respondent seeks in this case is enfоrcement of the settlement agreement, and not merely reopening of the dismissed suit by reason of breach of the agreement that was the basis for dismissal. Some Courts of Appeals have held that the latter can be obtained under Federal Rule of Civil Procedure 60(b)(6).
2
See,
e. g., Keeling
v.
Sheet Metal Workers Int’l Assn.,
Respondent relies upon the doctrine of ancillary jurisdiction, which recognizes federal courts’ jurisdiction over some matters (otherwise beyond their competence) that are incidental to other matters properly before them. Respondent appeals to our statement (quoting a then-current treatise on
*379
equity) in
Julian
v.
Central Trust Co.,
The doctrine of ancillаry jurisdiction can hardly be criticized for being overly rigid or precise, but we think it does not stretch so far as that statement suggests. The expansive language of
Julian
can be countered by (equally inaccurate) dicta in lаter cases that provide an excessively limited description of the doctrine. See,
e. g., Fulton Nat. Bank of Atlanta
v.
Hozier,
It is to the holdings of our cases, rather than their dicta, that we must attend, and we find none of them that has, for purposes of asserting otherwise nonexistent federal jurisdiction, relied Upon a relationship so tenuous аs the breach of an agreement that produced the dismissal of an earlier federal suit. Generally speaking, we have asserted ancillary jurisdiction (in the very broad sense in which that term is sometimes used) for two sеparate, though sometimes related, purposes: (1) to permit disposition by a single court of claims that are, in varying respects and degrees, factually interde
*380
pendent, see,
e. g., Baker
v.
Gold Seal Liquors, Inc.,
Neither of these heads supports the present assertion of jurisdiction. As to the first, the facts underlying respondent’s dismissed claim for breach of agency agreement and those underlying its claim for breach of settlement agreement have nothing to do with each other; it would neither be necessary nor even particularly efficient that they be adjudicated together. No case of ours asserts, nor do we think the concept of limited federal jurisdiction permits us to assеrt, ancillary jurisdiction over any agreement that has as part of its consideration the dismissal of a case before a federal court.
But it is the second head of ancillary jurisdiction, relating to the court’s power to protect its proceedings and vindicate its authority, that both courts in the present case appear to have relied upon, judging from their references to “inherent power,” see App. to Pet. for Cert. A-2 and A-5; App. 180. We think, however, that the power asked for here is quite remote from what courts require in order to perform their functions. We have recognized inherent authority to appoint counsel to investigate and prosecute violation of a court’s order.
Young
v.
United States ex rel. Vuitton et Fils S. A.,
The short of the matter is this: The suit involves a claim for breach of a contract, part of the consideration for which was dismissal of an earlier federal suit. No federal statute makes that connection (if it constitutionally could) the basis for federal-court jurisdiction over the contract dispute. The facts to be determined with regard to such alleged breaches of contract are quite separate from the facts to be determined in the principal suit, and automatic jurisdiction over such contracts is in no way essential to the conduct of federal-сourt business. If the parties wish to provide for the court’s enforcement of a dismissal-producing settlement agreement, they can seek to do so. When the dismissal is pursuant to Federal Rule of Civil Procedure 41(a)(2), which specifies that the action “shall not be dismissed at the plaintiff’s instance save upon order of the court and upon such terms and conditions as the court deems proper,” the parties’ compliancе with the terms of the settlement contract (or the court’s “retention of jurisdiction” over the settlement contract) may, in the court’s discretion, be one of the terms set forth in the order. Even when, as occurred here, the dismissal is pursuant to Rule 41(a)(l)(ii) (which does not by its terms empower a district court to attach conditions to the parties’ stipulation of dismissal) we think the court is authorized to embody the settlement contract in its dismissal order *382 (or, what has the same effect, retain jurisdiction over the settlement contract) if the parties agree. Absent such action, however, enforcement of the settlement agreement is for state courts, unlеss there is some independent basis for federal jurisdiction.
We reverse the judgment of the Court of Appeals and remand the case for further proceedings consistent with this opinion.
It is so ordered.
Notes
Guardian Life is the sole respondent. The Guardian Insurance and Annuity Corporation and the Guardian Investor Services Corporation were listed as appellees below, but in fact they had been dismissed prior to trial.
The relevant provision of that Rule reads as follows:
“On motion and upon such terms аs are just, the court may relieve a party or a party’s legal representative from a final judgment, order, or proceeding for the following reasons: ... (6) any other reason justifying relief from the operation of the judgment.”
