Siems, the respondent, was the owner of real estate in Pierre, upon which the appellant bank held, a mortgage with power of sale, The mortgage was regularly foreclosed by advertisement, appellant becoming the purchaser. Subsequently to the purchase, the bank, upon the theory that as such purchaser it was entitled to the rents during the redemption year, under section 5159, Comp. Laws, leased the premises and collected the rents. The bank refusing to pay over to respondent the rents so collected and received by it, he brings this action to recover the same. From a judgment in favor of respondent upon these facts, this appeal is taken.
In Rudolph v. Herman, 4 S. D. 283,
Appellant, however, contends that, even under the former opinion of this court, this action cannot be maintained; that an action for money had and received “will not lie by a plaimant t,o a fund against his rival claimant, if that rival claima.pt rep.eiyed. it. un,der
Appellant insists that there can be no jirivity or implied contract to pay over between these parties, for the reason that the bank” expressly acted for itself, claiming itself to be the owner of the rents collected; that it acted, not for/but in hostility to Siems, —thus expressly negativing any relation of privity with or promise to account to him. It must be remembered that the promise upon which the action rests is not the direct act of the parties, but a promise which the law implies from the facts on the theory that a party is willing and undertakes to do what he ought to do. It does not militate against the promise which ■ the law implies that the facts are inconsistent with an intent to promise or to pay over. In discussing this question, Judge Cooley says it is no answer for the defendant to say: “True, I have turned your property into money, but I did so in denial of your right. I did so with intent to deprive you of the proceeds. In other words, I insist upon having done no wrong, and repudiate all suggestions of an agreement to pay.” He concludes the discussion, citing many authorities, by saying: “No question is made of this doctrine where, as a result of the tortious act, the defendant has come into possession of money belonging to the plaintiff. The law will not permit him to deny an implied promise to pay this money to the party entitled.” Cooley, Torts (2d Ed.) 108. While it may seem
