If I were hearing this matter upon a motion, I should certainly protect, to the extent this court has always protected, the equitable lien of the attorney. The cases where this has been done are numerous, and proceed on the principle that the court, in the exercise of its equitable powers, will protect the attorney’s lien. And the rule prevailed as well in courts of law as in equity. (Dunkin agt. Vandenburgh, 1 Paige, 622, and cases there cited ; Gihon agt. Fryatt, 2 Sand. S. C. Rep. 638 ; Sweet agt. Bartlett, 4 id,. 661; Nash agt. Hamilton, 3 Abbot P. Rep. 35; Peckham agt. Barcalow, Labor's Sup. to Denio, p. 112; Stevens agt. Hyers, 2 Whit. Pr. 255.) These, and *149numerous other cases which might be cited, are all upon motion. And in such cases as is said in Gihon agt. Fryatt (2 Sand. 638), “ When the question arises on pleadings in a suit, the rules of law must govern, but where the application is to the discretion of the court we will decide it as shall be just.”
And the same court say in Sweet agt. Bartlett (4 Sand. 661), “ whatever the rule in the supreme court might be, they had determined, in Smith agt. Bowden (1 Sand. 196), they would establish such a practice as would be consistent with equity and justice. That they had determined to sustain the lien of the attorney, whenever it could be done without infringing upon the statute of set-off, and that when his right to the costs was established, they would protect it so far as they could, because, however the matter might be technically, the costs were in reality his property.” But, as was observed by Cowek, Justice, in Nicoll agt. Nicoll (16 Wend. 448), “ the practice of the courts is one thing, while each is left to prescribe rules for the orderly conduct of its own business, a different question arises when they are called upon to apply the statute of set-off." In Gridley agt. Garrison (4 Paige, 647), a bill was filed to set-off judgments, the effect of which would have been to deprive the attorney of his lien. The bill, so far as it affected the attorney’s lien, was dismissed with costs. The chancellor held that the attorney had an equitable lien for his costs, independent of and long previous to the assignment of the judgment to him for costs by his client, in fact, from the commencement of the suit, which lien was paramount to any .claim of set-off in another suit, and he refers to Biunkin agt. Yandenburgh, cited supra.
But it seems to me, that the question presented in this case is conclusively setted by the court of errors in Nicoll agt. Nicoll (16 Wend. 446). That case is in all respects like the present, being upon a bill filed in chancery to set-off a judgment previously recovered against a subsequent one recovered for costs. The solicitor claimed his lien and resisted the set-off. The court of errors distinctly overruled the case, before *150the chancellor, of Bunhin agt. Yandenburgh, and Gridley agt. Garrison, and held that the set-off must prevail. The justice who delivered the opinion of the court says, “ when we come to a bill filed on a trial at law, there is no discretion. On motion, the court proceed without the statute: On bill filed on a trial at law, they are within it, and must obey it. * * * No case can be produced where, on a bill filed, this lien has been let in to obstruct a set-off, until Gridley agt. Garrison, decided by the present chancellor (4 Paige, 647). Piquitos sequitur legem, whether the set-off be within the words or the spirit of the act. (Hyler agt. Okey, 13 Ves. 180.) The rules of practice are many times arbitrary, but when a statute comes in, there is a common principle by which all courts must abide.”
This is the emphatic decision of the highest court in this state, exactly in point. It is the law of the state and by which all courts must abide, until changed by legislative enactments, or questioned or overruled by that court. I do not find that its authority has been weakened by any subsequent decision of that court.
This authority does not seem to have been adverted to in Ainslie agt. Boynton (2 Barb. S. C. Rep. 268), where a contrary ruling would seem to have been made.
I must, therefore, hold, in conformity with the decision of the court of errors, that the plaintiff is entitled to have the judgment, held by him against the defendants, set-off against the judgment of the defendants against him.
Judgment for the plaintiff accordingly, with costs.