The clause in the act of 1840, which dispensed with the necessity of making judgment creditors parties to foreclosure suits having been repealed by an amendment introduced into the act in relation to the foreclosure of mortgages, passed May seventh one thou*564sand eight hundred and forty-four and which took effect on the sixth day of June following, restored the former necessity of making them parties. A law repealed must be considered (except as to transactions past and closed) as if it had never existed : Dwarris, 676. The bill of foreclosure in this cause was filed in the month of April one thousand eight hundred and forty-three; the proper notice of lis pen-dens was filed ; and judgment creditors were not made parties. The decree was taken on the twenty-fifth day of June one thousand eight hundred and forty-four, nineteen days after the dispensing law had ceased to exist; but the requisite proof was furnished of the filing of lis pendens in the form and manner prescribed by the statute at the time of filing the bill. By this means all the judgment creditors had notice, not only forty days before the decree, but much more than forty days before the law was repealed. The repeal has not taken away or altered their right to come in and claim the surplus, if any surplus there has been. Under these circumstances, I am of opinion the judgment creditors are as effectually foreclosed of all equity of redemption as they would have been had the decree been taken on or before the sixth of June. Perhaps it might be different if forty days, from the time of filing the notice of lis pendens, had not elapsed when the repealing law took effect. But here that time had elapsed: and the effect of the repeal is not to undo and open what was closed and past under the previous law. It seems not a little strange that the legislature should have restored the necessity of making judgment creditors parties to foreclosure suits as formerly and, at the same time, have left in full force all that provision of the statute about the filing of a notice of Us pendens forty days before a decree can be had, which provision was introduced and intended as a substitute for the former practice. Still, the court must give effect to the law as it stands and both the presence of judgment creditors as parties and the forty days notice of . Us pendens before decree are now necessary in cases of bills filed since the sixth day of June one thousand eight hundred and forty-four. In some instances of suits commenced previously thereto, I have advised an amendment so as to bring in judgment creditors, but this has been rather ex abundanti *565cautela except where the proceeding had been but very recently and within the forty days commenced.
In the present instance, however, I am satisfied it is not necessary ; and that the purchaser will obtain such a title °under the decree as it stands. The court of chancery can always protect against the judgment creditors, if ever they should attempt to redeem or, in any way, disturb it.
Order: That the purchaser complete his purchase ; and that each party bear his own costs of the motion.(a)
His honor, the chancellor, in affirming the appeal, observed (inter alia) : “ It is not pretended by the purchaser that there is any doubt as to the validity of the mortgage upon which the foreclosure took place or that the equity of redemption is in fact worth anything to these subsequent judgment creditors. His whole objection to the title therefore proceeds upon the supposition that a court of equity might at some future time permit these creditors to redeem the premises upon payment of the whole amount due on the complainant's mortgage with interest thereon; although they had been allowed the privilege of becoming parties to the suit and of bidding upon the property to raise a surplus for their own benefit if they had thought proper to do so under the provisions of the statute as well as by the original act.
“ As the statute now is, with the amendment of the ninth section, the complainant in a foreclosure suit is obliged to file a notice of the pendency and object of the suit at least forty days before he can obtain a decree. And judgment creditors, whose liens are subsequent to the mortgage and who are not made parties to the suit may apply to be parties or may claim a share of the surplus monies arising from a sale under the decree or may apply to set aside a sale under the decree in the same manner as if they were parties to the suit
“ It is very doubtful, therefore, whether this court would sustain a bill by a creditor having such a lien to redeem the mortgaged premises from a bona fide purchaser, who had given the full value of the premises at the master’s sale, unless such creditor could show some equity beyond a mere nominal lien upon the equity of redemption at the time of such sale; even if the act of May one thousand eight hundred and forty had been passed as it is now left by this amendment of the original act. It is a settled principle of this court that a party who comes into this court for equity must himself be willing to do equity. And where a judgment creditor, who is not made a party, has no defence to interpose to the bill of foreclosure and is aware of the existence of the suit and of the decree of sale, so that he may attend the sale and see that it is fairly and properly made and that the premises are sold for their fair value to raise a surplus for his benefit, if they are indeed worth more than the amount of the complainant’s debt and costs, it is hardly probable that this court would allow him the benefit of a subsequent rise in the value of the property or for buildings or improvements which the purchaser under the decree had subsequently erected or made.
“ But whatever may be the construction and effect of this statute as to cases which have been commenced subsequent to the amendment in reference to the *566equity of redemption of judgment creditors not made parties but whose rights are still providdd for where they are actually aware of the pendency of the foreclosure suit, I am satisfied the judgment creditors in the present case have no right to redeem the premises from this sale to the complainant.”