One M. was county treasurer of Cass county, North Dakota, for the years 1907-1910, inclusive, and the plaintiff trust company was his official bondsman. At the close of his term of office, the eounty of Cass claimed that he was short in his accounts something over $7,000, and judgment was recovered against the surety for such defalcation. Having paid the judgment, the trust company in its turn brought this action against the National Bank of Buffalo, North Dakota, to recover the sum of $2,564.22, the moneys which it is alleged belonged to said Cass county, but'were wrongfully paid by said treasurer to said bank upon a private indebtedness.
The complaint, after alleging the formal matters of the election of the treasurer and the giving of the bond, further alleges: “That on the said second day of January, 1911, the said M. was short in his accounts as treasurer of said Cass county of public moneys in his hands, belonging to said Cass county, and failed to pay over and deliver according to law, to his successor in office, the sum of $7,258.28, and wholly failed and neglected to pay said sum or any part thereof.
“That thereafter said Cass county - duly demanded of this plaintiff (the trust company), as surety upon the official bond of said M., as aforesaid, that said shortage be paid into the treasury of said Cass county, and that this plaintiff make good the sum of money aforesaid, and upon the failure of the plaintiff so to do, an action was duly and regu*78larly commenced in the district court of Cass county by tbe county of Cass as plaintiff, against tbis plaintiff as defendant, in wbicb sucb proceedings were duly and regularly bad; tbat on tbe 5tb day of April, 1911, a judgment was duly and regularly entered against tbis plaintiff, and in favor of Cass county, North Dakota, for tbe sum of $7,258.28 for principal, $84.66 interest, and $7 costs, making a total judgment against this plaintiff, by reason of tbe defalcation of said M., as treasurer of Cass county, in tbe sum of $7,349.94; tbat thereafter and on tbe 6th day of April, 1911, tbis plaintiff was compelled to and did pay said judgment.
“Tbat during tbe years 1907, 8, 9, tbe said M., as treasurer of said Cass county, deposited tbe money of said Cass county in tbe Commercial Bank of Fargo, Merchants National Bank of Fargo, and tbe first National Bank of Fargo, in tbe name of, and to tbe credit of, said Cass county, North Dakota. Tbat between tbe 10th day of April, 1907, and tbe 21st day of September, 1909, both dates inclusive, said M. issued checks upon said banks, payable to tbe defendant herein, tbe First National Bank of Buffalo, North Dakota, in tbe aggregate sum ■f $2,564.22.
“Tbat said checks were signed in tbe name of Cass county, North Dakota, and were issued and delivered by said M. and received by defendant in payment of tbe individual obligation of said M., and tbat defendant knew, or ought to have known, tbat tbe funds on wbicb tbe same were drawn, were tbe moneys of tbe said Cass county, and not tbe moneys of said M. Tbat defendant collected tbe respective amounts for wbicb said checks were drawn, from tbe funds of said Cass county standing to tbe credit of said Cass county in sucb banks, with a knowledge aforesaid, and now bolds and retains said sum of $2,564.22 to and for tbe use and benefit of tbe plaintiff herein, tbe said sum being a part of tbe amount for which judgment was recovered by said Cass county and paid by tbis plaintiff.” Then follows an itemized statement of tbe checks, twenty-six in number, and tbe banks on which they were drawn, with tbe date of payment, and a demand for judgment.
To tbis complaint tbe defendant demurred upon tbe ground tbat tbe complaint does not state facts sufficient to constitute a cause of action. Tbis demurrer being overruled, tbe defendant has appealed to tbis court, and argues tbe following objections to tbe complaint, to wit: *79First, that the judgment obtained by Cass county against the surety company is not binding upon the defendant bank; second, that the complaint fails to show that the defalcation was caused by the payments made by the treasurer to defendant; third, that the complaint fails to allege that said payments were unlawful; fourth, that the surety company should have compelled Cass county to proceed against this defendant, before making good the defalcation; and, fifth, that the complaint states no knowledge upon the part of the defendant bank, excepting that the checks were signed by Cass county, which fact they contend is insufficient to charge defendant with knowledge of the unlawful use of such funds. "We will take up and dispose of these propositions in the order named. It is, of course, well settled in this state that a complaint will be given a liberal construction when attacked by demurrer. See § 6869, Rev. Codes 1905 ; Weber v. Lewis, 19 N. D. 473, 34 L.R.A. (N.S.) 364, 126 N. W. 105. However, said rule has never extended so far as to supply any material allegation that may be omitted from the complaint.
(1) The defendant cites many cases, holding that a judgment recovered against a.principal upon a bond is not conclusive against the surety who has not been joined in the suit. We agree fully with the said authorities, but do not believe that they apply in this case. The complaint above set forth is not a model by any means, but we think liberal construction shows that the pleader intended to plead a shortage occurring between April 10, 1907, and September 21, 1909, during which time the treasurer gave twenty-six checks upon the Cass county fund, to defendant in payment of his personal indebtedness. It is hard to see how the defendant could use this money of the county to pay his personal debt to defendant, without creating a shortage. It is further alleged in the complaint that judgment "was recovered against the surety company for the said sums, “the said sum being a part of the amount for which judgment was recovered by said Cass county and paid by this plaintiff.” The plaintiff, having in this rather crude manner alleged a shortage, will be obliged to substantiate those facts with proof upon the trial. We do not understand that he intends to supply this proof by offering the judgment obtained by. Cass county against itself, the surety company. Those parts of the complaint which set forth that the treasurer was short in his accounts, and that Cass county obtained *80judgment for such shortage against the surety company, are, we think, pleaded to show the right of this plaintiff to be subrogated to the rights of Cass county. The defendant is not estopped to deny the shortage of the treasurer in'this action, because such shortage was determined in the prior action. This disposes of defendant’s contention that he will not be allowed to litigate this question.
(2) Taking up the second proposition, that the complaint does not allege that the shortage was occasioned by the wrongful payments made by the treasurer to the defendant, we have much the same answer to make as in paragraph one. The language, “that on said 2d day of January, 1911, the said M. was short in his accounts,” was used in connection with the bringing of the suit against the surety company, and not in alleging the shortage. The allegations that twenty-six checks, aggregating $2,564.22 of the moneys of Cass county, were paid to the defendant in the years 1907, 8, 9, and that said payments were received by defendant in payment of the individual debt of the treasurer, and that the defendant knew, or ought to have known, that the money belonged to Cass county, are sufficient to apprise the defendant of the nature of the claim against them, and sufficient to support the complaint against said attack.
(3) The third objection is that the complaint does not allege that the payments were unlawfully made. Defendants, in their brief, say that it is a fair presumption that the county treasurer paid out no money, excepting upon warrants duly signed and delivered to him. Conceding this, we think that said presumption is negatived by the allegation that the checks were signed in the name of Cass county, and were delivered and received in payment of the individual debt of the treasurer, with the knowledge of defendant.
(4) Defendant contends that Cass county should have proceeded against the bank of Buffalo, and recovered this amount, before bringing suit against the surety, and refers us to § 6107, Bev. Codes 1905. We do not believe there is any merit in this contention. Cass county might have so proceeded, but was under no obligation so to do. Section 6107 merely says that a surety may require his creditors to pursue other remedies. Section 6110, Bev. Codes 1905, reads as follows: “A surety, upon satisfying the obligations of the principal, is entitled to enforce every remedy which the creditor then has against the principal, to the *81extent of reimbursing what he has expended . . . See also 37 Cyc. 415; National Surety Co. v. State Sav. Bank, 14 L.R.A. (N.S.) 155, 84 C. C. A. 187, 156 Fed. 21 ; 13 Ann. Cas. 421 ; Brandt, Suretyship, §§ 351 — 353 ; American Bonding Co. v. National Mechanics’ Bank, 99 Am. St. Rep. 466, and note ; Nelson v. Webster, 72 Neb. 332, 68 L.R.A. 513, 117 Am. St. Rep. 799, 100 N. W. 411. We think the bond company was subrogated to every right that Cass county had to bring this suit.
(5) Defendant contends that the mere.fact that the twenty-six checks received by it were signed in the name of Cass county is not sufficient to apprise it of the fact that the money actually belonged to Cass county, and not to M., the treasurer. This matter is fully discussed in a note in 14 L.R.A. 234, in the leading case of Gerard v. McCormick, 130 N. Y. 261, 29 N. E. 115 ; 7 Century Dig. § 844 ; 40 Century Dig. §§ 501, 550. In the New York case, supra, a check signed “Wm. Boswell, Agt. Glass Building,” was sufficient to apprise the payee of the check that he was receiving trust funds. The facts in this case are much stronger. Here there were twenty-six separate checks, all signed in the name of Cass county, and there is no escaping the presumption that the bank knew that it was receiving Cass county’s money unlawfully.
Having disposed of all of the objections to the complaint, it follows that the order of the trial court, overruling the demurrer, must be affirmed.