The statutes of this State, notably Revisal, secs. -2019, 2020, and 2021, provide for a lien on the property in favor of subcontractors, laborers, and material men sujjplying material for the erection, repair, or alteration for the building, when they come within certain conditions and 'give the notices contemplated and required by the law, and enforci-ble to an amount not to exceed the sum due from the owner at the time of notice given. Section 2019 gives the lien to all subcontractors and laborers who are employed to furnish or who do furnish material for the building, etc. Section 2020 provides that any subcontractor, laborer, or material man who claims a lien as provided in the preceding section may give notice to the owner or lessee of the real estate who makes the contract for the building or improvement at any time before settlement with the contractor, and if the said owner or lessee shall refuse or neglect to retain out of the amount due the contractor under the contract as much as shall be due or claimed by the subcontractor, laborer, or material man, the latter may proceed to enforce his lien, and, after notice given, no payment to the contractor shall be a credit on or discharge of the lien herein provided. In section 2021 a contractor for building, altering, or repairing of a building, etc., is required to furnish the owner or his agent, before receiving any part of the contract price, an itemized statement of the amount owing to any laborer, mechanic, or artisan employed by such contractor, architect, or other person, or to any person for material furnished, and on delivery of such itemized statement it becomes the duty of the owner to retain a sufficient amount to satisfy these claims. And it is further provided that if the contractor fails to comply with this requirement, that any laborer, mechanic, artisan, or person furnishing materials may furnish to such owner or his agents an itemized statement of the amount due to such laborer, mechanic, or artisan employed by such contractor, etc. And the section provides further that any person may furnish to such owner or his agents an itemized statement of the amount due him for materials furnished for such purposes, and on delivery of such notice to such owner or his agent, the person giving the same shall be entitled to all the liens and benefits conferred by this section or by any other law of this State in as full and ample a manner as though the statement had been furnished by the contractor, architect, or other person.
*375From a careful perusal of the statute, it will appear that it is not every claimant whose material has been used in a building that is entitled to a lien, but unless he is a laborer or mechanic supplying material, and who is given a lien by the express provision of section 2019, a material or lumber man in the strict sense of the term who claims a lien under the provisions of sections 2020 and 2021 will only be entitled thereto when he supplies material for the building to some one having contract relation to the work. And where such lien arises under the provisions of the statute it does so by substituting the claimant to the rights of the contractor, enforcible, as stated, against any and all sums which may be due from the owner at the time of notice given or which are subsequently earned under the terms and stipulations of the contract. In well considered eases it is said to amount to an assignment pro tanto of the amount due or to become due from the owner to the principal contractor, and this- regardless of the state of the account between the principal contractor and the subcontractor, who may be the debtor of the claimant.
We are not aware that the question has been heretofore directly presented in this State, but the position is in accord with authoritative cases in other jurisdictions construing statutes of similar import, and of our own decisions, in so far as they now bear upon the subject, and is justified and required by the clear and imperative language of the statute conferring on any person who has furnished material for the purposes of the building, and who gives a notice containing an itemized statement of his claim to the owner or his agent, all the liens and benefits conferred by this section or .any other law of the State in as full and ample a manner as though the statement had been furnished by the contractor or architect. Mfg. Co. v. Andrews, 165 N. C., 285; Wood v. R. R., 131 N. C., 48; Clark v. Edwards, 119 N. C., 115; Lumber Co. v. Hotel Co., 109 N. C., 658; Pinkston v. Young, 104 N. C., 102; Herd v. Holmes, 113 Ga., 159; Mack v. Colleran, 136 N. Y., 617; Van Clief v. Van Vechten, 130 N. Y., 571; Vogel v. Luitwieler, 130 N. Y., 190; Masset v. Mills, 89 Texas, 162; 27 Cyc., pp. 91, 96, 97, 99.
Speaking to the question in Vogel’s case, at page 190, Barker, P. J., delivering the opinion, said: “The respondent makes the further point that it does not appear that the contractor is indebted to the subcontractor, Poppet, for the work and labor and material furnished in painting the house, and for that reason the appellant did not establish a valid lien on the premises. We cannot assume that Poppet has been paid, and, until the contrary appears, it may be presumed that he has not been, as a liability once created is supposed to continue until it is shown that it has been discharged. But if it appeared that Poppet had been paid for the work and labor which he performed, the right of thé appellant to place a lien upon the premises as a security for his debt was not thereby *376extinguished; for the right was secured tó him by statute, and its validity, is not made to depend upon the question whether his vendee had been paid by the party with whom the latter contracted to do the work and labor. Such a construction placed upon the statute would contravene and defeat its express objects and purposes, and so far as it was intended as a protection for material men and laborers it would enable the contractor and subcontractor, by concert of action, to deprive them of the benefits of the statute.”
It is urged for the appellant that at the time he received notice of plaintiff’s claim there was nothing then due from him to his codefendant, Pulley, and that the $1,401.32 paid by him after receiving notice was for work done by Pulley after that date, and that no liability should attach •by reason of such payments. Having held that plaintiff’s lien, if otherwise valid, could be enforced regardless of the state of the account between the contractor and the subcontractor, the position may not avail to prevent the application of the sum due from the owner, and if it were otherwise, the money earned by Pulley was earned under the stipulations of the contract between the two, and even if plaintiff’s lien had to be worked out through the amount due to Pulley, the authorities hold that the notice to the contractor would amount to an assignment fro tanto of all sums due to Pulley at the time of notice or subsequently earned by him under the contract. Budd v. Trustees of Camden School, 51 N. J. L., 36; Meyer v. Muckler, 50 N. J. L., 162; Anderson v. Hough, 49 N. J. Eq., 348.
While we approve the judgment in so far as it applies the balance due from the owner to the contractor in satisfaction of plaintiff’s claim, we find nothing in the record to warrant or sustain a personal recovery for the $1,669.87 against the King Lumber Company. The statute gives the lien against the property, enforcible to the extent of the amount due from the owner to the contractor. This the plaintiff has obtained, and, the jury having rejected the position that Pulley bought as agent of the lumber company, unless it were established that the company has been guilty of some breach of duty, under the -statute, working to plaintiff’s prejudice, there is nothing to bring the company under pecuniary liability.
The personal recovery against the King Lumber Company, therefore, must be set aside, and, so modified, the judgment is affirmed.
Modified and affirmed.