Before us is the appeal of Automatic Liquid Packaging, Inc., a closely held manufacturing corporation that was incorporated in 1968 with the assistance of its lawyer, Jack Dominik. In exchange for his services Dominik was allowed to buy a substantial block of shares in the new company. He drafted an agreement whereby for ten years any shareholder who either wanted to sell his shares or ceased to be employed by the company would have to offer his shares to the company at a price determined by a formula in the agreement. Dominik, the only shareholder not actually employed by the company, explained to the other shareholders that “termination of employment” (the term used in the agreement) meant “leaving the service of the Company,” and that the purpose of the agreement was to ensure that ownership of the company would “remain with the employees or persons working closely with the Company,” i.e., himself.
The company claims that sometime before the agreement was to expire in 1978— precisely when is a matter of sharp dispute and considerable uncertainty — Dominik ceased to be its lawyer and it asked him to tender his shares to it in accordance with the agreement. He promised that he would do so some time, but he never did, and eventually the company brought this diversity suit, which charges him with breaking the 1968 agreement. It also charges him with committing fraud and violating his fiduciary obligations, the argument here being that Dominik, as the company’s lawyer back in 1968, acted unethically in drafting an agreement unduly favorable to himself and later in promising to tender his shares in accordance with the agreement but never doing so. The complaint seeks an order that Dominik tender his shares. He takes the position that the 1968 agreement expired before he ceased to be the company’s lawyer and that he never acted unethically in the matter, and has counterclaimed. The district court granted summary judgment for Dominik on the company’s complaint and entered *1037 final judgment for the company under Fed. R.Civ.P. 54(b), but made no ruling on Domi-nik’s counterclaim.
The first and only question we consider is whether we have jurisdiction over the appeal. Rule 54(b) authorizes the district judge “to direct the entry of a final judgment as to one or more but fewer than all of the claims.... ” (A final judgment, of course, is appealable. 28 U.S.C. § 1291.) If none of the claims in Automatic Liquid Packaging’s complaint that are before us is duplicated in Dominik’s counterclaim, the order dismissing the complaint is appeal-able. See
Curtiss-Wright Corp. v. General Electric Co.,
A theory is not a claim,
id.
at 821;
A/S Apothekernes Laboratorium for Specialpraeparater v. I.M.C. Chemical Group, Inc.,
Under these decisions the district court cannot enter a final judgment dismissing a defense to a complaint while the complaint itself remains unresolved, since claim and defense are part of the same cause of action. See
National Metalcrafters v. McNeil, supra
The counterclaim left behind in the district court in
Cold Metal Process
arose only “in part” from the same transaction or occurrence as the claim involved in the Rule 54(b) appeal. See
Dominik’s counterclaim is in three counts. The last two are unproblematic from the standpoint of Rule 54(b) because they complain of misconduct that occurred after Automatic Liquid Packaging sued— mainly, the allegedly oppressive conduct of the litigation itself. There is some factual overlap between these counts and the complaint but not enough to preclude the entry of a final judgment on the complaint. See
Minority Police Officers Ass’n v. City of South Bend, supra,
At oral argument counsel for both parties conceded that a decision on the merits of the complaint would determine the outcome of Count I of the counterclaim by operation of res judicata. And the counterclaim is very much alive (unlike the situation in
American Family Mutual Ins. Co. v. Jones,
Dismissed.
