The demurrer to the second answer or defense was, we think, well taken. The complaint was in the ordinary form for goods manufactured for, and sold, and delivered to the defendants at their request by the plaintiff's assignor, the Naugatuck Malleable Iron Company, for an agreed price, with averments of the assignment of the claim to the plaintiff, and that the debt was due and unpaid. The answer in the first instance contained a denial of the allegations of the complaint, and then "for a further and separate answer and defense," the defendants alleged that the transactions set forth in the complaint as being made with the defendants, were had with the American Bit-Brace Company, a New York corporation, and not with the defendants, or either of them, and that that corporation should be a party defendant. The answer then alleges "in that behalf," that at a date stated, a written contract was entered into between the American Bit-Brace Company and the Naugatuck Malleable Iron Company, by which the latter company agreed to furnish to the American Bit-Brace Company castings from patterns it should furnish, on monthly orders; that the Naugatuck company failed to perform its contract to furnish the castings upon monthly orders made by the Bit-Brace Company in time, as it was bound to do, by reason of which default the Bit-Brace Company was compelled to shut down its works for ten days, and thereby it sustained damages in the sum of $5,000, which "these defendants are entitled to recoup and set off as a counterclaim against the pretended *Page 335 cause of action set forth in the complaint." It is further alleged that the defendants "became privy to the contract" by guaranteeing the payment of all accounts owing by the Bit-Brace Company to the Naugatuck Iron Company and were only sureties, and that this is the only basis of the claim set forth in the complaint, and that the defendants are entitled to avail themselves of the "defense and counterclaim existing in behalf of the American Bit-Brace Company to the extent of any demand made against them by the plaintiff herein." The answer concludes by a demand for judgment in the alternative dismissing the complaint, or that the Bit-Brace Company should be made a party defendant and judgment be awarded in its favor, "as such party defendant, for $5,000," or that the defendants be allowed to recoup and set off so much of said sum "as a counterclaim in their own right," as shall extinguish the plaintiff's demand.
The second defense, assuming the facts therein stated to be true, has no relation to the cause of action set forth in the complaint. The complaint is upon a contract of sale and delivery to the defendants. The plaintiff would be bound to prove this cause of action in order to entitle him to recover. The action would not be supported by proof that the goods were sold to the American Bit-Brace Company, and that the defendants were guarantors of its liability. A cause of action against them as guarantors is a different cause of action from the one alleged in the complaint. The defendants are not sued as sureties or guarantors, but as purchasers of the goods. Assuming that the defendants, if they had been sued as guarantors or sureties, might avail themselves of a breach of the contract by the Naugatuck Iron Company, and recoup any damages suffered by their principals therefrom, in the actual situation, no defense was relevant, except one based upon a denial that they ordered or purchased the goods, or upon a discharge or satisfaction in whole or pro tanto of their liability as purchasers, or growing out of a set-off or counterclaim existing in their favor against the plaintiff or the Naugatuck company. The defense set up in the second answer is to a *Page 336 cause of action not alleged by the plaintiff, and which could not be shown on the trial. It is an attempt to defend a cause of action not sued upon, and such a defense is demurrable because it does not answer the complaint, and is "insufficient in law." (Code Civ. Pro. § 494.) The defendants may doubtless prove on the trial any facts tending to show they were not the purchasers of the goods, and, as bearing upon this issue, that they were mere guarantors or sureties. This they would be permitted to do under their denial in their answer preceding the second alleged defense. But they would not be entitled to prove this fact as a basis for the further claim that the Bit-Brace Company were the real purchasers, and as such had a claim for damages for a breach of the contract against the Naugatuck Iron Company. If the defendants were the purchasers there was no contract with the Naugatuck company for the breach of which any damages could accrue to the Bit-Brace Company. If the Bit-Brace Company were the purchasers, and the defendants were guarantors only of the liability of that company, then the action is misconceived, and even if the defendants had been sued as guarantors or sureties upon the collateral undertaking, they could not avail themselves in exoneration of their liability of a cause of action for damages for a breach of the contract existing in favor of their principals. (Gillespie v. Torrance, 25 N.Y. 306; Davis v.Toulmin, 77 id. 280.) The answer alleges no assignment of the claim for damages to the defendants, nor is there any allegation of insolvency or other ground of equitable jurisdiction.
The second defense, treating it as a whole, is clearly bad. But the claim is made, based upon the preliminary allegations therein, that the contract for the sale of the castings was with the Bit-Brace Company and not with the defendant, that the demurrer is too broad since these allegations in substance deny the contract alleged, and, therefore, alone constitute a good answer to the complaint, and that the other parts of the answer may be disregarded or rejected. But this is too technical a view of the subject. The allegations referred to are *Page 337 introductory merely to the substantial matter intended to be set up by the answer, viz., the counterclaim existing in favor of the Bit-Brace Company. The answer is to be judged as a whole. The averment that the goods were sold to the Bit-Brace Company and not to the defendant, was essential to explain the counterclaim alleged in the answer.
We do not perceive the force of the claim that the second answer is not "new matter" within section 494 of the Code. The matter stated therein is pleaded as a counterclaim to defeat a recovery. New matter pleaded as a defense is properly preceded by a confession of the cause of action. There is no confession in the answer demurred to of the original liability of the defendants. This could not have been done without defeating the purpose of the answer. The vice of the defense, based upon a cause of action in a third party, is exposed by the necessity imposed upon the defendants of averring that they were not the purchasers of the goods. A defendant cannot claim that a defense does not consist of "new matter" for the reason that his pleading is defective in form, if it sets up a counterclaim, which upon the facts averred is not available to the party pleading it.
This view leads to a reversal of the judgments of the General and Special Term, and judgment should, therefore, be entered sustaining the demurrer, with costs in all courts.
All concur.
Judgment accordingly.