damages in addition to recovery of the maintenance fees, the trial court’s denial of Appellants’ motion to intervene did not constitute an abuse of discretion.
III.
Appellants contend that the court erred in finding that it had subject matter jurisdiction necessary to approve that portion of the settlement agreement which provided for the allowance of setoff claims by the Defendants.
Plaintiff class members consisted of past and present tenants of THA who had been assessed maintenance fees. As tenants, the class members were obligated under their leases to pay certain monthly rental fees and maintenance fees. Clause 7 of the lease agreement also provided:
except for normal wear and tear, tenant agrees to pay reasonable charges for repair of intentional or negligent damages to the leased premises of the project caused by the tenant, his family, dependents and/or guests.
Thus, while the lease agreement dictated the payments of the rentals and maintenance fees, it also dictated that the tenants were to pay reasonable charges for intentional and negligent damages to the leased premises. Accordingly, the maintenance fees refunded could be reduced, or setoff, by rentals due and reasonable charges for repairs if the same qualified as compulsory counterclaims thereby vesting the court with subject matter jurisdiction over that portion of the settlement agreement.
Fed.Rules Civ.Proc. rule 13(a), 28 U.S.C.A., provides in part:
A pleading shall state as a counterclaim any claims which at the time of serving the pleading the pleader has against any opposing party, if it arises out of the transaction or occurrence that is the subject matter of the opposing party’s claim . . . . (Emphasis supplied.)
Jurisdiction vests, therefore, in federal district courts governing counterclaims arising out of the transaction or occurrence that gives rise to the initial claim. In Pipeliners Local Union No. 798, Tulsa, Oklahoma v. Ellerd, 503 F.2d 1193 (10th Cir. 1974), we noted:
A federal district court may assert jurisdiction of a claim which is a continuation of, or incidental and ancillary to, a principal claim over which it has jurisdiction, even though it might not have jurisdiction of the ancillary proceedings if it were an independent and original action or proceeding. Aetna Insurance Company v. Chicago, Rock Island and Pacific Railroad Company, 229 F.2d 584 (10th Cir. 1956); Wright, Federal Practice and Procedure; § 1414 at 69-71. This is so because the ancillary claim is referable to or dependent upon the jurisdiction of the court over the principal suit or proceeding. United States v. Acord, 209 F.2d 709 (10th Cir. 1954). In Inter-State National Bank of Kansas City v. Luther, 221 F.2d 382 (10th Cir. 1955), cert. dismissed 350 U.S. 944, 76 S.Ct. 297, 100 L.Ed. 823 (1956), we held that:
Counterclaim under Rule 13, F.R.C.P., includes both setoff and recoupment, and is broader than either in that it includes other claims and may be used as a basis for affirmative relief. See Clark Code Pleading, 2d Ed. 637, cited 3 Moore’s Federal Practice, § 13.02, p. 9. Rule 13(a), F.R.C.P., provides for compulsory counterclaim “if it arises out of the transaction or occurrence that is the subject matter of the opposing party’s claim .” Rule 13(b) provides for a permissive counterclaim . . . the only difference . we need to note is that the compulsory counterclaim, being ancillary to the claim, derives its jurisdiction from the same source, whereas a permissive counterclaim not arising out of the same transaction or occurrence must rest upon independent grounds of jurisdiction . . . being of the view that the Bank impliedly consented* to the jurisdiction of the court, the counterclaim was maintainable under Rule 13(b), F.R.C.P., whether compulsory or permissible. See 3 Moore’s Fed