By the Court,
DixoN, C. J.This action was brought by Fees, the respondent, to foreclose a mortgage given by David P.' Hull. The appellants were made parties defendant, as subsequent incumbrancers, and the complaint sought the foreclosure of their rights. The appellants answered, claiming mechanic’s liens on the dwelling house erected by Hull on *279the mortgaged property, and also on the right, title and interest of Hull in and to a portion of the mortgaged prem-. ises, not exceeding one acre in extent.
The facts which are not disputed are briefly these: Bees made a contract with Hull to convey to him certain lots in Milwaukee, at an agreed price of ten thousand dollars, and to execute a deed to Hull on the 1st of December, 1857. Hull, on his part, agreed to make valuable improvements on the property, in particular to erect a brick dwelling house on it, and to have the same enclosed within one year from the date of the contract, and on receiving a deed from Bees, to give him back a bond and mortgage for the purchase money. This contract was dated November 18th, 1856, and was duly recorded. Hull commenced the building under the contract, about August 1st, 1857, and the lien of these appellants grew out of materials furnished and work done for that building. Hull complied with the contract on his part, and on the 18th of November, 1857, Bees made a deed to Hull, and took back from Hull the bond and mortgage for the foreclosure of which this action is brought. The respondent claims that his mortgage lien is paramount. The appellants claim that their lien is prior to the lien of the mortgage ; and that is the question here.
. It will be conceded by all that a lien for work and materials on a building, is a privilege derived entirely from statutory provision, and cannot be maintained beyond the extent of the grant of the act by which it is conferred. The determination, therefore, of the nature and extent of the appellants’ lien for materials, depends on the true construction of the statute in force at the time they were furnished. If, as was insisted by the counsel, it gave them a complete and absolute lien on the building, independently of any title or interest in the land upon which it was erected, so that the owner was not a trespasser or disseizor, and then added or annexed to such absolute lien, a further lien upon such right, title and interest in the land, if any, as belonged to him, in that case I should say that so far as the building is concerned the lien of the appellants would be paramount, and entitled to protection. I must confess that at the argument I was *280very strongly impressed with the idea that such was the . proper construction. The language of the first section of the act (chapter 120, B. S., 1849), in my judgment, very clearly and decidedly supports that conclusion, and if I were now to determine the question ,upon that section alone, my opinion would remain the same. But another provision of the act, which was not particularly noticed or commented on at the bar, has led me to change my views. It is found in section 11, which prescribed the manner in which sales ujaon executions should be made, and the effect of conveyances under them. It was in these words: “ and such officer shall give to the purchaser a deed of conveyance of the premises sold, which shall be valid and effectual to pass all the right, title and interest of the defendant in and to said premises absolutely, whether the same be in fee simple, for life or for years.” Here we have the end and fruit of all the rights and privileges conferred by the act upon mechanics and material men. Purchasers under judgments in their favor, themselves if they became such, acquired the right, title and interest of the person owning the building, whether the same was held for life, in fee simple, or for years. They acquired just his rights — nothing more and nothing less. They succeeded to his title and represented his interest in the premises as a whole. They had no divided or several interest unless he had; but took the property, buildings and lands as one entire thing, and by one entire and indivisible title, whenever it was so held by him. If, under any circumstances, he was bound to treat the premises as an entirety, then 'were they also, for they but occupied his former position. This, it appears to me, is the plain, and obvious import of the language. It leaves no room for distinguishing between the purchaser’s ownership of the building and his ownership of the land with which it was connected. Both are spoken of as constituting one piece of property; the title as one title, and that such as the former owner had to the land. The plain inference is, that unless the title to the building had been previously separated by the act or agreement of competent parties, it was to follow and be governed by that of the land, and not that it could be subsequently *281separated and take a new direction which the original owner had no right to give to it. The nature of the title which the purchaser was thus declared to acquire, its unity and indivisibility, are wholly incompatible with the absolute lien of the mechanic and material man upon the building itself, united with a lesser interest in the land, on which it was erected, supposed to have been given by the first section. The inconsistency is so complete and radical that it undoes and destroys the force and effect which might otherwise be given to the first; and therefore I must conclude that the legislature did not intend by it to confer a lien which should operate more extensively than the judgment and execution which followed and were founded upon it. If we are correct in these views, the design was to give to the mechanic a lien from the commencement of the building equal in power and effect with the lien of another creditor who had obtained and docketed a judgment. The legislature gave him all the advantages of a judgment both as to the legal and equitable estate of the owner, but did not intend the .lien should operate beyond the sphere where a judgment would be effectual.
Under this construction of the statute, the other question presented by the record is easily determined. The case stands as if the appellants had, at the time the building was commenced, been judgment creditors of Hull, whose judgments were a lien upon his equitable interest in the premises. If, having been such judgment creditors, their liens would have been prior to that of the respondent’s mortgage, then they are now; but if not, then they are subsequent and must be postponed to the lien of the mortgage. The authorities clearly establish that Rees’ interest in or lien upon the premises for unpaid purchase money was not diminished or impaired by his execution and delivery of a deed, when at the same time he received back a mortgage as- security for the price. The settled doctrine in such cases is, that when property passes through a man, without his having paid for it, and with an understanding that he is at once to secure the payment by a mortgage or lien on the property itself, no right vests in him except that which is subject to such payment ; that to the extent of the unpaid price, he is, in con*282templation of law, never tbe owner until it is paid. The delivery of the deed to the vendee, and his execution and delivery of the mortgage or other security for the unpaid purchase money, are but parts of the same transaction, done in pursuance of the same agreement, and have such operation only as will best promote the lawful intention of the parties. Their operation is contemporaneous and connected, and affords no opportunity for the liens of judgment or other creditors of the grantee to attach to the legal estate, before that of the grantor for the unpaid price. The doctrine is wholesome and just. No claim can be more equitable than that of the unpaid vendor to reimbursement out of the proceeds of the estate with which he has parted upon that express condition. Holding the estate, and having a right .to retain the title until the payment of the purchase money shall be satisfactorily secured, why should not effect be given to the agreement between himself and the vendee in that respect ? Certainly the creditors of the vendee ought not to complain, for without the agreement there would have been nothing upon which their rights could ever possibly have attached; and claiming a benefit from their debtor’s purchase, by means of his contract with the vendor, they have no right to be placed in a better situation than the debtor himself. Their interest is based upon his and cannot in equity and justice go beyond it. Holbrook vs. Finney, 4 Mass., 566; Chickering vs. Lovejoy, 13 id., 51; Clark vs. Munroe, 14 id., 351; Stow vs. Tifft, 15 Johns., 458; Love vs. Jones, 4 Watts, 465.
In this case, the interest of the respondent as mortgagee of the premises, must be regarded as identical with his interest as vendor under the previous executory contract of sale, and therefore paramount to the lien or interest of the appellants. It is but a continuation of his original security under another form.
The judgment of the circuit court, being in accordance with these principles, is affirmed, with costs.
[Note, by the Chiee Justice. — See Campbell md PTm'd’s Appeal, 36 Pa. St. Rep., 247, in which the doctrines of the foregoing opinion are discussed and fully sustained.]