28 N.Y.S. 1059 | N.Y. Sup. Ct. | 1894
This action- is brought upon an undertaking, signed by the defendant as surety, on an appeal from a judgment of the city court of Albany to the Albany county court, on the trial of which the appellant was defeated, and judgment entered against him for costs only, on which judgment execution was issued, and returned wholly unsatisfied. The respondent, in whose favor the judgment on appeal was entered, assigned the judgment to this plaintiff, who is an attorney of this court, and was the attorney for the respondent on the appeal, and claims in the complaint in
The .legal title to any right of action on this" undertaking was clearly in the respondent, against whom the appeal was brought, and for whose indemnity it was given; and while the attorney of the respondent had a lien for his costs against the judgment and all available security for its payment, yet, so long as the legal title to the bond remained in the respondent, an action at law could be maintained by her on such bond, and in such action, if prosecuted in her name, any valid defense to a recovery existing between the original parties to the undertaking might be interposed by the defendant. By the assignment to the plaintiff in this action, the right of the original obligee passed to him, added to which was his lien for services; but, until the value of such services were liquidated and ascertained, it could not, as matter of law, be said that they were sufficient in amount to equal the defendant’s liability on the undertaking, which was as well for damages as costs, and any valid defense as to any excess existing between the original parties would be good as against the assignee of the bond. It would seem to follow that any valid defense to the claim on the bond not covered by the plaintiff’s lien, which would have been available between the original parties to the undertaking, would not be demurrable if interposed as against the plaintiff, who holds as assignee.
We are thus brought to the consideration of the question as to whether an undertaking like the one in suit is a contract. Whether the counterclaim is allowable as pleaded in this case must, we think, be determined under the provisions of section 502 of the Code of Civil Procedure. Subdivision 1 of that section is as follows:
“If the action is founded upon contract which has been assigned by the party thereto, other than a negotiable promissory note, or bill of exchange, a demand existing against the party thereto, or an assignee of the contract, at the time of the assignment thereof, and belonging to the defendant in good faith before notice of the assignment-, must be allowed as a counterclaim to the amount of the plaintiff’s demand, if it might have been so allowed against the party or the assignee, while the contract belonged to him.”
The only question, therefore, for us to determine in deciding on the demurrer, is whether this action is founded upon a contract. The learned judge who sustained this demurrer at the special term put his decision upon the case of Furber v. McCarthy (Sup.) 7 N. Y. Supp. 613. In that case the defendant, who was sued on an undertaking given by him on an order of arrest, sought to counterclaim a note held by him against the obligee in the undertaking, and the court, by Van Brunt, J., held that the undertaking was not a contract, within the provisions of section 502 of the Code. In that decision the court relied upon the authority of McCoun v. Railroad Co., 50 N. Y.
“A judgment is a contract of the highest nature known to the law. Actions upon judgments are actions on contract. The cause or consideration of the judgment is of no possible importance.’’
While this may not be an authority bearing directly upon the question of the bond under consideration, it is a plain indication that a counterclaim may be interposed in cases where the party is not voluntarily connected with the obligation which he seeks to enforce. We are of the opinion that the weight of authority is in favor of the contention that the bond in suit is a contract, as to which a counterclaim may be properly interposed by answer, and that the judgment on demurrer must be reversed. Judgment reversed, with costs of the demurrer and of this appeal to the defendant, on the payment of which within 20 days after notice of taxation of same, the plaintiff may reply to the answer.
PUTNAM, J., concurs. HERRICK, J., not acting.