The vice chancellor is right in supposing that the proffered stipulation did not restore the competency of the witness. Even if Cooper could stipulate his answer off the files, without the consent of the complainant, and without the sanction of the court, the form of the stipulation appears to be objectionable. For it only authorizes the complainant to take a personal decree against him at the hearing, for the amount which he may prove to be due upon the bond; and does not authorize a decree to be entered against him for the complainant’s costs. Nor will the taking the bill as confessed against the mortgagor, for want of an answer, entitle the complainant, at the hearing, to a personal decree against him for the whole debt and costs; where the bill is dismissed as to the whole of the mortgaged premises on the ground that the mortgage is void for usury. The provisions of the revised statutes which give jurisdiction to this court, to make a personal decree against the mortgagor, or his surety, or any other party who is personally liable for the debt, do not appear to- extend to a case where the complainant has no right to come into this court to foreclose the mortgage as against the interest of any one in the mortgaged premises, or any part thereof. (2 R. S. 191, § 158, 160.) In the case of Post v. Dart and The Bank of Utica, (8 Paige's Rep. 693,) the defendant who set up a defence to the suit, had only a lien upon the mortgaged premises, as a judgment creditor. And the dismissal of the bill against the bank would not have prevented a decree and sale of the interest of the mortgagor in the premises, subject to the lien of the judgment; and a decree over against the mortgagor for the deficiency. And a similar decree for the deficiency could undoubtedly be made, within the spirit of the statutory provisions on this sub ject, where a part of the mortgaged premises only remained subject to the lien of the mortgage, at the time of the decree, so that a sale of that part might be decreed; although the decree of sale could not extend to the whole of the premises embraced in the mortgage.
But even if a personal decree could have been made against Cooper, in this case, for any part of the debt due upon the bond, *188and for the costs of the complainant, in the suit, in case he had suffered the bill tó be taken as confessed against him originally, the complainant was not bound to accept óf a stipulation ‘tó have the defence of Cooper withdrawn; for the mere purpose of 'enabling another defendant to use Cooper as á witness, to "defeat the claim Of’the complainant upon the mortgaged premises. If it was proper to pérmít the answer of Cooper to be withdrawn; tó enáble Denting to use him as a witness, the correct course was tó make an application tó the court for that purpose, upoú tiúe "notice "to the complainant. Then, if the court had permit-. téd the answer to he withdrawn, it might have imposed such "terms, ás to the payment of costs which had been occasioned by such answer, Or otherwise, as would be proper. And in casé the "defendants had made a slip, whereby the defence "of usury 'cohid riot be established without applying to the court fot this favor, ‘the favor itself might have béén refused; except upon the ‘equitable terms of Demihg’s offering to consent to a decree for what was actually due, with legal interest. Or if the complainant positively denied the alleged usury, upon oath, the court might have refused to interfere upon any terms, in that stage of the suit. The defendant Deming, who had obtained the order for the examination of Cooper, upon an improper affidavit that he had rió interest in the question as to which he was tó bé examined as a witness, certainly had no right to take the decisión Of those important questions into his own hands; and tó 'change the issue in the cause, as to Cooper, by a mere stipulation, filed in the examiner’s office and served upon the counsel of the "complainant.
The order appealed frorii is hot erronec ris; arid it must be affirmed) with costs.