It is provided in the Pub. Sts. c. 157, § 26, that “if the debtor is liable for any debt in consequence of . . . the payment of any sum by a surety of the debtor in any contract, if the payment is made before the making of the first dividend, such debt may be proved and allowed as if it had been due and payable by the debtor before the first publication.” Under § 129 of the same chapter, such claims may be proved against an insolvent corporation before the making of the last .dividend. The language of the above sections is broad enough to embrace the claims of these sureties. The bond which they signed as sureties was certainly a contract; and they became sureties of the insolvent corporation in a contract. They are within the equity which the above sections were intended to protect, and there is no good reason for seeking a narrow construction which would exclude them. Fairbanks v. Lambert, 137 Mass. 373.
The claim to prove the amounts paid for costs as privileged debts must be disallowed. Under § 139 of the chapter above referred to, when an attachment on mesne process “ has been *598dissolved by bond given by the defendant, if the claim upon which the suit was commenced is proved against the estate of the debtor, the plaintiff may also prove the legal fees, costs, and expenses of the suit, and of the custody of the property, and the amount thereof shall be a privileged debt.” Section 104 of the same chapter declares the order in which privileged debts shall be paid, placing fifth, “ Legal fees, costs, and expenses of suit, and for the custody of the property proved as preferred under section one hundred and thirty-nine.” The plaintiff in the suit could not prove the claim for costs, because the claim upon which the suit was commenced was not proved, and could not be, since it was merged in the judgment. Sampson v. Clark, 2 Cush. 173. Wyman v. Fabens, 111 Mass. 77, 80. The right to prove costs as a privileged debt is fixed and limited by § 139, and this right is not enlarged by § 104, cl. 5. The sureties can only prove the amounts paid for costs as ordinary debts.
The question is not presented in these cases whether the Court of Insolvency in its discretion had authority to order the assignees to defray the costs as expenses properly incurred for the benefit of the estate. Abbott v. Stearns, 139 Mass. 168. The question here is as to the legal right, of the sureties to prove the amounts paid by them for costs as privileged claims. With the exception that the costs paid by the surety in the first case are not to be allowed as preferred, the entries must be,
Judgments affirmed.