delivered the opinion of the Court.
The respondent, a surety company, as surety, and the First National Bank of Harrison, Nebraska, a designated depository for county funds, as principal, gave their bond to Sioux County, Nebraska, the petitioner, in the sum of $30,000. The bond,* required by statute, was conditioned on the payment by the bank, on the order of the county treasurer, of all sums of money deposited with it by the county. The bank became insolvent and closed its doors when the county deposits amounted to $35,395.70. The present suit was brought in the district court of Sioux County, Nebraska, to recover from the surety the amount of the bond and a reasonable attorney’s fee, under Neb. Comp. Stat. (1922) § 7811, and was removed to the United States district court for diversity'of citizenship.
The authorized capital of the bank was $50,000, and the defense relied upon by the surety was a provision of Neb. Comp. Stat. (1922) § 6193, which forbade the deposit of county funds by county treasurers in excess of fifty per cent, of the authorized capital of the depository. The district court gave judgment for the full amount of the bond and for an attorney’s fee of $3,000. The Court, of Appeals for the eighth circuit reversed the judgment, disallowing the attorney’s fee and any recovery on the bond
*240
in excess of $25,000, which was one-half of the authorized capital of tho bank.
National Surety Co. v. Lyons,
16 Fed. (2d) 688. This Court granted certiorari.
The Court of Appeals took the view that the Nebraska statute, printed in the margin,
1
as construed by the Supreme Court of Nebraska, operated to limit the liability on the statutory surety bond to one-half of the authorized capital of the depository.
Cole
v.
Myers,
The correctness of this interpretation of the Nebraska decisions is questioned here, but all doubts on that point have been set at rest by a later decision of the state court. In
Scotts Bluff County
v.
First Nat. Bank,
We accept this construction of the statute and accordingly set aside the conflicting interpretation of the court below, even though it antedated the determination by the state court.
Hines Yellow Pine Trustees
v.
Martin,
In striking down so much of the judgment as allowed an attorney’s fee the court below was persuaded that § 7811, which provides for an attorney’s fee, authorized it only as costs to be taxed in the state court. As costs in the federal courts are regulated exclusively by R. S. §§ 823 apd 824, the court concluded that other costs, authorized only by a state statute, could not be included in the judgment.
See United States
v.
Sanborn,
Both in an earlier case,
Globe Indemnity Co.
v.
SulphoSaline Bath Co.,
State statutes allowing the recovery of attorneys’ fees in special classes of actions have been upheld as constitutional by this Court,
Farmers’ & Merchants’ Insurance Co.
v.
Dobney,
In these cases the local statutes were in effect treated as creating a statutory liability in which insurers, by accepting risks after their enactment, had acquiesced, and for the liability thus assumed a remedy was available in the federal as well as in the state courts. Fidelity Mutual Life Ass’n v. Mettler, supra, at 326.
The present statute, printed in the margin, 2 provides that in the cases specified the court “ shall allow the plaintiff a reasonable sum as an attorney’s fee in addition to the amount of his recovery, to be taxed as a part of the costs.” The direction that the added liability be included in the judgment as costs does no more in substance than the provision upheld and applied in the Mettler case, that the insurance company “ shall be liable to pay ... all reasonable attorney’s fees” or the provision upheld and applied in Home Life Insurance Co. v. Fisher, supra, that the attorneys’ fees should be added to the judgment.
Such doubt as there may be as to the meaning and effect of the statute arises from certain decisions of the Supreme
*243
Court of Nebraska enforcing it in suits upon insurance contracts entered into before its enactment, in which the statute, attacked as impairing the obligation of the contract, was characterized as “ remedial ” or as a “ costs ” statute.
Nye-Schneider-Fowler Co.
v.
Bridges, Hoye & Co.,
“ If the question that we are considering was now presented for the first time, we would hesitate to say that this statute does not create and add to the contract a legal liability which would not exist under the contract prior to the enactment of this statute. The fact that the attorney’s fee is to be taxed as costs in the case is not of itself decisive of the question.”
But the question before the Nebraska court in the cases cited was not that with which we are now concerned. Whether this liability for an attorney’s fee, assumed by entering into an insurance contract after the enactment of the statute providing for the liability, may be enforced in the federal courts does not depend on any nice distinctions which may be taken between the right created and the remedy given. Disregarding mere matters of form it is clear that it is the policy of the state to allow plaintiffs to recover an attorney’s fee in certain cases, and it has made that policy effective by making the allowance of the fee mandatory on its courts in those cases. It would be at least anomalous if this policy could be thwarted and the right so plainly given destroyed by removal of the cause to the federal courts.
That the statute directs the allowance, which is made to plaintiff, to be added to the judgment as costs are added does not make it costs in the ordinary sense of the traditional, arbitrary and small fees of court officers, attorneys’ *244 docket fees and the like, allowed to counsel by R. S. §§ 823, 824.
The present allowance, since it is not costs in the ordinary sense, is not within the field of costs legislation covered by R. S. §§ 823, 824. That the particular mode of enforcing the right provided by the state statute — i. e., by taxing the allowance as costs — is not available to the federal courts under R. S. §§ 823, 824 does not preclude the recovery. Since the right exists the federal courts may follow their own appropriate procedure for its enforcement by including the amount of the fee in the judgment. R. S. § 914. Compare
Mexican Central Ry.
v.
Pinkney,
It is said that the fee customarily allowed in Nebraska is not less than 10% of the amount involved,
O’Shea
v.
North American Hotel Co.,
Reversed.
Notes
Neb. Comp. Stat. (1922) § 6193, "... The treasurer shall not have on deposit in any bank at any time more than the maximum amount of the bond given by said bank in cases where the bank gives a guaranty bond, nor in any bank giving a personal bond more than one-half of the amount of the bond of such bank, and the amount so bn deposit at any time with any such bank shall not in either case exceed fifty per cent, of the paid up capital stock of such bank. . . .”
Neb. Comp. Stat. (1922) § 7811. “In all cases where the beneficiary, or other person entitled thereto, brings an action at law upon any policy of life, accident, liability, sickness, guaranty, fidelity or other insurance of a similar nature, or upon any certificate issued by a fraternal beneficiary association, against any company, person or association doing business in this state, the court, upon rendering judgment against such company, person or association, shall allow the plaintiff a reasonable sum as an attorney’s fee in addition to the amount of his recovery, to be taxed as part of the costs, and if such cause is appealed the appellate court shall likewise allow a reasonable sum as an attorney’s fee for the appellate proceedings.”
