#### Meyer Valett and Richard Worob, Respondents, *v.*Joseph J. Baker and William S. Finberg, Appellants, Impleaded with Jennie Finberg, Defendant.

Second Department,

December 30, 1908.

Mechanic’s lien—discharge by payment into court — suit still equitable — counterclaims available.

The equitable character of a suit to foreclose a mechanic’s lien is not changed because the lien has been discharged by the payment of money into court.

As in a suit to foreclose a mechanic’s lien the plaintiff may have a judgment for a deficiency as on other foreclosures, a defendant sought to be charged with a deficiency may set up a counterclaim arising out of another contract between him and the plaintiff.

Appeal by the defendants, Joseph J. Baker and another, from a judgment of the County Court of Kings county in favor of the plaintiffs, entered in the office of the clerk of said county on the 15th day of April, 1908, upon the decision of the court rendered after a trial before the court without a jury.

*James A. Sheehan,*for the appellant Finberg.

*Charles B. Barfield,*for the respondents.

Jenks, J.:

This is an appeal from a judgment of the County Court in an action to foreclose a mechanic’s lien brought against the tenants in common. One of the defendants by separate answer pleaded a counterclaim arising out of a contract between the plaintiffs and that defendant. The learned County Court found that the counterclaim could not he sustained in this action, and dismissed it without prejudice. Although the defendants had paid money into court in discharge of said lien, the character of the action was not changed. It continued as a suit in equity to enforce a mechanic’s lien. *(Schillinger Cement Co.*v. *Arnott,*152 N. Y. 584.) The plaintiffs prayed *515that the lien be adjudged, that the money in court be applied so far as it would discharge the lien, and that the plaintiffs have judgment against the defendants for any deficiency that might remain after such application. Such a suit is like unto a suit for the foreclosure of a mortgage, and the procedure is made conformable thereto. *(Cody*v. *Turn*Verein, 48 App. Div. 279 ; affd., 167 N. Y. 607.) Section 3416 of the Code of Civil Procedure provides : *“*If upon the sale of the property under judgment in a court of record there is a deficiency of proceeds to pay the plaintiff’s claim, judgment may be docketed for the deficiency against any person liable therefor, who shall be adjudged to pay the same in like manner and with like effect as in judgments for deficiency in foreclosure cases.” In *Hunt*v. *Chapman*(51 N. Y. 555), an action to foreclose a mortgage on realty, the Court of Appeals held that it was not only an action against the defendant Chapman, impleaded, upon his contract to pay the amount specified in his bond, but it was one in which, under the Code, a several judgment might be had as between the plaintiff and the defendant Chapman, and hence was subject to a counterclaim of any other cause of action arising also on contract which Chapman had against the plaintiff at the time of the commencement of the action. This doctrine was approved and reasserted in *American Guild*v. *Damon*(186 N. Y. 360). In that case the court, per Cullen, Ch. J., said that the action was not only to foreclose a mortgage, but to recover a judgment against each defendant for any deficiency which might arise on the sale of the mortgaged property, and further said : *“*There is nothing in the case to show that the loan was not made to both defendants, and on the face of the bond and mortgage the debt appears to be that of both. However that may be, the plaintiff has sought to recover on a personal claim against the defendant Joseph, and by seeking such relief it subjected its whole cause of action to any valid counterclaim that Joseph might have.”

I think that the judgment must be reversed and a new trial must be ordered, costs to abide the final award of costs.

Hooker, Gaynor, Rich and Miller, JJ., concurred.

Judgment of the County Court of Kings county reversed and new trial ordered, costs to abide the final award of costs.