The opinion of the court was delivered by
Ross, J.The contention is whether the plaintiff is entitled to recover anything growing out of the purchase of. the farm by the plaintiff of the Smiths, and its occupation by the defendant from May, 1877,- to March, 1883. The plaintiff does not now claim that he can recover rent for the use of the farm during that period, on the facts found by the referee. The referee has found that there was no agreement express or implied to pay rent — which is necessary to enable the plaintiff to recover rent— but during all that time the defendant occupied the farm as the owner thereof. On these facts a legal claim for rent cannot be predicated. But the plaintiff claims that he is entitled to recover in assumpsit for what he paid out, in the farm transaction during the time the defendant occupied the farm, on the ground, that on the facts found by the referee, such payments were made upon the express or implied request of the defendant. The controlling facts reported by the referee are, that in 1877 the defendant wrote the plaintiff a letter, requesting him to purchase the farm for the defendant and pay for it, and he would pay the plaintiff, but must have time to do so, and stating the süm for which he thought the farm ought to be purchased. The plaintiff made the purchase for the sum named, took a deed to himself, notified the defendant and he immediately moved to, and took possession of the farm, and carried it on, as the owner, until March, 1883. While the *398"defendant was so in possession, he paid some interest on mortgage debts assumed by the plaintiff, and made repairs upon the promises. The plaintiff paid the taxes, some of the interest on the mortgage debt, insurance on the buildings, and half of the mortgages which he had assumed to pay in the purchase from the Smiths. The defendant makes a claim that he could not be holden to take the farm, because there was no sufficient memorandum of the trade in writing signed by the defendant. This is doubtless true under the authorities cited. He also contends that the reservation in the deed of the waste water would relieve him because nothing was said about such a reservation in the letter authorizing the purchase. It is a sufficient answer to this contention, that the defendant after he was informed of the purchase made by the plaintiff for him, and at his request, took possession of the premises as owner, and thereby ratified the reservation, if a ratification was necessary. We think the construction to be placed upon the defendant’s letter, and the construction which both parties by their acts placed upon it, is, that the plaintiff should buy the farm for the defendant, pay for it, and hold the title.as security for payment by defendant, and the defendant would pay him therefor. On this construction and understanding of the parties, the plaintiff was to pay for the farm, and as fastas he paid .he had the right to charge it over to the defendant as a payment made at his request and in his behalf. So long as the defendant continued in possession of the farm as the owner, he continued the request to the plaintiff to go on with the payments, and agreed to pay the plaintiff the same, if not in terms, impliedly, from their original and continued relations to the farm.- During all this time, the defendant on tendering to the plaintiff payment of what he had paid, and relieving him from- the payment of the remaining part of the. purchase money, being in possession as owner, could have compelled a conveyance of the farm to himself. So long as these relations between the parties were continued by the defendant by his occupation of the farm as owner, the payments made by the *399plaintiff towards the farm, were made upon the original understanding between the parties, on the behalf, and at the request of the defendant, and upon his agreement both expressed in his letter, and implied from the relations of the parties, to repay the same to the plaintiff. Hence, the plaintiff had the right to charge all such payments to the defendant, and hold the title to the farm as security for their payment by the defendant. When the defendant abandoned the farm, such abandonment was notice to the plaintiff that he would no longer continue the relations.
On these' views the plaintiff had a debt against the defendant, when he abandoned the farm for whatever he had paid on the farm transaction, while the defendant continued in its occupation as owner, by way of purchase money, interest, taxes and insurance. This sum is between §1600 and .§1800, and can be ascertained by the clerk. If the relations of the parties had continued unbroken this would be the sum for which the plaintiff would be entitled to recover from the defendant on this branch of the case. But as we have already said the plaintiff held the title to the farm during all this time as security for the payment by the defendant of the sums so paid by the plaintiff, and also for the repayment of sums which the plaintiff should thereafter be obliged to pay on the farm contract? The defendant abandoned the farm and thereby notified the plaintiff that he would go no further in carrying out the contract. The contract, not having been reduced to writing in all its essential elements and signed by the parties, was within the operation of the Statute of Frauds, and neither party to it could legally maintain any action for its enforcement. They could legally only adjust what had been done under the contract. When the defendant abandoned the farm he thereby surrendered all right in equity to redeem the premises. He could no more maintain an action to redeem than the plaintiff could to foreclose the equity of redemption, or compel him to specifically perform the contract. While in possession, his relation in effect was that of a mortgagor in possession.. When he *400abandoned the premises bis relation became that of mortgagor with his right of redemption foreclosed. The plaintiff thereafter held the premises absolute^ his own; because the de-defendant, in as much as the- contract was within the operation of the Statute of Frauds, could maintain no action to redeem. He held them in payment, so far as available for that purpose of the debt which the defendant owed him arising-out of the farm transaction. A mortgagee who has received the mortgaged premises, on a foreclosure, can recover only the excess of the debt secured by the mortgage above the value of the premises when taken on the foreclosure. Hence, the plaintiff has the right to recover only so much of his debt against the defendant, for the payment of which he held the title of the farm, as that debt exceeded the value of the farm above what was then resting upon it. There was one thousand dollars of the purchase price then resting upon the farm. The farm had, while the defendant remained in possession, going forward in carrying out the contract, depreciated in value three hundred dollars. This fixes its cash, value when it came back into the possession of the plaintiff, with the defendant’s rights therein foreclosed by his abandonment, at seventeen hundred dollars. As there was still one thousand dollars of the purchase money unpaid by the plaintiff, resting upon the farm, there would be only seven hundred dollars available to the defendant to be applied in reduction of the debt which he then owed the plaintiff arising out of the farm contract. To ascertain the exact sum for which the plaintiff is entitled to judgment, it is necessary to have the interest recast on the basis of the views expressed. The - case is committed to the clerk to recast the interest and state the sum for which the plaintiff is entitled to judgment.
The judgment is reversed. Judgment rendered for the plaintiff to recover the sum for which he had judgment increased by the sum ascertained by the clerk and his costs.
The judgment against the trustee is affirmed without costs in this court.