The action is in equity to foreclose a mortgage; the judgment is purely a judgment at law for the recovery of a sum of money. The character of the action may be thus changed by consent; but if so changed, the pleadings should be amended to correspond with the altered purpose of the parties. Lawe v. Hyde, 39 Wis., 345.
This record fails to show that the appellant has ever consented that a personal judgment might be rendered against him; and hence the judgment cannot be sustained, unless the plaintiff may, without the consent of the appellant, transform the equitable into a legal action. Certainly he cannot do so unless the appellant has made himself liable to a personal judgment, by some act or admission on his part. lias he rendered himself thus liable? If he has, it is because of his admission in the answer that he purchased subject to the plaintiff’s mortgage, or because of his offer therein to redeem the mortgaged premises.
The admission is nothing more than the statement of a con-*33elusion of law. Taking Ms conveyance from tke mortgagors long after the execution and recording of the mortgage, the appellant took it subject to the mortgage, as a matter of cotirse. But that alone does not render him personally liable for the mortgage debt. An express covenant or agreement to pay it is essential to such liability, and there is no claim that the appellant has so covenanted or agreed. Cleveland v. Southard, 25 Wis., 479. See also Bishop v. Douglass, id., 696.
The offer to redeem does not amount to an agreement to pay the mortgage debt. It is not an offer or consent that a personal judgment may be taken against the appellant. In a bill by the grantee of an equity of redemption to redeem from a prior mortgage, it is usual, probably essential, to make such an offer; yet we are net aware that it was ever held that the party making it thereby became personally liable for the debt secured by such prior mortgage. The usual decree in such an action is, that the plaintiff pay the amount of the prior incum-brance by a day specified, and, on such payment being made, that the mortgage be discharged. In default of payment the bill is dismissed, and no execution, except for costs, goes against the party in default. 2 Barb. Oh. Pr., 645-6, and cases cited. See Forms, 3 id., 628-32 (Nos. 387 to 390, inclusive). The cases cited by the learned counsel for the plaintiff to support the opposite doctrine, are all cases of an express agreement by the grantor of the equity of redemption to pay the mortgage debt.
It was not necessary for the appellant to claim the right of redemption in his answer. Without such claim, the statute gives him that right. He may redeem at any time before sale, by paying the amount of the foreclosure judgment and interest to the plaintiff or the clerk of the court. Laws of 1877, ch. 143, sec. 6.
There is no bill of exceptions, but the findings show that the judgment was founded upon the offer in the answer and the waiver of a foreclosure judgment by the plaintiff’. We think these findings are not sufficient to uphold the judgment. *34We think also that, under the circumstances, the plaintiff is not bound by such waiver.
The judgment must be reversed, and the cause remanded with directions to the circuit .court to render judgment as prayed in the complaint. The defendant may redeem under the statute.
Evan, O. J.I am satisfied that the judgment of the court below is properly reversed, for the reasons indicated in the opinion of the court. But I cannot assent to the direction given to the court below, to render judgment according to the prayer of the complaint.
Upon the reversal of a judgment against a defendant, I do not think that it has been the practice of this court to direct what judgment should be rendered for the plaintiff, except when the judgment is reversed for excess merely. And the danger of directing a judgment according to the prayer of the complaint, when there are questions not properly before the court or not discussed at the bar, is exemplified in the two appeals in Wilcox v. Bates, the first in 26 Wis., 465, and the second unreported.
In the present case, nothing was argued at the bar or is discussed in the opinion of the court, except the plaintiff’s right to a personal judgment against the defendant. And yet the direction to the court below to enter judgment according to the complaint, covers not only costs, but a solicitor’s fee for foreclosure provided for in the mortgage and presumably recovered on the former foreclosure. I think it very questionable whether, under the circumstances, the plaintiff is entitled to costs; and, if he has already actually recovered the solicit- or’s fee, he can har-dly be entitled to it again. And it may be that the court below might consider itself authorized to give a personal judgment for deficiency, under the broad prayer for general relief.
But I have a graver objection to the direction for judgment according to the prayer of the complaint. It has been held by this court that, even where a defendant does not defend be*35low, judgment against him will be reversed here, if the complaint do not disclose a cause of action. American, etc., Machine Co. v. Gurnee, 44 Wis., 49. And it seems to me that there is a grave question whether the complaint in this case does disclose a cause of action.
It appears by the complaint that the plaintiff formerly foreclosed this mortgage in a suit against the mortgagor and a junior mortgagee; that the usual decree of foreclosure and sale was made, and the mortgaged premises purchased at the sale by the plaintiff? The complaint also avers that the year allowed for redemption has expired, with some presumption, perhaps, that the plaintiff has entered into possession under that title.
Whether, under such circumstances, the former foreclosure can be treated as a nullity, may well be a question of some difficulty.
Whether, if the former foreclosure be not held a nullity, the present suit can be maintained against the subsequent purchaser, may also involve a question of some difficulty.
I was not present when this case was considered by the court; but I am informed that the difficulties I have suggested were not considered. And I do not think that the court ought to be committed upon them without argument or consideration.
By the Gourd.— Judgment reversed, and cause remanded with directions to render judgment as prayed in the complaint.