This is a suit by plaintiff assignee for tbe benefit of creditors of the Citizens’ Stock Bank, a corporation duly organized under tbe laws of this State, against tbe defendant on two notes executed by him to said bank; one for $1,400, dated October J, 1890, upon wbicb there were several credits, and tbe other for $125, dated May 3, 1894, both payable on demand to Joseph Eield cashier of said bank. Tbe assignment was made on tbe seventeenth day of December, 1894.
Plaintiff instituted this suit on tbe twenty-first day of October, 1895. Tbe petition is in tbe usx.al form.
*6Tbe execution of the notes is not denied but defendant pleads wbat is denominated certain equitable set-offs which, are stated by him to have originated in the following manner.
On the fourth of January, 1893, defendant as surety for said bank, joined in a bond to one Winning, treasurer of Saline county, who kept some of the public funds on deposit therein, conditioned that said bank would duly pay over said money. It is alleged that, at the time of the failure, Winning had in the bank $2,396.18, and that this was due and payable at the time of the assignment; that defendant and his co-securities then and there became liable to pay the same, and that on the fourth of March, 1895, before the commencement of this suit, defendant paid his part of the liability due December 15, 1894, to wit: $299.68.
It is further charged in the answer, that defendant, as surety for the bank, also signed a bond to the collector of Saline county, to indemnify him against loss on account of deposits of public funds that he might make therein; that, at the time of the failure, the collector had on deposit in the bank $2,186.42, which then and there became due, and defendant and his co-securities became then and there liable therefor; that defendant, before the commencement of this suit, to wit, on the fifth of March, 1895, paid to said collector $218.60, being his part of the sum due said collector at the time of the assignment.
It is also charged, that when each of said bonds was ' signed the bank was insolvent, and that this was known to its cashier, who, notwithstanding, fraudulently induced defendant and his co-securities to execute the same.
The answer, as to the third equitable set-off, alleges that, on the fifteenth of November, 1894, said Citizens’ Stock Bank was wholly insolvent, and that this fact was well known to its cashier, but that he concealed that fact from defendant; that said bank, on that day, executed its note for *7$25,000 to the National Bank of Commerce of Kansas City, due four months after date, bearing eight per cent interest, and that said cashier fraudulently represented said bank to defendant to be solvent and abundantly able to pay said loan, and thereby induced defendant and others to make a guaranty on the back of the note as follows: “We personally guarantee the payment of the within note, and do hereby waive protest on same;” that the cashier procured the money on the faith of said guaranty, and used the same for the purposes of the Citizens’ Stock Bank, when in fact the money by reason of the insolvency of said bank and fraudulent representations of said cashier in behalf of said bank, was held by it in trust for the defendant and his co-obligors, and that a trust attached to said fund on the fifteenth of November, 1894, and said fund was due to the defendant and his co-guarantors on the said fifteenth of November, 1894, the day it was received by said Citizens’ Stock Bank; that before the institution of this suit defendant paid $2,500 to the National Bank of Commerce of Kansas City, and obtained a release from his liability upon said guaranty.
The amounts paid to the collector and treasurer of Saline county, by defendant, as above set out, and the sum paid by him to the National Bank of Commerce, are asked to be set off against the notes sued on, and there is the further prayer for such other and further relief as defendant may be entitled to receive.
Plaintiff filed a general demurrer to the answer, which was sustained. Defendant declining to plead further, judgment was rendered for plaintiff for $873.93, the amount of the notes sued on, and the defendant appeals.
Defendant insists that the answer stated, and the demurrer admits, that the items of $299.68, and $218.60, sought to be set off against the demands sued on were at. the time of the assignment, due and payable to the treasurer and collector of Saline county respectively. That this money *8was on deposit in the bank, and, at tbe date of the assignment constituted an existing indebtedness against it, which was then due and could have been sued for and recovered at that-time.
And that as defendant by reason of his suretyship, wa3 compelled to substitute his money for these deposits, he is therefore entitled in equity to- be subrogated to all the rights, remedies and securities of the creditors.
No principle is better settled than that when a surety pays the debt of his principal he by reason thereof becomes entitled in equity to be subrogated to all of his rights, remedies, securities, funds, liens, and equities which the creditor may have for the same debt. [Miller v. Woodward, 8 Mo. 169; Berthold v. Berthold, 46 Mo. 557; Rubey v. Watson, 22 Mo. App. 428; Clark v. Bank, 57 Mo. App. 277; Dorsheimer v. Bucher, 7 S. &. R. 9; Braught v. Griffith, 16 Ia. 26.] But the question in this case is as to whether defendant is in position under the facts disclosed by the record to invoke in his aid that rule. In passing upon this question we must first determine what rights or equities the treasurer and collector had in the moneys to their credit in the bank at the time of its assignment, for it is just such' rights, and no more, that defendant can be subrogated to. It is not claimed in the argument that these funds were trust funds, so that it seems clear that the treasurer and collector were general creditors of the bank, and that these deposits, as all others of like character, went into, and formed part of its general funds, and by the assignment passed to the assignee for the benefit of all the creditors of the bank, unincumbered by any liens or priorities in favor of the treasurer or collector.
It may be if the suit had been against either of them upon a note executed by him to the bank, that he could have pleaded any amount due him by the bank at the time of the assignment as a set-off thereto [Smith v. Spengler, 83 Mo. *9408], but in this case, it is sought to set off against a suit by the assignee on notes executed by defendant to the bank which were due at the time of the assignment, the indebtedness of the bank to other parties, to no papt of which did he become entitled to be subrogated until the conditions of the bonds signed by himself and others for the protection of the treasurer and collector, were complied with by them.
Huse v. Ames, 104 Mo. 91, was a suit by the assignee of an insolvent corporation on an account, and, it was held chat a defendant’s equitable set-off to be available, must in such case exist at the time of the assignment.
The court observed: “The status of the creditors is fixed by the assignment in trust for them. If the right of set-off exists at that time it continues as against the assignee. If there is at the time an equitable light in favor- of a creditor to a set-off or to any of the property assigned that right is not disturbed by the assignment, but the equitable right must exist at that time, and this is true whether the creditor is or is not a surety. Here the defendant had no equitable set-off at the date of the assignment, and he, therefore, has none now.” [See, also, Homer v. Bank, 140 Mo. 225.] No right of set-off existed in favor of either the treasurer or collector as - against the bank at the time of its assignment, because neither of them owed it anything, therefore, defendant acquired none. Had the right of set-off existed in favor of the treasurer and collector against the bank at the time of its assignment, then defendant by being subrogated thereto, would have acquired such right, and could have pleaded it as an equitable set-off to this suit, if it accrued before its institution, although after the assignment. [Huse v. Ames, supra; Homer v. Bank, supra.] But no such right existed in favor of either of them.
Moreover, defendant by being subrogated to the rights of the treasurer and collector is entitled to his pro rata of the bank’s indebtedness to them, and their equities in connection *10therewith, but as he did not by reason thereof acquire the right to have such indebtedness set off against the notes sued upon in this case, his right to do so must be regarded as extending no further back than the time of the satisfaction of the bonds, which was subsequent to the assignment.
Furthermore, in no event could he have been subrogated to more than his pro rata part of the indebtedness of the bank to the treasurer and collector, and he and others having satisfied this indebtedness were jointly entitled to be sub-rogated to it as a whole, and not to any particular part thereof. It could not be portioned out among them and a separate action maintained by each one for his proportionate part, and for like reason defendant could not plead his pro rata part as a set-off in this case. A part of the debts could not have been assigned by the persons to whom due after the assignment, without the consent of the assignee [Barnett v. Crandall, 63 Mo. 410], and certainly no greater right could be acquired by being subrogated thereto.
But it is claimed by defendant, if he is not entitled to be subrogated to the creditor’s rights in the deposits, but must stand upon the implied promise to reimburse him for money paid after the assignment as surety for the bank but before the commencement of the suit, that he is entitled to plead the same as a set-off. We are not however impressed with the logic of this contention. There was no assignment by the creditors or either of them to defendant of their demands, hence it is only by being subrogated to their rights that defendant could plead them as a set-off to this suit. Indeed the answer is framed upon this theory alone.
With respect to the third equitable set-off, it is claimed by defendant that the money obtained from the National Bank of Commerce, to wit, $25,000, on November 15, 1894, was upon a note the payment of which was guaranteed by himself and others, which guarantee was obtained by fraud practiced upon them by the cashier of the Citizens’ Stock *11Bank, and as the money thus obtained went into the coffers of the bank and helped to swell its assets, it by reason of said fraud became a trust fund for the use of defendant and his co-guarantors, and he having paid his pro rata part of the money thus obtained, to wit, $2,500, a right of action accrued to him as soon as the money was Obtained. We are unable to see how the money obtained by the Citizens’ Stock Bank, upon a note whose payment defendant and others were induced to guarantee by reason of false and fraudulent representations, when deposited in said bank became a trust fund for their benefit, and no reason is given in defendant’s brief why it is so. And as defendant as guarantor paid the money for the Citizens’ Stock Bank, after the bank assigned, he can not set off the amount paid against the notes sued on.
This question was before this court in Huse v. Ames, supra, in which it is said: “While the insolvent is not bound to pay otherwise than according to his contract, it is considered no hardship that he should accept payment of a demand owing to him before maturity. Hence, it has been often ruled in the State of New York, and is now the law of this State, that, if the claim against the assignee was due at the date of the assignment, then there is an equity because of the insolvency of the assignor, and the debt so due may be set off against the claim in favor of the assignee, though the claim held by the assignee was not due at the date of the assignment. [Smith v. Spengler, 83 Mo. 408; Smith v. Felton, 43 N. Y. 419; Smith v. Fox, 48 N. Y. 674; Coffin v. McLean, 80 N. Y. 560.] But the claim against the assignee must be due at the date of the assignment, and if it is not then due, there is no equitable set-off. [Keep v. Lord, 2 Duer. 78; Myers v. Davis, 22 N. Y. 489; Chipman v. Bank, 120 Pa. St. 86.] A demand can not be set off because of the insolvency of the plaintiff in equity any more than at law, unless it existed against the plaintiff, in favor of the defendant, at the time of the commencement of the suit, and had *12then become due. [Reppy v. Reppy, 46 Mo. 57; Spaulding v. Backus, 122 Mass. 553; Pomeroy, Eq. Jur., sec. 704; Lockwood v. Beckwith, 6 Mich. 168.] .... To justify a set-off against an assignee for the benefit of creditors there must be a present debt due at the date of the assignment. In this respect a surety stands on no better footing than any other creditor. The defendant had no such debt against the assignor at the date of this assignment. Indeed, he had no such debt when [his suit commenced.” [See, also, Homer v. Bank, supra.]
Our conclusion is that the demurrer was properly sustained, and that the judgment should be affirmed. It is so ordered.
Gaittt, P. J., and Sheewood., J., concur.