OPINION OP THE COURT'.
The facts in this case are: That on the 27th day of May, 1905, the appellant contracted with one A. L. Morgan for the erection of a building on appellant’s land by the terms of which contract Morgan was to build the building, furnish the necessary labor and materials for the sum of $10,000.00. The appellee on July *25310, 1905, entered into an oral contract with Morgan to furnish lumber and building material' for use in the construction of appellant’s building and did furnish such ’materials, which were so used, to the amount of $4,290.53 on which appellee received the sum of $1,000.00 and no more. That the said material was furnished from time to time between July 10, 1905, and February 7, 1906. On March 27, 1906, appellee filed his notice and claim of lien in the office of the probate clerk of ¡Bernalillo County and at that time Morgan had ceased work on the building for a period "of about forty-five days. Thereafter appellant’ continued to- work, completing the building about July 1, 1906. And it also appears instead of getting the building completed according to the original plans and specifications for $10,000.00 it cost appellant, about $20,-000.00.
The court below allowed the appellee a lien for $3,251.36 with interest and costs, including costs for filing lien and $250.00 as an attorney’s fees. From this decree-the appellant appeals and seeks a reversal upon the following propositions:
1. That the claim of lien was prematurely filed and therefore void.
2. That our mechanics lien statute is unconstitutional.
3. That the mechanic’s- lien statute is in. conflict with the grant of legislative power contained in the' Organic Act, and
4. That no attorney’s fees should' have been allowed-
It is an admitted fact as shown by the record that the notice and claim of lien was filed March 27, 1906, and that the building was not completed until about July 1, of the same year. Our statute fixing the time for filing a lien is as follows:
“Every original contractor, within ninety days after the completion of his contract, and every person save the-original contractor, claiming the benefit of this act, must within sixty days after the completion of any building, file-for record 'with the county recorder of the county in which said property or some part thereof is situated, a-. *254claim containing a statement of his demands, etc.” Compiled Laws 1897, sec. 2221.
In his brief the able counsel for the appellant says that he finds “this court committed to the proposition that a substantial completion of the building is requisite before a lien can be filed.” Citing Genest v. Building Assn., 11 N. M. 251, 67 Pac. 743.
We cannot agree with this statement for we are of the opinion that the only question decided in that case was that a substantial completion- was a completion within the terms of the statute and that the court neither in express terms ox by implication held that a completion of the building was a requisite to the filing of a lien. That question was not before the court in that case.
Here the question is squarely presented to us whether the legislature fixed a period of time during which a lien of a sub-contractor must be filed or did it fix a point of time after which such a lien could not be filed.
In the ease of Davies v. Miller, 9 Sup. Ct. 560, 130 U. S. 284, 32 L. ed. 932, the court says:
“The clause requiring the importer to give such notice” within ten days after the ascertainment and liquidation of the duties “must therefore, according to the fair and reasonable interpretation of the words as applied to the subject matter, be held to fix only the terminus ad quern, the limit beyond which the notice shall not be given, and .not to fix the final ascertainment and liquidation of the duties as the terminus a quo, or the first point of time at which the notice may be given.”
To hold that the completion of a building was a requisite to the filing of a lien by a sub-contractor -would not be a fair and reasonable interpretation of the words “within sixty days after the completion of any building, etc.,” as applied to the subject matter. When the sub-contractor has performed labor or furnished materials his contract is executed. The building might be years in construction or it might never be completed, and when by force of the statute a privity of contract exist between the -owner and a sub-contractor without reference to the original contractor there is no good reason, nor is it just that the *255sub-contractor should be compelled to wait upon the happening of an event which neither fixes nor affects, his rights, and which he cannot control. Hobbs v. Spiegelberg, 3 N M. 357, 5 Pac. 529.
1 We therefore hold that the clause that requires a subcontractor to file his claim of lien “within sixty days after the completion of anjr building, etc.,” fixes a time after which such lien is not to be filed and does not fix a period of time during which it must be filed or in other words that the time for filing does'not commence to run from or await the completion of the building. Hunter et al, v. Truckee, Lodge, 14 Nev. 24.
Our attention has been called to numerous cases, especially from California and Kansas, where a different rule has been announced but it is to be observed that the statutes under consideration there gave the sub-contractor a lien solely by way of subrogation to the rights of the original contractor, while under our statute the sub-contractor has a direct lien. Hobbs v. Spiegelberg, 3 N. M. 357, 5 Pac. 529.
2. That because our mechanic’s lien statute permits liens- to be asserted in excess of the contract price of the building or other improvements, the appellant contends that it is a restraint on the liberty of contract and it is a taking of property without due process of law.
Since its adoption in' 1880, different phases of this” act have been the subject of many cases in this court, but never before has its validity been questioned.
However, in a number of states the constitutionality of statutes permitting liens in excess of the contract price agreed upon between owner and original contractor, have been upheld. Bowen, et al., v. Phinney, 162 Mass. 593, 39 N. E. 283, 44 Am. St. Rep. 39; Laird v. Noonan, 32 Minn. 358, 20 N. W. 354; Cole Mfg. Co. v. Falls, 90 Tenn. 466, 16 S. W. 1045; Mallory v. La Crosse Abattoir Co., 80 Wis. 170; 49 Wis. 1071.
In Great Southern Fire Proof Hotel Co. v. Jones, 193 U. S. 532, the constitutionality of the Ohio mechanic’s lien law was before the court and upheld, but the counsel for the appellant seeks to distinguish that case in this, that *256the Ohio statute contained an express proviso that the aggregate of all liens should not exceed the contract price and suggests that had the Ohio statute contained no provisions limiting the amount of liens which might be created iand no provision whereby the owner could have protected himself against such, the court would have reached a different conclusion.
If it is admitted that a court in citing decided cases in support of its conclusions, necessarily adopts the prior decision as good law and as fixing the rule, then the case above cited constitutes an authority contrary to the contention of the appellant, for the court there cited the cases of Bowen v. Phinney; Mallory v. La Crosse; Laird v. Noonan; Cole Mfg. Co. v. Falls, supra, as sustaining its decision, and further the court adopted the opinion of Judge Lurton in the same ease, 86 Fed. 370, in which opinion the case of Laird v. Noonan, supra, on this very point was quoted at length and approvingly, and the cases above mentioned cited in support.
2 'In view of these decisions and of the tacit approval of our own statute by the Supreme Court of the United States in Ford v. Springer Land Assn., 168 U. S. 513; we hold that the constitutionality of our mechanic’s lien law is not an open question and is , settled.
3. In his brief, counsel for the appellant says that the “use of the word rightful as qualifying the subjects of legislation committed to the territorial legislature presupposes power in the courts to determine whether the particular act in question is or is not within the grant of power.” And further that “the exercise of such legislative power is always subject to challenge in the courts upon the ground that it is.unreasonable, unjust, unequal or oppressive, unless Congress has expressly authorized the act in question.”
“New Mexico is a territory, but in it the legislature has all legislative power except as limited by the constitution of the United States and the Organic Act and the laws of Congress appertaining thereto.” Walker v. Southern Pacific Railroad, 165 U. S. 604, 41 L. ed. 837.
*257 3 If the legislature of this territory has all legislative power subject to the limitation that it must be exercised within the limits of the constitution .and not in contravention of any law of Congress and if the law here in question is constitutional and does not contravene any law of Congress it must be held to be valid, for it is not within the competency of any court to question an act of a legislature on the ground that it is unreasonable, unjust, unequal or oppressive, as long as the act is within the limitations fixed by the fundamental law of the state or territory. Baca v. Perez, 8 N. M. 187.
4. Because the appellant was ignorant of the liability of Morgan to the appellee, he argues that he could not safely pay appellee’s claim until it had been established in a court of justice and to make him pay an attorney’s fee is not in accordance with the equity of the statute and constitutes an abuse of judicial discretion such as justifies, a reversal of this case.
The statute provides that “The court may also allow, as part of the costs, the moneys paid for filing and recording the lien and reasonable attorney’s fees in the district and supreme courts.”
4 Do the peculiar facts of this case constitute an exception in the .appellant’s favor? Are they not rather such facts as might exist and have existed and will continue to. exist in most any other case of a mechanic’s lien foreclosure ? It is not denied that the appellee furnished maerials that went to improve appellant’s property of the reasonable market value of the amount .allowed him by the decree and that at the date of the decree in this case he had been out of his money for over two years. The appellant has no reason to complain of the allowance of an attorney’s fee.
For the reasons given the judgment of the court below is affirmed.