¶1There is one irregularity in the proceedings of the marshal, which, though not made subject of complaint, nor remark at the argument, it may be proper to notice. The brig, in this case, was sold on a credit. The precept under which he sells, precludes the idea of credit, for it directs him to pay the proceeds into the court within ten days after the sale. In the present instance, as the agent of the li-bellant, and the claimant and owner were both present at the sale, and assented to the credit, the claimant, in fact, being the purchaser, it does not now lie with them to make the objection, though it necessarily prevented the marshal from complying strictly with the terms of the precept. The term of credit having expired, the counsel for the libellant now moves for a rule on the marshal to pay the money into the registry. The marshal, in his answer, states that part of the proceeds had been paid to the proctor of the libellant; that the fees due to the clerk had been heretofore paid into the registry; that §181.75 he paid at the time of the sale to Charles S. Abbot, the keeper, for wharf-age, storage. &c., by deducting that sum from the amount of sales. It is not understood that the libellant requires the payment into the registry of the part which has been paid *425to his proctor, and the amount dbe to the clerk for fees has been already paid over. The motion I understand as calling for the residue, that is. the sum paid to Abbot, and what the marshal has retained as his own proper fees. It is not apparent what interest the libellant has in having paid into the registry the proper legal fees of the marshal, but as a question of practice it may be proper to consider it. There is no more doubt of the marshal’s right to charge the expenses of custody on the proceeds of the sale, than there is of his right to his legal fees for the service of the precept. He is personally responsible for the safe-keeping of the property from the time of seizure to the sale. If he holds the possession by a keeper, as he ordinarily must do, he- has an unquestionable right to have this expense charged on the property. The question now raised is, whether he is authorized to adjust and pay such charges, and deduct them from the proceeds, before they are paid into the registry; or whether the whole proceeds of the sale are first to be paid in, and these, as well as other charges, are to be submitted to the court, and not paid until they are allowed and ordered to be paid by the court. The terms of the precept seem to furnish a conclusive answer to this question. They are, that, “the moneys arising from said sale, after deducting the proper charges attending the same, you will pay into the registry of our said district court, within ten days thereafter.” That is, the gross proceeds are to be paid into the registry, deducting only the proper charges of the sale itself.
¶2The ninetieth section of the act of March tid
¶3But there may be a variety of claims against the thing sold, standing in different degrees of privilege. Suppose as in the present case it be a vessel. There may be seamen’s wages, bottomry bonds, and claims of material-men for supplies, all being privileged debts, and all the creditors having a right to look to the ship for their pay, and after she is sold, having the same right to look to the proceeds in the registry. It is the familiar and daily practice of the admiralty to entertain petitions against the proceeds in *426the registry, in favor of creditors having a privilege against the vessel. The proceeds of the sale are as much pledged to them as the vessel herself. The court having possession of the pledge, which it has from the time it is arrested under its process, it necessarily becomes a duty to preserve it for all who have an interest in it, or claims upon it. If it allowed claims to be interposed and paid before the legal right of the claimant was established, it would be nothing else than allowing a man’s property to be taken from him without his consent, and without judgment of law. When the property is sold, therefore, the whole proceeds of the sale are brought into court, and every person claiming a right to them, whether by way of lien or otherwise, must make his claim there. All having liens on the property, or a right in the proceeds, may intervene for their own interest, and make themselves parties to the cause, as well after as before the sale; and when parties, they are so not only for the purpose of enforcing their own rights, but of contesting the claims of others interfering with their own. The officer who executes the precept for the sale, has no more authority to settle and pay one claim than another; he has no more authority to allow and pay any of the expenses which have accrued in the prosecution, than he has any other privileged debt. The liens created by law in favor of these debts, do not differ from any other liens, except in the rank of their privilege. These, like all others, can only be allowed and established by virtue of a judgment of the court.
¶4But it is argued that the principal items from which a deduction was made, and to which the main objection is made, that is, the wharfage, storage, &c., are privileged debts, constituting a lien on the property, and that the owner of the wharf and store liad a right to detain the vessel until they were paid. It was under this idea that the marshal paid the demand, by deducting the sum from the amount of the sale. I admit the law that the owner of a wharf has generally a lien on a vessel for the wharfage, but I do not admit that he has, in a case of this kind, such a lien as authorizes him to detain the vessel for his pay. The right of detention is founded on possession, and necessarily supposes that the person having such right has the possession, or at least, the quasi possession of the thing. 1 Story, Eq. Jur. p. 483, noie 500. But in this case, after thevesselwas arrested on process from the court, she was in the custody of the law, and subject to the order of the court, and continued to be so until she was sold. It cannot be admitted that the wharfinger, by permitting her to lie at his wharf, withdrew her from the custody of the law or the possession of the court. His lien for wharfage, admitting it to exist, was not one which could be enforced by a detention of the vessel, but only by an application to the court, and that not in exclusion, but in concurrence with other liens standing in the same degree of privilege. Nor is there any hardship in qualifying his lien in this way. She was under arrest on legal process, and he must be presumed to know, for no one can plead ignorance of the law, that his claim for wharfage, like all other claims against the vessel, must be presented to the court for allowance before it could be paid.
¶5It is further said that the charge in this case is reasonable and moderate, and that if the money were paid into the registry, the court would immediately order it to be paid out again on the same charge. The answer is, that the court had no opportunity of informing itself whether it be reasonable and moderate or not; and it will not be questioned, it being a charge on the property which accrued in the prosecution of the suit and while it was in the custody of the law, that it is peculiarly the duty of the court to-be satisfied that it is reasonable and proper to be paid, before the claim is allowed. In-the mean time, the libellant demands that the money be paid into the registry according to the direction of the precept, and it cannot have escaped the counsel on the other side that he intends to contest this very item, and demand the judgment of the court whether the charge, under all the circumstances, is reasonable and proper to be allowed. My opinion is, that a rule must pass for the marshal to pay the money into court.
¶6It appears from the marshal’s answer that.. In point of fact, the money has never been paid by the purchaser. It was deducted from the amount of the sale, and though nominally it was for the keeper, yet by far the largest part is for the benefit of the purchaser, who was also the owner. The vesser lay at his wharf, and the rigging was kept in his store. See The Collector, 6 Wheat. [!!>■ U. S.] 194.