Did the circuit court have jurisdiction of this cause ?
Section 3198, Revised Statutes, is as follows: “Hotel, inn and boarding house keepers shall have a lien upon the baggage and other valuables of their .•guests or boarders brought into such hotel, inn or boarding house by such guests or boarders, and upon the wages of such guests or boarders, for their proper •charges, due from such guests or boarders for their .accommodation, boarding and lodging, and such extras .as are furnished at their request.”
The lien in this case did not exist at common law it was created by said statute. This is conceded. It is true, because at common law an inn-keeper had a lien upon the goods of guests only, and not upon the goods of persons boarding with such inn-keepers under a special contract. Hursh r. Byers, 29 Mo. 469.
By section 3199, it is provided that “the lien provided for in the preceding section shall be enforced as provided in section 3197.” The last named section provides that the lien shall be enforced by suit before a justice of the peace of the ward, district or township in which the claimant resides, in the manner provided by said section. The claimant must.file with the justice a statement setting forth his account. And it is provided by said section that “when the defendant shall have *260been summoned or notified as aforesaid, the cause shall on the day fixed for trial be tried as an ordinary case in a justice’s court. If the judgment be for the plaintiff the justice shall order the property upon which the lien shall have been found to exist to be sold to satisfy the same.”
The plaintiff’s right to the lien in this case existed from the time he furnished the boarding, lodging, etc. to the defendant Acheson, and in that sense the lien may be said to have existed from that time. But in fact the lien depends upon the existence of an indebtedness due from the defendant, Acheson, to the plaintiff for said boarding, lodging, etc. Unless such indebtedness exists the lien does not exist. It is necessary to establish such indebtedness in order to establish the lien. The lien as an inchoate and uncertain right does exist before the establishment of the indebtedness, but the lien as a certain and complete right cannot exist before the indebtedness is established. Hence it is, that the statute provides that the person claiming the lien must file his account, and that if the judgment be for such person, the justice shall order the property on which the lien shall have been found to exist to be sold to satisfy the same. Before the judgment thus rendered the lien cannot be said to have had an actual existence. By such judgment the lien is for the first time fixed and established.
A judgment declaring the indebtedness and establishing the lien could be rendered only by a justice of the peace of the ward, district or township in which the plaintiff resided.
The rule is, where the statute creates a right that did not exist before and provides a remedy for the enforcement of it, that remedy must be pursued. Moore v. White, 45 Mo. 206 ; State v. Bittinger, 55 Mo. 596; Lindell's Adm’r v. Railroad, 36 Mo. 543 ; Stafford v. Ingersoll, 3 Hill 41. To the rule there may be this exception, that, if the remedy given by the statute be *261not adequate, the remedy thus given is not exclusive. Johnson v. Louisville, 11 Ky. 533.
The principle upon which this rule is based has been thus applied. It has been laid down that courts of equity “have no power to enforce this statutory lien (a mechanic’s lien), unless expressly conferred by law or unless, perhaps, there exists some impediment or difficulty which would render the remedy given by the statute unavailable.” Phillips on Mechanic’s Lien, sect. 2. And it has been said “ whenever a legal rightis wholly created by 'statute and a legal remedy for its violation is also given by the statute, a court of equity has no authority to interfere with its reliefs, even though the statutory remedy (is difficult, uncertain and incomplete.” 1 Pomeroy’s Eq. Jur., sect. 281.
In this case the lien was purely the creature of the statute. A complete and adequate remedy was provided by the statute for its enforcement, and that remedy was exclusive. The circuit court had no jurisdiction of this case as a court of equity or otherwise.
In certain cases a court of equity has jurisdiction, where there is a conflict of claims upon the property by reason of various liens, in order to determine the rights of the respective claimants, and in such cases the court having jurisdiction for that purpose would retain jurisdiction and order the enforcement of the liens in accordance with the adjudged priority of them, and would not turn the parties out of court to pursue their remedies at law. The court of equity having jurisdiction of a part of the case, would have the jurisdiction and power to do •complete justice between all the parties. Paris v. Haley, 61 Mo. 453; Cathcart v. Robinson, 5 Pet. 263. But this principle does not confer jurisdiction of this case upon the circuit court, because the justice of the peace, who alone had jurisdiction so to do, had not . established the lien, and until the lien had been thus established no court had the power to enforce it. The principle invoked would, in the proper case, authorize *262a court- of equity to enforce a legal statutory lien already established, but it would not authorize such court to establish it. Had the plaintiff obtained in the justice’s-court a judgment establishing his lien, the circuit court as a court of equity "would have had jurisdiction of a suit brought by the plaintiff to settle the conflict between his claim on the property, based on the lien thus established, and the claims of the mortgagees founded upon their mortgages, and the court having jurisdiction for that purpose would have had power to have enforced the plaintiff’s lien in the manner deemed just and right by it.,
Our opinion on this question .and our remarks touching it are to be understood as applying to only such a • case as this, where the court, having jurisdiction to adjudge the lien and the court of equity are entirely distinct and separate, and not to a case where the court possessing the jurisdiction named has anf. equity side to it.
The circuit court had no jurisdiction of this case, and we do not, for that reason, determine the other question argued in this case.
The judgment is reversed and the petition dismissed.
All concur.