The vei’dict and judgment are sustained by the evidence, unless plaintiff is defeated of his right to recover by the matters set up by defendant as an affirmative defense. *473The evidence given in support of said defense established the following state of facts: The parties entered into a written contract, by which defendant covenanted to sell and convey to plaintiff a certain tract of land for the price of $2,200. For this amount plaintiff gave his two promissory notes for $1,100 each, payable at different times. One of the stipulations of the contract was that in the event of the non-payment by plaintiff of said sums of money, or any part thereof, promptly at the time therein limited, defendant would be discharged from his undertaking to convey the land, and from all liability under the agreement. Afterwards plaintiff executed two chattel mortgages to secure said notes. The note first falling due was paid at its maturity, but, default being made in the payment of the other note, defendant caused foreclosure proceedings to be instituted thereon. No question is made as to the legality of the sale of the property covered by one of the mortgages. There was a seizure of the property covered by the other mortgage, and a formal sale thereof was made; defendant being the purchaser. The evidence, however, tended to show such irregularities in the conduct of the sale as would warrant the finding of the jury that it was void, and that defendant was liable as for the conversion of the property. The amounts realized from both sales, after deducting the costs and expenses, were credited on the note, but they were not sufficient to satisfy it. Plaintiff then tendered to defendant an amount of money sufficient to pay the balance remaining due thereon, and demanded a conveyance of the land; and, on defendant’s refusing to make the conveyance, he instituted a suit in equity to compel a specific performance of the contract, and a judgment was entered compelling defendant to make a conveyance of the land. From that judgment defendant appealed to this court, but on the hearing of the appeal the judgment was affirmed. See Rump v. Schwartz, 56 Iowa, 611.
On the trial defendant asked the court to instruct the jury *474that upon these facts plaintiff was now estopped to assert that he was not divested of the property by the foreclosure proceeding. But the court refused to give such instruction, and told the jury that if the facts essential to plaintiff’s recovery were proven, his right of recovery was not defeated by the fact that plaintiff had pleaded the foreclosure of the mortgage in the former action. The only question argued by counsel is as to the correctness of these rulings. In our opinion the rulings are erroneous. Plaintiff was entitled to relief in the former action only in case he could show that the provision of the written agreement making time of the essence of the contract had been waived by defendant. To establish such waiver he alleged that, after his default in the payment of the note had occurred, defendant had foreclosed the mortgages and sold the property and credited the proceeds of the sales on the note, and his tender was of the remainder due upon the note after deducting those credits. He not only asserted that the mortgages had been foreclosed, but claimed credit for the proceeds of the sales, and upon these facts the court adjudged that he was entitled to relief. Having once asserted that the proceedings under which defendant claimed to have acquired the property was a foreclosure of the mortgage, and having demanded and received all the rights and advantages which could have accrued to him if the proceeding had in all respects been regular, he cannot now be permitted, while retaining those advantages, to assert that defendant was a mere trespasser, or that he was not divested of the property by the sale. He is in precisely the same position he would have occupied if he had received and retained the proceeds of the sale; for he lias demanded that they be applied to his use and benefit, and they have been so applied. The case is clearly within the principle laid down in Deford v. Mercer, 24 Iowa, 118. See, also, the eases cited in the note to that case.
The judgment will be reversed, and the cause will be remanded to the district court for further proceedings in that court.
Reversed.