On November 16, 1925, the Western Commercial Bank in Caldwell, while insolvent accepted a deposit from defendant, Canyon County Farmers’ Mutual Fire Insurance Company, and delivered such company as security thеrefor $20,411.81 worth of its assets consisting of certain warrants. On December 23d following the bank closed and was placed in the hands of the Commissioner of the Department of Finance. Demand for the surrender of the warrants was made upon the Insurance Company, which demand having been refused, the Commissioner sued for their recovery, or, in lieu thereof, their face value together with accrued interest. Thе defendant Insurance Company demurred generally and upon the three special grounds that the court had no jurisdiction of the defendant’s person or of the subject matter; that plaintiff had no legаl capacity to sue, and that plaintiff was estopped to maintain this action “for the reason that it appears from the face of the complaint that he seeks as assignee of оne of the parties to the contract referred to and pleaded in the complaint to be relieved from the performance of a contract fully executed by defendant on the grоund that said contract is ultra vires and beyond the authority of'his assignor.”
We are called upon to consider only the merits of the general demurrer and the plea of estoppel. Sec. 39 of chap. 133 of the Idaho 1925 Session Laws, providеs:
“Giving Security for Deposit Prohibited. It shall be unlawful for any bank to pledge, mortgage or hypothecate to any depositor any of its real or personal property as security • for any depоsit and any pledge, mortgage or *525 hypothecation made in violation thereof shall be unenforceable; provided, however, that this provision shall not apply to any deposits of moneys оf the United States and public funds deposited in accordance with the provisions of any depository act of this state, or the United States.”
This enactment clearly declares a public policy prohibiting preferences in favor of one depositor over other depositors and general creditors of a bank. It is contended that a contract made in violation of this statute is merely illegal and not void, since its invalidity is not in terms declared; and, such being the case, the law will leave the parties where it finds them. As to the nature of a contract undertaken in defiance of a direct lеgislative inhibition, we have found nothing more succinct than the language employed in
Swanger v. Mayberry,
“The general principle is well established that a contract founded on an illegal consideration, or which is madе for the purpose of furthering any matter or thing prohibited by statute, or to aid or assist any party therein, is void. This rule applies to every contract which is founded on a transaction malum in se, or which is prohibited by statute, on the ground of public policy.”
This invalidity vitiates the contract between the immediate parties. 6 Cal. Juris., 150, sec. 106, citing copious authorities. Other authorities holding such contracts void are especially; Black on Interpretation of Laws, 2d ed., page 87; Endlich on Interpretation of Statutes, page 640, sec. 449;
Barton v. Port Jackson, etc.,
17 Barb. (N. Y.) 397;
People v. Board of Supervisors,
*526
Defendant urges that the instant case presents the well-recognized exception that where the statutory prohibition is found in a statute, the purpose of which is the regulation of business, the courts will .treat the contract as valid, unless it is manifestly the intention of the statute to make it void. This rule was аnnounced in
Vermont Loam, Company v. Hoffman,
The distinction is most ably discussed in
Sunflower Lumber Co. v. Turner Supply Co.,
There is no place here for the doctrine that the law will leаve the parties where it finds them. The basis of such a rule is that the courts will not aid or reward a wrongdoer. The depositors whom the Commissioner represents have done no wrong. As was said in Divide County v. Baird, supra, “Shall they be punished for the misdeeds of the guilty?” So informing is this cited case, and so similar to the case at bar, that we feel constrained to quote from it at length. There, a bank had unlawfully pledged its assets to secure county deрosits; and the court reviewing this very contention, said;
*528 “It is said that this court must leave the parties to the illegal contract where it finds them, and that the receiver will not be permitted to recover the seсurities. To be left where and as found is precisely all the county can desire— with the illegally obtained collateral in its possession. In some way, which does not clearly appear, the receiver, although he represents the depositors and it is his duty to protect their interests, is supposed to be estopped from recovering the possession unless he first pays the money, or ‘deposit,’ which the bank received at the time when it and the county entered into the unlawful arrangement.
‘ ‘ It appears to me that this position fails to take note of the status of the receiver of. an insolvent bаnk. He is an arm or officer of the court appointing him, yet, at the same time, he represents the creditors and stockholders of the corporation in more than a merely theoretical оr academic sense. Viewed from this standpoint, his status is such that it is his duty to vindicate and protect the rights of the depositors. Under the law, they have the legal right to demand that the assets of the bank shall not be рledged to secure favored depositors .... When the wrong was done, they were powerless to speak or prevent it; now an officer of the court is charged with the duty of protecting their interеsts. Shall we say to him that there is no remedy whereby the innocent may be protected from the consequences of the unlawful conduct of others? ....
“And yet it is said that the court, after finding the injury, can only slap thе defunct bank and the delinquent county on the wrist, and say to the depositors: ‘We must leave you where we find you; we can do nothing, because the transaction was illegal, and you have not returned something which, not you, but the bank got from the plaintiff.’ ”
To the same effect spoke the court in Commercial B. & T. Co. v. Citizens T. & G. Co., supra, observing: “It is well known that good statements as to assets induce people to deposit their money in banks making such statements.. It would be a crowning act of injustice to hоld that deposits *529 thus induced are nevertheless cut off from sharing these assets, until some unknown favored few who have been secretly secured, are satisfied.”
Were defendant’s contention sustained, the рurpose of the statute would be defeated. Once the parties were successful in executing their unlawful scheme, the victims of the legal fraud, although they were also the beneficiaries of the stаtute which had been flouted, would be helpless. As to them the statute would have been wholly abrogated, and the legislature made a laughing stock. It must therefore follow that the defendant cannot retain the assets which the bank attempted to hypothecate, and thereby sorely defraud the very persons for whose protection the statute was enacted.
(Citizens State Bank, etc., v. First Nat. Bank,
The complaint stated a cause of action and the demurrer should have been overruled. Judgment reversed and the case remanded. Costs to appellant.
