*169The opinion of the court was delivered by
Burnside, J.Our mechanics’ liens are now permanently established by legislative enactment and judicial decisions. It has become a part of our system, and it is our duty to mould it in accordance with the object and intention of the legislature.
In the case before us, the buildings were adjoining each other. They were commenced and carried on together. Senderling had engaged with Ward and Farr (owners of the adjoining lots) to erect both houses, to find all the materials, and he purchased lumber indiscriminately from the plaintiffs for both buildings.
Senderling, the contractor, being in arrear for the materials, the plaintiffs, in order to secure their debt, divided their claim and filed separate liens against each building, on account of the lumber sold to Senderling. By a writing at the foot of their account they made the apportionment equally to each building, as follows: “ The materials, &c. mentioned in the foregoing bill of particulars were furnished for, and used about, the joint construction, as well of the building mentioned in the annexed lien, as of the building-adjoining to the north of the same, and of which George Ward is the owner, or reputed owner, and the said John C. Senderling is the contractor, and against which said adjoining building a lien is filed to the present June term, 1847, of this court, and the annexed lien is filed for an equally apportioned pro rata of the above sum of $667 36.”
The lien was filed the 1st July, 1847, to which Farr filed an affidavit of defence, alledging:
1. That the lumber was furnished by the claimants indiscriminately to both houses; and that he is advised no claims for lumber so furnished can be maintained under the existing laws of this commonwealth. That no part of the said lumber was furnished to, or delivered upon the credit of defendant’s building specifically, but was furnished, as appears, collectively to the deponent’s building and that of George W. Ward.
2. That the claim is against two houses belonging to different and distinct individuals, to wit: the defendants and Ward; and the lumber having been furnished jointly and indiscriminately to the two houses, the claim cannot be maintained.
3. Alledging partial payments on account of the lumber (which are not disputed) and claiming a set off, if the lien is maintained.
A rule having been obtained in April, 1848, to show cause why the scire facias should not be set aside, and the claim stricken from the record, which the court made absolute on 6th May, 1848, on the ground that where materials are furnished jointly and indiscriminately for the use of two buildings owned by different parties, though the contractor be the same, no lien can be enforced.
Mechanics’ liens were unknown to the common law. They owe their existence to legislative enactment. For more than thirty *170years, the legislature of Pennsylvania were trying the experiment in one place and another, before the passage of the codified act of the 16th June, 1836 : Dun. 2d Ed. 779.
The first section of that act provides “that every building erected within the several counties of this commonwealth to which the act entitled ‘ an act securing to mechanics and others payment for their labor and materials in erecting any house or other building within the city and county of Philadelphia,’ passed 17th March, 1806, and the several supplements thereto, now extends, shall be subject to a lien'for the payment of all debts contracted for work done, or materials furnished for or about the erection or construction of the same.” That the debt in question was a debt contracted for and about the building of the defendant is indisputably clear. It is equally clear that a joint lien could not be filed: 6 S. & R. 512-13. It is enough if the lumber is furnished for the building: 2 S. & R. 171. Rut the materials must be furnished for the particular house: 16 S. & R. 56. The act of 16th June, 1836, first provided for filing a joint claim against several adjoining houses built by the same owner, apportioning the sums due by each house: 6 S. & R. 512; Dun. 2 Ed. 783.
The case before us, if not within the words, is within the spirit and object of the act of 1836. The 13th section provides that “in every case in which one claim for materials shall be filed, by the person prefering the same, against two or more buildings, owned by the same person, the person filing such joint claim shall at the same time, designate the amount which he claims to be due to him on each of such buildings, &c. The spirit and object of the act is that each house should pay for its own lumber; and when the contractor is erecting two houses for different persons, unless the material man can divide his bill which is purchased by the contractor, and file a lien for a proper portion to such building, the first section of the act is defeated. The proceeding is in rem, and I am unable to discover any good reason why this should not be done. “Every building," by the act, “is subject to a lien, for the payment of all debts contracted for work done, or materials furnisíied." The only argument of weight against such a course is that the lien may be filed against one of the buildings for an improper proportion, but this can be adjusted by the jury on a trial on the scire facias, under the direction of the court.
Mechanics’ liens, under the act of 1836, and the several supplements, have become an important part of our system of jurisprudence. In the administration of the justice of the country, I am for giving these acts such a construction as will perfect the system and carry out the object and intention of the legislature. We think this lien was well filed, and the learned Court was in error in dismissing it from the record.
■ The judgment of the District Court is reversed; the claim restored; and a procedendo awarded.