There is no doubt of the validity of this bond, although it includes the personal liability of the master. It is made payable only after the arrival of the vessel, and it therefore assumes the risk of the safety of the vessel, before the bond is payable. (Abbott on Shipping, p. 156, and cases there cited.)
The master also is personally liable on this bond for the debt incurred, but not unless the vessel arrives. There are cases expressing,doubts as to the personal liability, but such cases are where the master has attempted to bind the owners, and not himself. He might also have bound the freight, as well as the vessel, in the bond, and made it liable in that way. (The Zephyr, 3 Mason, 34. The Packet, Id. 255. 3 Bob. Ad. 240. 4 id. 245.) Hot having done so in the bond, such bond created no lien on the freight, directly, though some cases have held the freight liable, where the bond was on the vessel and cargo, omitting the freight. In such a case Lord Stowell required the freight to be paid over to the creditor before the cargo was resorted to. (The Dowthorpe, 7 Jur. 609. See also Leslie v. Guthrie, 1 Scott, 683.)
The application for the injunction in this case was based upon the alleged lien which the captain had for advances obtained in a foreign port, and for liabilities incurred by him. for the repairs and supplies of the vessel. There are several cases sustaining this position. In White v. Baring, (4 Esp. 22,) it was held that the master of the ship had a lien upon the goods'and freight for debts which he had contracted on account of the ship, and that the consignee of the cargo could not pay the freight to a ship owner after notice ; and if he did he would be liable to the master to the extent of those debts. This was doubted in Smith v. Plummer, (1 B. & Al. 575.) It was however adopted in Lewis v. Hancock, (11 Mass. Rep. 72,) and the greater part of the American cases adopt the same rule.
In this court, in Ingersoll v. Van Bokkelin, (7 Cowen, 670,) it was expressly held that the master had a lien on the *271cargo and freight coextensive with the advances made or liabilities incurred by him for the use of the ship, and that it is not necessary that he should have actually paid such liabilities. And in the same case in 5 Wend. 315, the Court of Errors affirmed the right of the captain to such lien, approving of the case in 4 Esp. 22.
The remaining question is whether the plaintiffs have a right to the security which the captain has to enforce the payment of the moneys due them, on proof of the doubtful credit and responsibility of the master.
This principle has been sustained in a variety of cases, upon the broad ground that where a person standing in the situation of suréty is provided by the principal debtor with a collateral security for the debt, the creditor is in equity entitled to have it applied in satisfaction of the debt. (Pratt v. Adams, 7 Paige, 615. Clark v. Ely, 2 Sandf. Ch. 166. 3 id. 428.) In Vail & Vail v. Foster et al. (4 Comst. 312,) the Court of Appeals decided that a creditor is in equity entitled to the benefit of any collateral securities, which the principal debtor has given to the surety, or person standing in the situation of surety, for his indemnity. The same principle is applicable to this case. The master is liable not as the principal debtor, but for a debt incurred by him for the benefit of the owners. He stands therefore in the same situation as the surety, and as such the law gives him a lien for his protection on the freight of the vessel. The object of this lien is to secure to the master the expenditures made and the liabilities incurred by him in a foreign port; and when it appears that the vessel is not of sufficient value to secure the debt and the master is not responsible, I see no reason why, under these decisions, the creditor is not entitled to have this lien enforced for the payment of the debt of the master, for such repairs. If the master permits the freight to be paid to the owners, his lien ceases, and the same rule, I conclude, would apply to a creditor. Unless therefore he can stay the payment of them, he *272would lose any right he may have to have such lien enforced for his benefit. (Dorley v. Brewer, 1 Daly, 79.)
I think therefore the order dissolving the injunction was erroneous and should be reversed, and the injunction restored, with $10 costs of the motion to dissolve, and $10 costs of the appeal.
Leonard, J. concurred.