delivered the opinion of the Court.
This is a proceeding in equity to enforce a mechanics’ lien for materials furnished by the appellant to one Robert V. Saylor, a contractor, to build four houses for the appellee at the corner of Bond street and Fairmount avenue, in the city of Baltimore. The notice required by the 1 ith section of Code, Article 6j, was given on the eleventh day of December, 1896, within sixty days after the time of the last delivery, on the. 13th of October, 1896. On the 18th February following the appellant filed his claim in the office of the Clerk of the Superior Court, and on the same day began these proceedings to enforce the lien. While this suit was pending, and before a hearing was reached, the Act of i8p8, chap. 502, was passed, by which all the sections in Article 6j of the Code which provide for a lien for materials furnished for the construction of buildings were repealed, so far as the same were applicable to Baltimore City, and reenacted so as to provide only for liens for the payment of debts contracted for work. The effect of this statute upon the case at bar is the first matter for our consideration. Must it be construed so as to destroy the appellant’s lien ? *5and if so, is it invalid in respect to all liens existing and valid at the date of its passage, as being a law impairing the obligation of contracts, and within the inhibition of the Constitution of the United States, Article i, sec. io, which declares that “ No State shall pass any law impairing the obligations of contracts.”
There can be no serious doubt about the first question. In Dashiel v. M. & C. C. of Baltimore, 45 Md. 622, this Court citing from Tindal, C. J., said: “The effect of repealing a statute is to obliterate it as completely from the records of Parliament as if it had never passed, and it must be considered as a law that never existed, except for the purpose of those actions or suits which were commenced, prosecuted and concluded whilst it was an existing law.” And in Weiskittle v. State, 58 Md. 158, “ where a revising statute or one enacted for another, omits provisions contained in the original Act, the parts omitted cannot be kept in force by construction, but are annulled.” In the Act of 1898, there are no saving clauses in favor of liens for materials, then existing, and all the provisions allowing such liens are entirely omitted. All such liens, therefore, are obliterated from the laws of the State as completely as if they had never existed, except for the purpose of suits “ which were commenced, prosecuted and concluded whilst it was existing law. ”
As to the second question there is more difficulty. The contention of the appellant is that at the time the Act of 1898 was passed he had a legal vested light to pursue his lien against the buildings for which the materials were furnished, and that it was not within the power of the State to deprive him of that right. The decisions throughout the country are very conflicting. In some of the States it has been held that a mechanics’ lien is a vested right, of which the lienor cannot be divested by repealing the statute under which the right accrued, while in other States it is regarded merely as an extraordinary remedy, which can be changed from time to time or discontinued according to the will of *6the Legislature. The former view has been maintained by the Appellate Courts in the following States, viz: Minnesota, Tell v. Woodruff, 45 Minn. 10; Wisconsin, Streubel v. R. R. Co., 12 Wis. 71; North Carolina, Warren v. Woodard, 70 N. C. 382; Kansas, Weaver v. Sells, 10 Kansas, 619; Texas, Blanton v. Langston, 60 Texas, 149; Indiana, Goodbub v. The Estate of Hornung, 127 Ind. 181; and Oregon, Steamer Gazelle v. Lake, 1 Oregon, 120. The reasoning upon which these decisions rest seems to be that it must be preshmed that, at the time of the agreement, the parties had in view the remedies then existing for the enforcement of the contract, that those remedies therefore became a part of the obligation, and to take them away would be a violation of the contract and impair its obligations. There are some difficulties in applying this reasoning to the case we are now dealing with. In Sodini v. Winter, 32 Md. 133, this Court said: “ This peculiar lien does not originate in contract; it is purely a creature of positive statutory enactment, to be maintained and enforced to the extent and in the mode which the statute prescribes ; ” and in a later case, Wehr v. Shryock, 55 Md. 336, this doctrine was affirmed. Nor is it an exact statement of the law that á party, as an incident of his agreement, has a right to all the remedies for the enforcement of the contract in force at the time it was entered into. A party has no right to a particular remedy. The State is no party to the contract and is bound only to afford adequate process for the enforcement of rights. “ Thus a law abolishing distress for rent has been sustained as applicable to leases in force at its passage, and it was also held that an express stipulation in the lease, that the lessor should have this remedy, would not prevent the Legislature from abolishing it, because this was a subject concerning which it was not competent for the parties to contract in such manner as to bind the hands of the State.” Cooley on Const. Lim., 288 (marg.); Conkey v. Hart, 14 N. Y. 22; Sturges v. Crowninshield, 4 Wheaton, 200; Williar v. Butchers’ Assn., 45 Md. 560. In the case last cited the Court *7said where the right of action “springs from contract or from the principles of the common law, it is not competent for the Legislature to abolish it” (p. 560.) In the leading case of Bronson v. Kinzie, 1 Howard, 315, 316, the Court said that “ undoubtedly a State may regulate at pleasure the modes of proceedings in its courts.” “ And although the new remedy may be deemed less convenient than the old one, and may in some degree render the recovery of debts more tardy and difficult, yet it will not follow that the law is unconstitutional. Whatever belongs to the remedy may be altered according to the will of the State, provided the alteration does not impair the obligation of the contract. But if that effect is produced, it is immaterial whether it is done by acting on the remedy or directly on the contract itself.” See also State, use of Isaac, v. Jones, 22 Md. 437; McCracken v. Hayward, 2 Howard, 613.
The contract under which the appellant parted with his property gave him (aside from the statute) no right to look to the buildings. The owner was not a party to it, and came under no personal obligation to pay him. His right to a lien on the buildings was not a right which sprang either from the obligation or from any of the principles or practices of the common law. It was an extraordinary remedy, the creature of “ positive statutory enactment.” When it had been discontinued by the passage of the Act of 1898 all the contractual and common law rights of the parties remained. The appellant’s right to bring his action, secure judgment and execution and make sale of Saylor’s property remained unimpaired.
In Stocking v. Hunt, 3 Denio, 276, when a lease was made there was a law conferring upon landlords the right to claim rent out of the proceeds of property seized on execution on the demised premises. Subsequently, during the pendency of the lease and after two quarters of rent had become payable, the Act was repealed. It was contended that the repealing Act, because it took away the landlord’s preference, operated to impair the obligation of *8the contract and was therefore invalid. But the Court held that the repealing statute “ did not impair the obligation to pay rent, nor in the slightest degree .interfere with it. He might still be sued; and his entire property was as much subject, to execution and sale for the payment of this rent, since the repealing Act as before ;.” that “ the Legislature was fully competent to pass the statute ;.” that “it did not touch the obligation of the contract,” and that “ the Legislature only said that this extraordinary remedy, giving a preference to a landlord over an execution creditor, was unreasonable and should be discontinued.” The case of Williar v. Butchers’ Association, which was relied upon at the hearing to support- the appellant’s case, is in line with what has just been said.. The.-appellant had paid.a mortgage debt which included usury. Subsequently he brought an action of assumpsit to recover the excess of legal interest. While the suit was pending the Legislature passed an Act which provided that no. action for usury should be brought when the evidence of indebtedness had been settled for, unless there had been a renewal in whole or in part of the original indebtedness. The question arose whether this Act, by taking away the right to recover the excess of legal interest previously enjoyed by the party, did not impair the obligation of the contract. It was contended by the appellee that the claim of the plaintiff was for the forfeiture or penalty imposed by the Code, which it was in the power of the Legislature at any time to alter or repeal. The Court said the proposition was correct, if that was the nature of the demand, for the reason that such a claim “ not resting upon or growing out of contract, but based -exclusively upon the statute,” it was within the power of the Legislature at any time to alter or repeal the statute, “ and the right to recover the forfeiture is thereby destroyed, although it may have been incurred before the statute imposing it had been repealed.” It was held, however, that such was not the nature of the demand, but that it was one where the “implied assumpsit arises at the common law,” and was therefore protected by the constitutional provision.
*9(Decided March 22nd, 1900.)
We are of opinion, therefore, on principle, that the effect of the repealing statute was not to impair any of the obligations of the appellant’s contract, though it took from him the lien theretofore given him; and that the right to a mechanics’ lien for materials furnished under the law of this State is not a vested right, but an extraordinary' remedy only, which the State may discontinue at pleasure.
These views, in accord we think with sound reasoning, are supported by decisions of the Appellate Courts in many States. We need not review them, for it may be said they all rest upon the theory that the lien given by statutes similar to the mechanics’ lien law of this State is a remedy only, and constitutes no obligation upon the owner of the buildings for which materials were furnished, except to the extent prescribed by statute. Hanes v. Wadey, 73 Mich. 178; Bangor v. Goding, 35 Me. 73; Templeton v. Horne, 82 Ill. 491; Woodbury v. Grimes, 1 Colo. 100; R. Co. v. Ah Kow, 2 Wash. Terr. 36; Evans v. Montgomery, 4 Watts & S. 218 (Pa.) See also Frost v. Illsley, 54 Me, 345; Gray v. Carleton, 35 Me. 481; Watson v. N. Y. C. R. R., 47 N. Y. 162; Bank v. Williams, 38 Fla. 305; Hall v. Bunte, 20 Ind., 304; Penniman's Case, 103 U. S. 714, 720. In Martin v. Hewitt, 44 Ala. 418, the Court said, “a lien given by legislation may be taken away without in anywise interfering with or impairing the obligation of contracts.” Copeland v. Kehoe, 67 Ala. 597. (But see Florence Gas Co. v. Hanby, 101 Ala. 15.)
It follows from what has been said that the decree must be affirmed.
Decree affirmed.