— This suit was commenced on the 25th of June, 1901. The defendant is a mining corporation with an organized capital of $10,000 divided into one hundred shares of the par value of $100 each, but thirty-three shares thereof have been cancelled, leaving sixty-seven shares representing the present capital stock. Shares Nos. 25, 26 and 27 were issued to one H. C. Brandon. The plaintiff claimed to be the owner of these shares but the defendant company re*361fused to recognize him as such and to permit him to share in its dividends. The defendant, Egger, also claims to he the owner of said shares, basing his title upon a purchase made at a sale under execution issued upon a judgment against said Brandon. This sale and purchase was made after the time that plaintiff claims he became the owner of such stock. The plaintiff admitted that the. consideration for the transfer of the sale of the stock by Brandon to himself was a wager on the result of an election. On the 10th day of November, 1896, Brandon, in writing, assigned and delivered the stock to plaintiff. At that time plaintiff was engaged in the business of banking and a Mr. Avery was his bookkeeper, also the secretary of the mining company. Avery knew that plaintiff owned the shares of stock, according to plaintiff’s evidence, and that he wanted him, as secretary of the mining company, to transfer them on its books to him. He says he put them in a pigeonhole where Avery kept the books of the company and that Avery knew where they were; that he also took the certificate book and found the numbers corresponding with the numbers of said shares and wrote his name on the stub of each certificate; that his recollection was that he called Avery’s attention, to the matter and he replied, “all right;” that some time afterwards he put them in a pigeonhole where he kept his papers; and that he had received from the mining company dividends on said certificates of stock in the year 1897 and in 1898. Warrants for the different dividends paid were in evidence.
Avery testified that he had no recollection of plaintiff’s request, immediately after the election in 1896, to make an entry on the company’s books of the assignment by Brandon to him of said shares. But he did recollect that such request was made by plaintiff after the levy upon them by the officer under the execution mentioned, but that he refused to make the transfer on the books because of said levy. The stock was after-*362wards transferred on the hooks of the company in the name of defendant Egger. One of its by-laws required that a transfer of its stock should be made only upon the books of the mining company. There was evidence that at the time of the transaction mentioned, Brandon was solvent; and also evidence to the contrary.
Plaintiff asks that the mining company be compelled to transfer said shares of stock on its books to him and for a judgment for the amount of unpaid dividends. ■ The court rendered judgment in favor of plaintiff and defendants appealed. The contention of of appellants is that as the consideration for the sale of the stock in question was unlawful, a court of equity will not interfere to aid plaintiff in consummating it.
Section 3424,Revised Statutes 1899, is: “Any person who shall lose any money or property at any game or gambling device may recover the same by civil action.” Section 3925, idem, gives the right of recovery to the heirs, executors, administrators and creditors of the person losing against the winner, as provided in the preceding section. Section 3430 makes betting on an election gaming within the meaning of this act. Section 3432 requires that such action be commenced within three months from the time the cause of action accrued. Section 2211, idem, makes betting on elections a misdemeanor punishable by fine.
On the other hand, plaintiff, although admitting the principle that “where the establishment of plaintiff’s cause of action requires the proof of an illegal transaction to sustain it, the courts will deny the plaintiff any aid, but, if the plaintiff can establish his cause of action without proof of an illegal transaction, although his first connection with the subject of the transaction may have been in violation of positive statute, or against public policy, the doctrine of ‘clean hands’ does *363not apply.” We will consider the plaintiff’s proposition first. Under the statute referred to, betting on the election was contrary to law — malum prohibitum. Not only was the act unlawful, but the loser, creditors, heirs or administrator could recover the property lost, provided suit was instituted for that purpose within three months from the time the cause of action accrued. No action was instituted by Brandon or any other pérson authorized to sue for the recovery of the stock in question. The assignment and delivery of the stock by Brandon to plaintiff completed his title to the same, unless the by-laws of the company requiring such transfers on its books was necessary to make such title complete. The refusal of the secretary of the company to enter the transfer on its books was based upon the ground that the stock had been levied on to satisfy a judgment against said Brandon, and not upon the ground that they had been wagered and lost by him on the result of an election. The defendant, Egger, who was made a party defendant on his own motion, claims the stock by reason of his purchase at the constable’s sale, and not as a creditor. He is not, according to his own showing, entitled to any right, legal or equitable, as against plaintiff. It was, therefore, immaterial whether at the time he transferred the stock to plaintiff, Brandon was solvent or otherwise, the transfer having been made before Egger’s purcase at constable’s sale. The whole question, then, rests as between plaintiff and defendant company. But if plaintiff loses in the suit against defendant company it will be in a condition to recognize Egger as owner under his purchase at said constable’s sale. The defense interposed apparently is, therefore, to defeat plaintiff’s claim and make good that of Egger. It is the defendant company that raises the issue as to plaintiff’s right to relief asked, not in the interest of morality but to aid one whom the evidence shows to be its treasurer and one of its stockholders.
*364A question similar' in principle was decided in Roselle v. Beckemeir, 134 Mo. 380, where the facts were: “Several parties in Missouri agreed to ‘pool’ their tickets in the Louisiana lottery; the tickets drew several prizes; one of the parties (plaintiff in this case) obtained a draft for the whole prize money; he indorsed the draft to a bank upon an agreement that it should (for a consideration) collect the proceeds, pay part thereof to plaintiff and another specified part to Beckemeir, who was a party to that agreement. Held, that the illegality of the original transaction was no bar to the recovery by Beckemeir of his part of the proceeds of the draft. ’ ’ The principle upon which the decision is founded is: “A party seeking to recover on a contract cannot be defeated from recovery by reason of illegality in his prior conduct, when he can make out his case independently of his illegal conduct.” Dealing in lottery tickets was prohibited by the laws of Missouri and obtaining a draft as a prize won in such lottery was illegal by reason-of the law, but the agreement to divide the proceeds after the draft was collected was not illegal, because in making out his case he could do so without proof of the original transaction which was illegal. See, also, Live Stock Association v. L. & C. Co., 138 Mo. 394.
The appellants to support their theory of the case cite Woolfolk v. Duncan, 80 Mo. App. 422, where the action was to recover on a note given as a settlement of a bet on the result of an election. It was, therefore, an effort to enforce the collection of a demand, the consideration for which wqs illegal. The court held that the contract was void and: “No action lies upon an unlawful consideration and a contract growing out of an illegal or immoral transaction,” etc. Morris v. White, 83 Mo. App. 194, is a case where suit was brought upon a promissory note by an innocent holder, the consideration for which was. a gambling debt. The plaintiff was not permitted to recover because the *365statute made such note uncollectible. In Keim v. Vette, 167 Mo. 389, it is held: “ A pledge of notes to secure a valid indebtedness is illegal and void as to every person whose rights are affected by it if it is tainted with usury. The illegality of ¡the pledge made by the fraudulent depositary or bailee of the notes may be raised by the true owner of the notes. He, as to such pledge, is not a stranger. ’ ’ In Ullmam v. St. Louis Fair Association, 167 Mo. 273, it is held: “A contract which by its terms sells to certain persons the exclusive privilege of betting and bookmaking' on a race course, is a contract for gambling with the public, and being such the courts will not aid either party thereto in its enforcement.”
The appellants have cited numerous other decisions, none of which sustain their position; and we do not deem it necessary to' specifically notice them in this opinion. It will be perceived that those given are cases where the courts have refused to enforce unlawful contracts or afford relief from such contracts. They differ materially from the one in hand, as the latter is not to enforce an illegal contract, but is based upon a showing independent of the anterior illegal transaction. At the time plaintiff presented the certificate of stock to said secretary he was the absolute owner of the same as against the world, and the refusal of the company to enter the transfer on his books in no way affected his title.
It is true defendant’s by-laws provide that the stock of the association shall be transferred on its books, and section 965, Revised Statutes. 1899, provides that the stock of all corporations shall be transferable in the manner provided by their by-laws. But neither said statute nor by-laws was intended to prevent the alienation of corporation stock. But the object of such regulations was to enable corporations to deal with intelligence with its stockholders. By such means corporations are enabled to know to whom to pay dividends, who are entitled to vote for directions and other *366necessary matters. Corporation stock is declared by said section to be personal property; and as sncb it can be sold and transferred to the purchaser, and such purchaser has the right to have the transfer entered on the corporation books in the manner provided by its by-laws. And if it fails or refuses to do so without good excuse, it is within the province of a court to compel it to make such transfer.
Appellant contends that the court committed error in adjudging that the company pay to plaintiff the sum of $13.65 on the basis that it had in its treasury the sum of $152.48, it being his proportionate share of the same. The finding of the court is, that the company has disposed of all its property and effects except said sum of $152.48 and that the same belongs to the owners of the stock. The chief objection to the action of the court is that shareholders are not entitled to any share in the capital stock, nor to any dividends, until all the debts of the corporation are paid; and that the holders of stock would become personally liable to creditors if a dividend should be declared under the circumstances. But there is no evidence of indebtedness by the company. The evidence indicates that it had gone out of business having disposed of most of its property, and the legitimate inference is that it had paid its indebtedness. In any event, plaintiff, who was shown to be solvent, would be liable to a creditor for his proportionate share of said dividends. The error, if one, is too insignificant to authorize the disturbance of a judgment otherwise for the right party.
Affirmed.
All concur.