Appellants’ damages suit against their former attorneys was dismissed on summary judgment on the basis of collateral estoppel.' We affirm, but do so on the basis of res judicata.
I. BACKGROUND
Jones Program Management, Inc., (“JPM”), acting through its President, Odell Jones, III, (“Jones”), and Jones, acting as guarantor for JPM, entered into an agreement for legal services with Sheehan, Young & Culp, P.C., (“SYC”), to collect sums owed JPM by Richter’s Entertainment Group, Inc., (“REG”). SYC accordingly filed suit on JPM’s behalf against REG in the 134th Judicial District Court of Dallas County, Texas, (the “REG litigation”). JPM later discharged SYC and retained another law firm to conclude the REG litigation. Three suits subsequently ensued concerning SYC’s claim *1337 for unpaid attorney’s' fees incurred in representing JPM in the REG litigation.
A. The state court action
SYC intervened in the REG litigation (hereafter the “state court action”) to recover from JPM the balance of unpaid attorney’s fees. JPM moved to strike the intervention, but did not file an answer or counterclaims against SYC. JPM did answer an interrogatory propounded by SYC, asserting in its answer a right to an offset against SYC’s attorney’s fees claim because of SYC’s alleged “legal malpractice, negligence, gross negligence, fraud, arid deceptive trade practices.” SYC’s intervention was tried without a jury in JPM’s absence, and the state court awarded SYC a money judgment against JPM.
B. The county court action
SYC also filed suit in the County Court at Law No. 1, Dallas County, Texas, (hereafter the “county court action”) against Jones, individually, to enforce his guaranty on the JPM/SYC agreement. Jones answered and counterclaimed against SYC on grounds of legal malpractice, negligence, malfeasance, gross negligence, fraud, conspiracy, and violations of the Texas Deceptive Trade Practices Act. The county court action was dismissed without prejudice pursuant to Jones’ motion alleging lack of jurisdiction, but was subsequently reinstated. After a bench trial, at which Jones did not appear, the county court entered judgment awarding SYC a money judgment against Jones and ordering that Jones take nothing on his counterclaims.
C. The federal court action
After dismissal of the county court action, but prior to its reinstatement, Jones sued, on his own behalf, in the United States District Court for the Northern District of Texas (hereafter the “federal court action”) seeking damages from SYC arising from SYC’s representation of JPM in the REG litigation. Jones’ claims include legal malpractice, negligence, malfeasance, gross negligence, fraud, conspiracy, and violations of the Texas Deceptive Trade Practices Act. SYC answered, alleging that Jones, individually, lacked standing to assert claims based upon SYC’s representation of JPM. SYC also asserted counterclaims for the unpaid legal fees. SYC moved to dismiss, claiming JPM, and not Jones, was the real party in interest, or alternatively that JPM was an indispensable party. In response, Jones amended his complaint to add JPM as a plaintiff.
After both the county and state court actions had been concluded, SYC moved for summary judgment in the federal court action based on claims of res judicata, collateral estoppel, and the doctrine of sole remedy, alleging that Jones and JPM had had their opportunity in the earlier suits to litigate the claims and issues asserted in the federal court action. SYC’s motion was granted on the basis that collateral estoppel precluded Jones and JPM from relitigating issues settled by the Texas courts. The judgment ordered that Jones and JPM take nothing on their claims against SYC and that SYC recover its court costs. Jones and JPM timely 'filed a joint notice of appeal.
II. DISCUSSION
A. Standard of Review
We review grants of summary judgment de novo, guided, as was the district court, by the standards of Federal Rule of Civil Procedure 56.
Stults v. Conoco, Inc.,
The district court granted SYC’s summary judgment motion based on collateral estoppel, or issue preclusion. SYC’s motion, however, pled collateral estoppel, res judicata, and the doctrine of sole remedy in the alternative. We may affirm a district court’s ruling on summary judgment based on any legally sufficient ground, even one not relied upon by the district court.
BMG Music v. Martinez,
B. Res Judicata
When a federal court is asked to give res judicata effect to a state court judgment, the federal court must determine the preclusiveness of that state court judgment under the res judicata principles of the state from which the judgment originates.
Production Supply Co. v. Fry Steel Inc.,
In Texas, “[r]es judicata, or claims preclusion, prevents the relitigation of a claim or cause of action that has been finally adjudicated, as well as related matters that, with the use of diligence, should have been litigated in the prior suit.”
Barr v. Resolution Trust Corp.,
1. Prior final judgment on the merits, by a court of competent jurisdiction
Jones and JPM contend that the county and state courts, respectively, lacked jurisdiction to issue final, binding judgments against them. 2 At this point, we reiterate that, while Jones and JPM are co-plaintiffs in the federal court action, only Jones was a party to the county court action, and only JPM was a party to the state court action.
a. Jones and the county court action
Jones contends that the county court was not a court of competent jurisdiction. His attacks are numerous; yet, as to most, his response to SYC’s summary judgment fails to point to evidence in the record sufficient to create an issue as to the county court’s jurisdiction. Once the movant presents a properly supported motion for summary judgment, the non-movant must “go beyond the pleadings and by [his] own affidavits, or by the ‘depositions, answers to interrogatories, and admissions on file,’ designate ‘specific facts showing that there is a genuine issue for trial.’”
Celotex Corp. v. Catrett,
*1339
One of Jones’ contentions, however, does warrant discussion. Jones argues that the damages sought in his counterclaims exceeded the jurisdictional limit of the statutory county court, and thus the county court lacked jurisdiction to adjudicate those counterclaims. Counterclaims are treated as separate suits and must independently comport with the trial court’s jurisdiction.
Color Tile, Inc. v. Ramsey,
Jones argues that his pleadings expressly alerted the county court that he sought relief on his counterclaims in excess of $100,000.
4
Jurisdiction, however, is determined by the amount in controversy at the time the original pleading is filed.
Smith v. Texas Improvement Co.,
In his first amended original answer, Jones alleged: “Jurisdiction is not proper in this Court pursuant to 28 U.S.C. § 1332 because the ... amount actually in controversy, exclusive of interest and costs, exceeds $50,000.” Def.’s Summ.J.Ex.C at para. 11 (emphasis added). Further, Jones repeatedly contended that SYC’s conduct rendered it “liable to [Jones] for an amount in excess of the minimum jurisdictional limits of this Court.” Id. at para. 33, 47 (emphasis added). 6 These allegations are ambiguous, at best, as to the amount actually in controversy pursuant to Jones’ counterclaims. In this case, such ambiguity works against Jones.
In cases of doubt, all intendments of the claimant’s pleading will be construed in favor of jurisdiction.
Peek v. Equipment Serv. Co.,
6. JPM and the state court action
JPM argues that the state court lacked jurisdiction over it with respect to SYC’s intervention because SYC never served JPM with citation and process. “Although the plaintiff is charged with notice of all pleadings filed in defense of his suit, he is entitled to notice of interventions and cross-actions affirmatively setting up causes of action against him,
and judgments rendered against him upon such interventions and cross-actions, in the absence of notice, waiver, or appearance, will be set aside.” Early v. Cornelius,
A party makes a general appearance whenever it invokes the judgment of the court on any question other than jurisdiction.
St. Louis & S.F. R.R. v. Hale,
2. Identity of parties
Having determined that both the state court and the county court were courts of competent jurisdiction, we turn to the second element of res judicata — identity of parties. That two separate judgments are interposed by SYC places this case in a novel light. Nonetheless, the identity of parties element is easily satisfied. “Identity of parties” requires that both parties to the current litigation be parties to the prior litigation or in privily with parties to the prior litigation.
See Coalition of Cities for Affordable Utility Rates v. Public Util. Comm’n,
3. Second action in which parties seek to adjudicate claims that were, or should have been, raised in prior action
Finally, res judicata applies if there is shown to be a second action in which the parties seek to adjudicate the same claims that were, or should have been, raised in the first action.
a. Jones and the county court action
In the federal court action, Jones is suing SYC on theories of legal malpractice, negligence, malfeasance, gross negligence, fraud, conspiracy, and violations of the Texas Deceptive Trade Practices Act. When the allegations in Jones’ first amended complaint in the federal court action are compared with the allegations in his first amended original answer in the county court action, we see that the allegations are identical in all material respects. Further, we note that the county court specifically addressed Jones’ counterclaims in issuing its judgment, making explicit findings of fact and conclusions of law adverse to Jones in every respect on the claims he asserted. Def.’s Summ.J.Ex.E at 8-15. As such, the doctrine of res judicata precludes Jones from relitigating in the federal court action the exact claims that were previously decided adversely to him in the county court action. 7
b. JPM and the state court action
‘Unlike Jones, JPM asserted no counterclaims against SYC in the state court action. Regardless, res judicata precludes JPM from pressing claims in the federal court action that, through the exercise of diligence, should have been litigated in the state court action. To determine what claims
*1342
shotdd have been litigated in an earlier suit, Texas courts employ a “transactional approach.”
Barr,
A determination of what constitutes the subject matter of a suit necessarily requires an examination of the factual basis of the claim or claims in the prior litigation. It requires an analysis of the factual matters that make up the gist of the complaint, without regard to the form of action. Any cause of action which arises out of those same facts should, if practicable, be litigated in the same lawsuit.
Id.
at 630. Borrowing from the Restatement (Second) of Judgments, which also employs a transactional approach, the
Barr
court stated that a “transaction” is not equivalent to a sequence of events; instead, the determination is to be made pragmatically, giving weight to whether the facts are related in time, space, origin, or motivation, whether they form a convenient trial unit, and whether their treatment as a trial unit conforms to the parties’ expectations or business .understanding or usage.
Barr,
SYC’s petition for intervention sought to recover the unpaid legal fees incurred by SYC in representing JPM in the REG litigation pursuant to the JPM/SYC agreement. SYC’s recovery was based on sworn account, breach of contract, and quantum meruit theories, and in support of its right to recovery SYC asserted that it “fully and completely performed, pursuant to the contract.” Def.’s Summ.J.Ex.G at 5. To such allegations, JPM responded through interrogatories as follows:
INTERROGATORY NO. 9:
Describe the nature of each category of any type of offset you [JPM] seek to assess against the monies sought to be recovered in the Petition in Intervention.
ANSWER:
Legal malpractice, negligence, gross negligence, fraud, and deceptive trade practices violations.
The state court, thereafter rendering judgment in SYC’s favor, specifically found that SYC properly billed JPM pursuant to the agreement, and that “SYC fully performed the contract in a good and workmanlike manner consistent with the written contract and the expected standard of care for a lawfirm such as SYC.” Def.’s Summ.J.Ex.F at 2.
JPM’s complaints in the federal court action 8 mirror the defensive allegations raised by it in the state court action. Unlike in the state court action, JPM supports those complaints in the federal court action with factual allegations. Enlightened by these allegations, we discover that JPM’s claims arise out of the events surrounding the JPM/SYC agreement and SYC’s actions in representing JPM in the REG litigation in fulfillment of the terms of that agreement. More particularly, we learn that JPM’s basic complaint is that the services rendered by SYC in the REG litigation were substandard. That JPM’s complaints of inadequate performance arise from facts related in time and origin to facts underlying SYC’s allegations of adequate performance and entitlement to payment is common sense. That these complementary assertions form a convenient trial unit is likewise undeniable. That JPM and SYC expected such complementary assertions to be litigated as a single-trial unit is evidenced not only by SYC’s interrogatory and JPM’s response, but also by JPM’s argument to the state court that intervention be denied because SYC’s claims would be more appropriately litigated as counterclaims in the federal court action. Thus, JPM’s current complaints in the federal court action *1343 arise out of the same subject matter or transaction that gave rise to SYC’s claims in the state court action. As such, JPM’s claims in the federal court action should have been raised originally in the state court action. Because JPM faded to raise these claims in the state court action, it is barred by the doctrine of res judicata from raising them now in this federal court action.
III. CONCLUSION
Based on the foregoing discussion, we hold that Jones’ and JPM’s claims in the federal court action are barred by the doctrine of res judicata, and accordingly the district court’s granting of summary judgment in favor of SYC is AFFIRMED.
Notes
. Although default judgments were entered in both the state court and county court actions, neither JPM nor Jones contests their finality.
. Like the district court, out of an abundance of caution, we have searched the record for support for Jones’ complaints. Our efforts only confirm that his attacks, for the most part, are frivolous.
Jones contests the county court’s jurisdiction over his person. Surprisingly, however, in the same breath, Jones admits that by filing his answer and asserting' his counterclaims in the county court,, he "submitt[ed] [himself] to the jurisdiction of the County Court." Brief for Appellants at 7. By his own admissions, Jones has foretold the futility of his attack on the county court’s in personam jurisdiction.
See
Tex.R.Civ. P.Ann. r. 121 (West 1979);
Morris v. Morris,
Jones also argues that the county court lacked subject matter jurisdiction over this suit because the requisites for diversity jurisdiction in the federal court existed. Implicitly, Jones' com
*1339
plaint is that the existence of diversity jurisdiction in a federal court deprives a state court of general jurisdiction of its authority. Jones is clearly misguided. Indeed, federal diversity jurisdiction permits state and federal courts to exercise
concurrent
jurisdiction.
See Colorado River Conservation Dist. v. United States,
Additionally, Jones complains that the county court divested itself of jurisdiction when it entered the order of dismissal. As such, Jones' filing of suit in federal court before the county court granted SYC’s motion to reinstate the county court action provided the federal court with “dominant” jurisdiction over the matter. Whether the order of dismissal in fact deprived the county court of jurisdiction during the interval between dismissal and reinstatement, and if so the effect of Jones' intervening filing in federal court, is irrelevant. When two suits are pending simultaneously in two different courts, preclu-siveness of one as to the other is determined not by which was filed first, but by which reaches judgment first.
Mower v. Boyer,
Finally, Jones contends that SYC, by receiving service of summons and citation, filing an answer and counterclaims, and pursuing discovery in the federal court action, "evidence[d] their relinquishment of state court jurisdiction and assent to federal court jurisdiction.” Brief for Appellant at 17. Accordingly, SYC either waived the county court’s jurisdiction over its claims or is estopped from asserting that the county court had jurisdiction.over its claims. Jones provides no authority to support these claims, nor, not surprisingly, have we uncovered any. Consequently, we find these claims unavailing, too.
. Support for this contention comes from a single statement in Jones' second amended original answer in the county court action. Therein, Jones stated: “Jurisdiction is not proper in this Court because the amount in controversy, exclusive of interest and costs, exceeds $100,000.00 and the matter in controversy is between citizens of different states.” As this pleading was not made part of the summary judgment record, however, we cannot rely on its contents in ruling on SYC's motion.
See Skotak,
. Under Texas law, once jurisdiction attaches it cannot be defeated by any subsequent fact or event.
Flynt v. Garcia,
. Jones also alleges that SYC is liable to him for punitive damages and attorney’s fees. Def.’s Summ.J.Ex.C at para. 34, 48, & 49. Section 25.0003, however, explicitly excludes such items from the amount-in-controversy determination. Tex.Gov’t Code Ann. § 25.0003(c)(1) (West Supp. 1996).
. To thwart SYC’s claim of res judicata, Jones refers us to § 31.004 of the Texas Civil Practice and Remedies Code. Section 31.004 limits the preclusive effect of judgments from courts of limited jurisdiction, such as county courts. Tex. Civ.Prac. & Rem.Code Ann. § 31.004 (West 1986). “[A] judgment rendered in a [county] court
is binding
on the parties thereto[, however,] as to recovery or denial of recovery.”
Id.
(emphasis added). This language has been interpreted as giving res judicata effect to claims actually litigated in county court, but not as barring claims that might have been, but were not, brought in county court.
See Webb v. Persyn,
. Only one complaint, joined in by both JPM and Jones, was filed in the federal court action. Accordingly, the claims raised by JPM in the federal court action are identical to those raised therein by Jones, as discussed, supra, in part II.3a of this opinion.
