The plaintiff recovered a judgment against the defendant Smith in the Supreme Court, Onondaga county, for $884.88, on December 7, 1900. On June 4, 1904, the plaintiff commenced this judgment creditor’s action against Smith and others, alleging certain fraudulent acts on the part of Smith and asking 'for judgment that. *841certain real property of which the Hillsdale ¡Realty Company was owner of record, be adjudged to be the property of Smith, and that it be sold to pay the aforesaid judgment and for costs against Smith. Smith interposed an answer by William L. Marshall, his attorney. At the time of retaining Marshall, Smith agreed to pay him a reasonable compensation for his services, which should equal the costs and such additional amount as should be reasonable, none of which has been paid. It is claimed that .the reasonable value of the services rendered was $200. The complaint herein was dismissed, with costs to the defendant Smith against the plaintiff, and judgment was thereafter rendered for $108.28 therefor. Subsequently, upon motion, the Special "Term made an order that the judgment obtained by the plaintiff against the defendant Smith in the county of Onondaga for $884.38 “ shall be offset against the judgment obtained in this action ; ” that the judgment of Smith against the plaintiff, obtained in this action, “ shall be and the same hereby is satisfied by said offset, and the Clerk of this Court is hereby directed to satisfy said judgment accordingly; ” and the clerk of Onondaga county, was directed to note upon Ms docket that the judgment there entered for plaintiff against the défendant was satisfied to the extent of $108.28. Upon the proceedings,leading up to said order, the attorney for Smith interposed an affidavit setting up the facts so far as he was concerned, and opposed the motion upon the ground that he had an attorney’s lien upon said judgment in his client’s favor for costs; that that lien was superior to plaintiff’s claim of offset and could not be defeated by such order.
It seems clear that the attorney had a lien which attached to said judgment. It is true that section 66 of the Code of Civil Procedure does say: “ From the commencement of an action or special proceeding, or the service of an answer containing a counterclaim, the attorney who appears for a party has' a lien upon his client’s cause of action, claim or counterclaim, which attaches, to a verdict, report, decision, judgment or final order in his client’s favor, and the proceeds thereof in whosesoever* hands they may come.” It is also true that there was no counterclaim set up in the answer herein. *842But it has been held “ that an attorney has a lien for his costs and ■ compensation upon the judgment recovered by him.' * * * Such a lien existed before the Code and is Hot affected by any provision of the Code. * * * To the amount of such lien, the attorney is to be deemed an equitable assignee of the judgment. To the extent of the taxed costs,entered in the judgment, the judgment itself is legal notice of the lien, and this lien cannot be .discharged- by payment to anyone but the attorney. The judgment debtor pays these costs to the party at his peril.” (Marshall v. Meech, 51 N. Y. 143 ; Remington Paper Co. v. O'Dougherty, 36 Hun, 87; Bevins v. Albro, 86 Hun, 590.) In the latter case it was said : “ A distinction is' sought to be made between, an attorney for a.plaintiff and an attorney for a defendant, where no'counterclaim is contained in the answer. And it is claimed that under section 66- of the Code of Civil Procedure, attorneys for a defendant only have liens for costs or are entitled thereto, when the answer contains a Counterclaim. Section 66 -was not intended as a limitation upon liens of attorneys for their costs, but as an extension; it was intended as an additional security to them. * * * Here a judgment has "been obtained by the defendant for costs; the lien of. his attorney attaches upon its rendition.” The Court of Appeals, in a case in which the decree of the surrogate was entered before the Code hád'been amended by .chapter 61 of the Laws of 1899- inserting the words “or special proceeding ” in section 66 thereof, had said of a proceeding in the Surrogate’s Court (Matter of Regan, 167 N. Y. 343): “ It must be regarded as settled law in this -State that an attorney who has procured for his-client a judgment or decree, has. a lien upon the same for his compensation; and this lien is not confined to mere taxable costs,- but to-such sum as he is entitled to receive under his retainer, or under an agreement expressed or implied!” In Ennis v. Curry (22 Hun, 587) the court said: “ What lias -been sometimes called the equity of a statute ought, it seems to us,, to extend the provisions of this section of the Code to a, recovéry merely of costs upon the dismissal of a complaint, in Which case -the attorney not only has-a lien under the well-settled rules of -the court,.but is not bound to give notice of his lien for the purpose of protecting his rights.”
It seems to me that the attorney had a lien upon this judgment for costs, of which the plaintiff was bound to take notice. It *843appears in the case that written notice of such claim of lien was actually given.
In Barry v. Third Ave. R. R. Co. (87 App. Div. 543) plaintiff commenced an action for malicious prosecution, which resulted in a dismissal, a judgment for costs of $109.42, and an affirmance on appeal, with a further judgment for defendant for $135.85. Executions were issued thereon and returned unsatisfied. Thereafter plaintiff commenced an action for false imprisonment upon the same facts, recovered a verdict for $50, and entered up judgment, including costs, for $201.36. Execution-was issued and the sheriff collected the amount, bub while still in his hands the defendant made a motion to offset the judgments. Upon that motion plaintiff’s attorneys appeared and claimed a lien on the judgment for their fees, which were unpaid, and that such lien was paramount to defendant’s right of offset. The motion to offset was denied. Mr. Justice Ingraham, in an opinion which exhaustively discussed the question of the relative rights of the attorney and the client to costs as such, holding them in the absence of an agreement to belong to the client, and saying, “ As between the plaintiff and the defendant, there can be no question but that the defendant would be entitled. to this relief,” nevertheless held that “ it is apparent that this lien of the plaintiff’s attorney for the amount due him from his client for the services rendered in the action which resulted in a judgment in his favor, attached to the judgment.and to the proceeds of the judgment in the hands of the sheriff, and was superior to any equities in favor of the defendant to'have the money thus due applied to the payment of its'other judgments against the plaintiff,” and affirmed the order.
So that it follows that the attorney here had a lien upon the judgment paramount to the equities of the plaintiff; that the satisfaction of that judgment by the order of offset destroyed the lien; and that, if the court deemed it right in the Barry case to direct the sheriff to pay the money collected on the judgment to the attorneys in satisfaction, of their lien, so here the court ought not to have destroyed the power to énforce the lien by issuing an execution on the judgment, by the satisfaction thereof.
The respondent makes the point that the matter is not before us, because the appeal is taken in the name of the defendant, and not *844in that of the attorney, and cites Pomeranz v. Marcus (86 App. Div. 321). An inspection of that case, discloses the facts there con-. sidered to be as follows: After the action was at issue the defend-ant, without the intervention of his attorney, made a settlement with the plaintiff and exchanged general releases and consents to a discontinuance. The defendant’s attorney alleging that the settleinent was made without his knowledge, or consent, and cóllusively for the purpose of defrauding him of his costs, thereafter moved in Trial Term to restore the case to'the calendar for trial, “for the purpose of protecting the rights of the defendant’s attorney herein, and for the purpose Qf determining his right to the taxable costs of this .action to date,” which. motion was. denied. The Appellate Division in the second, .department held that the notice of appeal . having been in the name of the client and not of the.attorney, it. must dismiss the appeal, because the notice of an appeal in such a case taken by the attorney would have to be served upon his client,, and upon such an appeal the client, instead of being appellant,would be a respondent. But there, it will be perceived, the attor^fley and his client were acting in hostility to each other. ‘ It was. the act of the client in settling and discontinuing the case behind, the., attorney’s back, which was the very matter complained off The client wanted the action-discontinued and wanted it to stay so, and the-attorney was,moving to< set aside, said older against the client’s will; and it was quite proper in such a case "to hold that, after discontinuance a motion ostensibly made by the client, but. - really by the attorney and for his benefit,.would not. lie, as not being made by the real party in interest. lío such condition exists in the; case át bar. The attorney had obtained the judgment in. Ins client’s, favor, and was still his attorney. As such attorney, he opp'osed'tlie. motion for offset the order to ,show catise on said motion having, been directed to be served upon him as such, attorney. There was no hostility betweén client and attorney; no proceedings had been taken adversely to him by his client, but a motion which the client resisted through his attorney had been granted against him, and" over his opposition, in-favor of the plaintiff. It does not seem a sound, proposition" that the order made under such circumstances and binding upon the defendant, and which he had a right to oppose and. did oppose, may not be appealed from by him.
*845The order appealed from should be reversed, with ten dollars costs and disbursements, and the motion for an offset denied, with-ten dollars costs.
Ingraham, McLaughlin, Lahghlin and Houghton, JJ., concurred.
Order reversed, with ten dollars costs and disbursements, and motion denied, with ten dollars costs. Order filed.
This word is “whosoever ” in chapter 61 of the Laws of 1899, which amends this section.— [Rep.