
    Charles N. Morgan, Appellant, v. Stephen W. Fullerton, Defendant; Margaret P. Humphrey, Appellant; Henry Bacon, Referee, and the Trustees of the Village of Goshen, Respondents.
    
      Mortgage foreclosure ■—real property — Oode of Oiml Procedure, § 1676, relating to the pa/yment of tames and assessments—it is intended to protect the purchaser and not the municipality.
    
    The provisions of section 1676 of the Oode of Civil Procedure, relating to the payment of taxes and assessments on mortgaged premises as part of the expenses of the sale had on the foreclosure of the mortgage, are intended solely for the benefit of the purchaser and not for that of the municipality by which the tax or assessment may be imposed.
    Where there is a dispute as to the validity of such an assessment, and all the parties in interest, including the purchaser, agree that it shall not be paid out of the proceeds of the sale, an order may properly be made by the court to that effect, notwithstanding the objection of the municipality imposing the assessment.
    Appeal by the plaintiff, Charles N. Morgan, and by the defendfendant Margaret P. Humphrey, from an order of the Supreme Court, made at the Orange Special Term and entered in the office of the clerk of the county of Orange on the 1st day of August, 1896, excepting so much thereof as orders that the referee be instructed to pay to the proper authorities of the village of Goshen the amount due for the village tax for the year 1896, levied against the property described in the judgment, together with any fees due for the collection of the same.
    
      George E. Blackwell, for the appellants.
    
      William D. Mills and Joseph Merritt, for the respondents.
   Brown, P. J.:

This action was brought for the foreclosure of a mortgage held jointly by the plaintiff and the defendant Humphrey upon real estate in the village of Goshen, in Orange county, and the usual judgment of foreclosure and sale was entered, which directed the referee to pay the taxes and assessments which were liens upon the property at the time of the sale. Subsequent to the judgment and before the sale of the property, an • assessment for certain improvements upon the sidewalk in front of .the mortgaged premises was laid upon said premises by the trustees of said village. At the sale the defendant Humphrey became the purchaser, and thereafter the plaintiff and the said purchaser (no other parties having appeared in said action) entered into a stipulation which recited, writer alia (1) that’ a dispute had arisen as to the validity of said assessment; (2) that the said Humphrey had agreed to take title to the said premises subject to the lien (if any) of said assessment; (3) that the parties had agreed that judgment for deficiency should be entered as if no such assessment existed. Thereupon an order was entered on June 25, 1896, at the Special Term held by Mr. Justice Smith, directing the referee to make no deduction out of the money arising from said ■ sale for any alleged lien existing upon said premises for assessments of any kind.

The order appealed from was granted at Special Term on July 25, 1896, and was made upon the application of the trustees of the village of Goshen and directed the referee to pay said assessment from the purchase money in his hands to the trustees of said village, and perpetually stayed compliance with the order of Mr. Justice Smith. Section 1676 of the Code of Civil Procedure is cited to sustain this order, the argument being that this section was intended for the protection of municipalities to which taxes or assessments which should be liens upon the property adjudged to be sold, should be due -and payable. The section is as follows :

“ Where a judgment, rendered in an action for partition, for dower, or to foreclose a mortgage upon real property, directs a sale of the real property, the officer making the sale must, out of the proceeds, unless the judgment otherwise directs, pay all taxes, assessments and water rates, which are liens upon the property sold and redeem the property sold from a,ny sides for unpaid taxes, .assessments or water rates which have not apparently become absolute. The sums necessary to make those payments and redemptions are deemed expenses of the sale within the meaning of that expression as used in any provision of article second, third or fourth of this title.”

We are of the opinion that this section was intended solely for the benefit of the purchaser. It is not the design of the Code that the State or municipal corporations, to which taxes or assessments should Jbe due, should be made parties to actions for the sale of real estate. The force and effect of liens of this character are regulated by the tax and assessment laws of the State, and those statutes make full and ample provision for the collection of the tax and the enforcemént of the lien against the property. But justice to the purchaser of the land requires that the title conveyed to him should be free and clear from all such incumbrances and to that end and for his protection it is provided, in the section of the Code cited, that the liens shall he discharged out of the purchase money by the officer making the sale. It- is entirely within the province of the court, however, to direct otherwise, and in such a case as the one before us, where-the validity of the assessment is in dispute and where the purchaser is willing to take the title subject to the assessment and the plaintiff waives its payment with reference to ascertaining the judgment for deficiency to which he would be entitled, it was eminently proper that the court should direct otherwise, as was done by the order of Mr. Justice Smith. The trustees of the village of Goshen had no standing in court which entitled it to complain of that order. It was not a party to the action; and the order-does not curtail or affect any remedy which the village has to enforce payment of the assessment. The matter was one affecting only the parties to the suit.

The suggestion of the learned counsel for -the village, that there was no other way by which the village could collect the assessment, except by a sale or lease of the premises, in pursuance of the provisions of the -statute under which it is incorporated, would be more properly addressed to the Legislature than to the court. The validity of the assessment was disputed, and the parties interested in the land were entitled to have its validity tried and determined in a, proceeding where the question would be directly presented. It could not be determined upon a motion made in this action.

We think that it was entirely competent for the parties to make the stipulation upon which Justice Smith’s order was based, and that the order appealéd from should be reversed, with ten dollars costs and disbursements, and the motion denied, with ten dollars costs against the village of Goshen.

All concurred.

Order- reversed, with ten dollars costs and disbursements, and motion denied, with ten dollars costs against the village of Goshen. ‘  