This is an action on the equity side to set-off one judgment against another. Plaintiff, in July, 1877, recovered against the defendant Curry a judgment for $171.61 in a district court.
Afterwards, in another action brought by plaintiff against the same defendant, in the court of common pleas, judgment was recovered against, plaintiff by Curry for $175.90, costs of the action. It is this latter judgment for costs which the plaintiff now seeks to set-off against the former.
The defendant Wilder was one. of the attorneys for the *2defendant Curry in the action in the court of common pleas, and rendered all the professional services incident to the successful defense of that action.
In answer to the plaintiff’s claim, the attorneys, who are made parties defendant in this action, interpose a lien in their .favor upon the judgment for costs.
That they have such lien was determined by the court of i common pleas in a proceeding instituted to establish it, and they were authorized to issue an execution and collect the judgment. This I should suppose was of itself a good answer .to this action. But as the subject of the attorney’s lien has .been discussed by the parties, it is presented for decision, and ‘the case demands that it should be disposed of.
The lien of the attorney, upon a judgment recovered by his client, for services and expenses in the action has been .long recognized by the courts. But it has been decided that whenever the right of set-off is sought to be enforced by action, and not through a motion, the lien of the attorney must yield to the statutory right of set-off (Hovey agt. Rubber Tip Pencil Co., 14 Abb. P. R. [N. S.], 66, and cases cited).
The statutes regulating the right of set-off, upon which these decisions rest, both in equity and at law, are 2 Revised Statutes, 354, section 18; Id., 174, section 40.
But these statutes have been repealed (Session Laws of 1877, chap. 407, p. 468), the provisions of the Code in regard to “counter-claims” taking the place of the statutory set-off (Code, secs. 500, 501, and note to latter section, Bllsi Code). The statutes having been repealed, there is no good reason why the attorney’s lien should be defeated when the end is sought to be reached in an action, when it could not be secured on a motion.
Section 66 of the Code of Civil Procedure bears upon the question, and although the judgment in favor of the defendant Curry against the plaintiff is for costs only, and is not within the precise words of that section, yet I think it is within its spirit and equity, and may be invoked by the *3attorneys to uphold their lien against the plaintiffs claim in this action (Ennis agt. Curry, 22 Hun, 584). The result reached is that the plaintiffs complaint should be dismissed upon the merits, with costs.