delivered the opinion of the Court:
This was a proceeding under the Mechanic’s Lien law to enforce a lien in favor of the sub-contractor. Appellant contracted with William H. Caldwell to erect and complete for him a dwelling house, for an agreed price. Appellee was a sub-contractor, and, under his contract with Caldwell, did the painting.
The original contract was substantially completed. There were, however, some things of trifling value left unfinished, but on the 23d day of December, 1870, appellant and Caldwell had a settlement, either partial or in full, and it was agreed that the house should be accepted, the unfinished work waived, and .appellant then accepted an order for the balance due of the original contract price.
There is no question that Caldwell did a large amount of extra work on the house at the request of appellant, but there is a very great conflict in the evidence as to whether it was taken into the account at the settlement on the 23d day of December.
On the 26th of December, appellee gave appellant notice of his claim, as required by the second section of the act of 1869, and subsequently commenced this proceeding.
It is objected that, as Caldwell had substantially completed his original contract, appellee could in no event have a remedy by petition to establish a lien, but must pursue his remedy at law against the contractor and owner under the provisions of the fifth section of the act of 1869.
It is insisted that a lien is only given in favor of the subcontractor where the original contractor fails to complete his contract. This can not be the true construction of the act* It was, doubtless, the intention of the legislature to extend the benefits of the Mechanics’ Lien law to sub-contractors and parties furnishing materials to the principal contractor. The lien given may be enforced by petition in like manner as the same could -be done in favor of the original contractor. The statute has also provided a remedy at law against the contractor and owner jointly. No reason is perceived why the sub-contractor, or the material-man, may not, at his election, pursue either remedy deemed most effectual to secure his rights. It is urged that no lien arises in favor of the subcontractor until notice has been given under the provisions of the statute, and if nothing is then due from the owner to the original contractor, no lien can arise in his favor.
The evidence shows, at the date of the service of notice there was nothing due from appellant to Caldwell on the original contract, but it is not quite so clear there was nothing due for extra work.
Waiving the question that there was nothing due for extra work, we think the decree may be maintained on another ground.
Although Caldwell had not fully completed the work on the 23d day of December, appellant waived whatever failure there was, and accepted the building in its then condition, so the contract price then became due and payable.
We do not think, however, appellant could lawfully pay the contractor, or on his order, to the injury of the sub-contractor, until after the expiration of twenty days from the time it was agreed the work was completed, certainly not until after the expiration of twenty days from the date the sub-contractor had completed his work. This is the very thing the legislature intended to prohibit, so as to allow the sub-contractor and material-man a reasonable opportunity to present their claims. By the express terms of the second section of the statute the party has twenty days from the completion of the sub-contract, or twenty days after payment should have been made to the person performing the labor, in which to give the owner notice. All payments made within the twenty days shall be regarded as having been improperly made, if made in violation of the rights and interests of persons intended to be benefited by the act.
Appellee completed his sub-contract on the 10th of December, and the statutory notice was given on the 26th of the same month. In the mean time, appellant had accepted the order of Caldwell for the balance due on the contract. This he could not do to the prejudice of the interests of appellee. He could not rightfully make the payments until after the expiration of twenty days, for he was bound to know the sub-contractors and material-men had that period in which to assert their claims; and whatever payments he should make before the expiration of that period would be at his peril. The notice was given within the period limited by the statute, and no reason is shown why appellee is not entitled to the lien. The amount found to be due is less than that for which appellant wrongfully accepted the order of the contractor.
It is, however, insisted that appellee is estopped to assert any claim, by reason of the fact that he was present on the 23d of December, when appellant and Caldwell had their settlement and the order was accepted.
The evidence produces no such conclusion. Appellant knew appellee had done work as a sub-contractor on his house, for which he had not been paid. This he does not, and, in view of the evidence, could not successfully, deny, if he would. The evidence does not show appellee did or said anything at that interview that could have possibly misled appellant to his injury. It is not pretended that he intimated his claim had been paid, or that he in any manner released appellant from his legal obligation to hold the money due the contractor for twenty days, for his benefit. Without a release, or some act done that would have estopped appellee, any payment that may have been made within the period fixed by the statute must be regarded as having been made in violation of the rights of appellee.
The cases cited by the counsel for appellant are not in point.
Prescott v. Maxwell, 48 Ill. 82, was a case arising under the act of 1863, a law essentially different from that of 1869, and in no manner illustrates the case at bar.
Schultz v. Hay, 62 Ill. 157, may be distinguished from the present case. There, the contractor had failed to complete his contract, and there was nothing due from the owner at the date of the service of notice. Here, the contract was substantially completed, and whatever failure there was on the part of the contractor was waived. At the completion of the contract there was more due the contractor than was found to be due the sub-contractor, which was wrongfully paid over.
The cross-error assigned could only affect the interest of Caldwell, and as he is not complaining of error in the record, we have not considered any question affecting his interests.
The decree of the circuit court must be affirmed.
Decree affirmed.