R. M. Henningsen and Edward W. Clive, as copartners, in May, 1903, contracted with the United States for the construction of certain buildings at Fort Lawton, in the state of Washington, and entered into a bond with the United States Fidelity & Guaranty Company of Baltimore ( hereinafter called the guaranty company (as surety in the penal sum of $11, 625 for the faithful performance of the contract, and to 'promptly make full payments to all persons supplying labor or materials in the prosecution of the work provided for in said contract.' The buildings were constructed in accordance with the terms of the contract, but the contractors failed to pay certain just and lawful claims for labor and materials, amounting in the aggregate to $15,409.04. After such default the guaranty company instituted a suit in the United States circuit court for the district of Washington, in which it made the contractors and all persons to whom they were indebted for labor and materials defendants, confessing its own liability to the full amount of the bond. A decree was entered, adjudging the [208 U.S. 404, 405] company liable to such creditors of the contractors in the full sum of the bond,-$11,625,-and awarding payment to such creditors pro rata. It also adjudged that, upon such payment, the liability of the company upon the bond should be discharged. On March 16, 1904, pending the performance of the contract, the contractor, or rather Henningsen alone, for Clive had ceased to have any connection with the performance of the contract, made a written assignment of all payments which were then due, or might thereafter become due on account of the contract, to R. R. Spencer, in trust for the National Bank of Commerce of Seattle, to secure payment of a loan made by the bank to the contractors, October 10, 1903, of $3,500, and also subsequent loans, and, at the same time, gave as further security an order addressed to the United States quartermaster, requesting him to deliver to said Spencer all checks of the government on account of said contract. The moneys so loaned were paid directly by the bank to Henningsen, and handled and disbursed by him, without any supervision or control upon the part of the bank or Spencer. This suit was commenced by the guaranty company by a bill in the circuit court of the United States for the district of Washington to restrain the appellants from collecting or accepting the balance due on the contract from the United States. It appeared at the time of the commencement of the suit that there was in the hands of the quartermaster, due upon the contract, the sum of $13,066, which he was about to pay to Spencer under the assignment and order. On June 17, 1904, an arrangement was made between the parties, by which the sum of $8,024.21 was paid to certain creditors, and the balance, $5,041.79, was applied in conditional payment of the indebtedness of the contractors to the bank, with a stipulation that, if it should be finally determined that the guaranty company was entitled to receive it, then the bank should pay it to the guaranty company. This suit proceeded to a decree in favor of the guaranty company for $5,041.79, which decree was affirmed by the circuit court of appeals. February 12, 1906; 74 C. C. A. 484, 143 Fed. 810. [208 U.S. 404, 406] The bond of the guaranty company was given under the requirements of the act of Congress of August 13, 1894 (28 Stat. at L. 278, chap. 280, U. S. Comp. Stat. 1901, p. 2523), which reads:
Messrs. George E. De Steiguer and W. W. Wilshire for appellants.
[208 U.S. 404, 408] Messrs. James B. Murphy, Harold Preston, Carroll B. Graves, and Edward B. Palmer for appellees.
Mr. Justice Brewer delivered the opinion of the court:
A motion is made to dismiss on the ground that the jurisdiction of the circuit court was invoked solely on the ground of the diversity of citizenship of the parties, and hence the decree of the circuit court of appeals was final. The motion must be overruled. Diversity of citizenship was, it is true, alleged in the bills, but grounds of suit and relief were also based on the statutes of the United States, as from the discussion of the merits will be seen. Those statutes entered as elements into the decision of the circuit court of appeals, and were necessary elements. Howard v. United States, 184 U.S. 676 , 46 L. ed. 754, 22 Sup. Ct. Rep. 543; Warner v. Searle & H. Co. 191 U.S. 195, 205 , 48 S. L. ed. 145, 147, 24 Sup. Ct. Rep. 79.
Passing to the merits of the case, the question turns upon the respective equities of the parties. Appellants concede that the bank was not, by the making of the loans to Henningsen, entitled to subrogation to the rights, if any, of the United [208 U.S. 404, 410] States or the laborers or materialmen, and also that, if the guaranty company is entitled to subrogation to any right of the United States government arising through the building contract, the bank can make no claim by reason of the assignment.
Henningsen (for we may leave Clive out of consideration) entered into a contract with the United States to construct buildings. The guaranty company was surety on that contract. Its stipulation was not merely that the contractor should construct the buildings, but that he should pay promptly and in full all persons supplying labor and material in the prosecution of the work contracted for. He did not make this payment, and the guaranty company, as surety, was compelled to and did make the payment. Is its equity superior to that of one who simply loaned money to the contractor, to be by him used as he saw fit, either in the performance of his building contract or in any other way? We think it is. It paid the laborers and materialmen, and thus released the contractor from his obligations to them, and to the same extent released the government from all equitable obligations to see that the laborers and supplymen were paid. It did this not as a volunteer, but by reason of contract obligations entered into before the commencement of the work. Prairie State Nat. Bank v. United States, 164 U.S. 227 , 41 L. ed. 412, 17 Sup. Ct. Rep. 142, is in point. In that case Sundberg & Company, in 1888, contracted with the government to build a customhouse at Galveston. Hitchcock was surety on that contract. On February 3, 1890, in consideration of advances made and to be made by the Prairie Bank, Sundberg & Company gave a power of attorney to a representative of the bank to receive from the United States the final payment under the contract. In May, 1890, Sundberg & Company defaulted in the performance of this contract and Hitchcock, as surety, without any knowledge of the alleged rights of the bank, assumed the completion of the contract and disbursed therein about $15,000 in excess of the current payments from the govenment. In a contest between Hitchcock and the Prairie Bank it was held that Hitchcock had the superior euqity, and the judgment of the court of claims in his favor [208 U.S. 404, 411] for the amount still due from the government was affirmed. The bank loaned to Sundberg & Company about $6,000 prior to the time that they defaulted in the performance of their contract, and prior to any action by Hitchcock in completing the contract or in paying out money, so that the bank actually parted with $6,000 of its money before Hitchcock parted with any of his. It was held that Hitchcock's equity commenced with his obligation ligation in 1888 to see that Sundberg & Company duly performed their contract with the government. Mr. Justice White, delivering the opinion of the court, reviewed the authorities at length and discussed the question fully. He said (p. 232):
It seems unnecessary to again review the authorities. It is sufficient to say that we agree with the views of the circuit court of appeals, expressed in its opinion, in the present case:
The decree of the Circuit Court of Appeals is affirmed.