i. HT7SBANB trust. ‘ I. The first question presented by the record pertains to the interest acquired by Wm. H. Starr in the real estate in controversy upon the death of his wife, Frances. The deed from W. EL Starr to Joseph Walter Camp contains the following: “To have and to hold as aforesaid, upon the following trust: That the said party of the second part shall receive the rents and profits of the above described premises, and pay the same to the said Frances C. Starr, or permit her to use the same for her sole and separate use, independent of the control of her husband, and after her death to her heirs, subject to a life estate in the said party of the first part if he shall survive his said wife. And the said party of the second part covenants with the said party of the third part to discharge the trust above described to the best of his ability, and at any time, upon the request of the *476party of the third part, to execute a deed for the whole,'or any part of the described premises, to such person or persons as the said Frances C. Starr may direct.”
The plaintiffs claim that at the death of Frances, W. H. Starr, as her surviving husband, became invested with one-third of the property in fee, under section 2440 of the Code, and that he also acquired a life estate in the whole by the provisions of the trust deed.
The defendants claim that, by the trust deed, W. H. Starr cut off his rights as surviving husband, under section 2440, and that at his wife’s death he became invested with only the life estate provided for in terms in the deed.
The defendant cites and relies upon Heard v. Hall, 16 Pick., 457; Jacobs v. Jacobs, 42 Iowa, 600; Stokes v. McKibbin, 13 Pa. St., 267; and Rigler v. Cloud, 14 Pa. St., 361. In Heard v. Hall it was held that a guardian of a person non compos mentis, who sold real estate belonging to his ward under a license of court, and conveyed the same with a covenant that he was duly authorized to sell the granted premises, was estopped by his covenant from setting up a claim in his own right to any portion of the real estate, under a previous conveyance to him in his own right. The case applies but remotely to the question under consideration.
In Jacobs v. Jacobs the husband and wife, before their marriage, had entered into a contract stipulating that “each is to have the untrammeled and. sole control of his or her own property, real and personal, as though no such marriage had taken place.” It was held that, under the express contract of the parties, upon the death of the husband the wife could not assert her right of dower in his estate.
. In Rigler v. Cloud the plaintiff in error, by deed, conveyed the property in dispute to Catharine George and her heirs, in trust for his wife, Maria Rigler, and her heirs forever, to the sole and separate use of the said Maria Rigler and her heirs, and not to be in any way liable to the future control, debts, or liabilities of her present or any future husband. The court *477held that the clause of the deed effectual ly cut off the husband’s interest as tenant by the curtesy. Emphasis was placed upon the provision in the deed that the property should not be subject to the future control of the husband.
In Stokes v. McKibbin the conveyance was to one Harper in trust for Margaret Houston for life, as if she were a feme sole, and so that the property shall not be in the power, or subject to the debt, contract or engagement of her present or any future husband, remainder to her appointees by will, and in default to her right heirs. It was held that the husband was not entitled to curtesy in the estate. In all these cases there was some express provision showing an intention that the husband should be barred of all interest in the property. The cases concede that the question is one of intention, discoverable in the declaration of trust. There can be no doubt that a trust may be so declared as to cut off any estate in the husband upon the death of his wife. See Bennet v. Davis, 2 P. Wms., 316. In Morgan v. Morgan, 5 Madd., 248, a conveyance was made to the mother upon trust for the sole and separate use of the mother for life, with power to the mother to appoint the fee by deed or will, and for want of appointment in trust for the mother, her heirs and assigns. The question was whether the father, who survived the mother, was entitled to be tenant by the curtesy against her son, the mother having made no appointment. The court say:
“The wife was in possession of this equitable estate by receipt of the rents and profits during coverture, and there being issue capable of the inheritance, the husband, according to the rule stated, must be entitled to the curtesy, unless it can be held that the direction that the wife shall take the profits to her separate use amounts to an express intention to exclude him. At law, the husband cannot be excluded from the enjoyment of property given to or settled upon the wife; but in equity he may, and this not only partially, as by a direction to pay the rents and profits to the separate use of the wife during coverture, but wholly by a direction *478that upon the death of the wife the inheritance shall descend to the heir of the wife, and that the husband shall not be entitled to the tenant by the curtesy. Such a provision was actually made in the case of Bennet v. Davis, and was acted upon by this court. Here the husband is partially, and not wholly, excluded from the enjoyment of the wife’s property. This court would, according to the intention of the settlement, have restrained him from all interference with the rents and profits during the life of the wife, but there being no further exclusion expressed in the settlement, the court can have ho authority to restrain him from the enjoyment of his general right as tenant by the curtesy in the equitable inheritance of his wife.”
In the case at bar the deed of trust provides that the rents and profits shall be paid to Prances 0. Starr, and that she shall control them for her sole and separate use, independent of the control of her husband. The husband surrenders all control over the rents and profits during the life of his wife, but he does not, in express terms, surrender the interest which the law may give him upon the death of the wife, without having made any disposition of her estate. We are of the opinion that, upon the death of his wife, Wm. H. Starr was entitled to one-third of the real estate in question in fee, under section 2440 of the Code, and to a life estate in the remainder, under the provisions of his deed.
II. The liens in question all arose prior to the taking effect of chapter 100, Laws of Sixteenth General Assembly, and must be enforced under the law as it stood prior to the enactment of that statute. Brodt v. Rohkar, 48 Iowa, 36.
2. mechanic's lien: tenant m common. III. It is claimed by appellees that W. H. Starr, as tenant in common with the other owners of the lots in question, having made valuable improvements thereon, is ° .... entitled to partition thereof, with compensation for the improvements made, and that to this entire interest the mechanic’s liens attached, with the right to sell the property, and apportion the respective claims from the proceeds, *479if partition cannot otherwise be effected. Several authorities have been cited by appellees, recognizing the doctrine that where one' tenant in common lays out money in improvements on the estate, a court of equity will not grant partition without first directing an account and a suitable compensation; or will, in the partition, assign to such tenant in common that part of the premises on which the improvement is made. See Green v. Putnam, 1 Barb., 501; Swan v. Swan, 8 Price, 518; Conklin v. Conklin, 3 Sandf. Ch., 64; Felix v. Rankin, 3 Edw. Ch., 323; Town v. Needham, 3 Paige, 546; Hall v. Piddock, 21 N. J. Eq., 311; Drennen v. Walker, 21 Ark., 539; Stevens v. Thompson, 17 N. H., 103.
In these cases an equity is raised in favor of the tenant, who, from his own funds, in good faith improves and enhances ■the value of the common estate.- In the ease at bar the other tenants, by mortgage upon their own property, contributed to ■the raising of a fund much more than sufficient, if it had •been properly applied, to make all the improvements placed ■upon the common estate.. The fund was raised for the express purpose of making this improvement. W. H. Starr, having misapplied the fund, acquired no equity, as against his co-tenants, to be reimbursed out of their estate for the improvements in question. The principle invoked by appellees does not apply to this case.
3_. pri_ orítv oí nen. IY. It is urged by appellees that the statute of 1876, relating to mechanics’ liens, in so far as it provides a remedy, is only declaratory of the powers of courts of equity, which they possessed independently of it, and that the court, prior to that statute, could order the building sold and removed as provided by the Code of 1873, pr it could have taken an account of values and marshaled the securities, and sold the whole. The mechanic’s lien is ¡purely a creature of statute. If the statute did not authorize such lien it would have no existence. The statute not only creates the lien, but provides the manner of its enforcement. Where prior liens exist upon the real estate on which *480the improvement is erected, the only mode provided for-enforcing the priority of the mechanic's lien against the. improvement is by the sale and removal of the improvement. Code, §§ 2139-2141. It is a familiar principle of law that where a statute gives a right and creates a liability which did not exist at common law, and at the same time provides a. specific mode in which such right shall be asserted and liability ascertained, that mode and that alone, must be pursued.. Cole v. City of Muscatine, 14 Iowa, 296. The authorities, cited by appellees do not, we think, maintain the position for which they contend.
A number of the eases cited arose in Illinois under a statute-very similar to our statute of 1876. -In Whitehead v. Methodist Protestant Church, 2 McCarter Ch. (N. J.), 135, a judgment had been recovered against the building in favor of the-mechanics, and the plaintiff afterward brought a bill to foreclose under a prior mortgage. The validity of the liens was admitted, and the only question was how the relative values, of the lot and the building should be determined. The ease of the Newark Lime & Cement Co. v. Morrison, 2 Beasly Ch. (N. J.), 133, is substantially to the same effect.
The act under which these decisions were made provides for a sale of the building and lot, and that the deeds shall convey to the purchaser the building free from any former incumbrance on the land, and shall convey the estate in the-land's which the owner had at any time subsequent, to the. commencement of the building, subject to all prior incumbrances. There was no provision for the removal of the-building as in our statute. See Statutes of N. J., Act of 1853, chapter 189, § 11. It is apparent that, under this statute, it-was proper to adjust the liens by sale of the premises and apportionment of the proceeds. Several other authorities are. cited by appellees, but none of them, we think, maintain the broad proposition contended for, that under a statute such as. ours equity may enforce the lien in a manner altogether different from and independent of that provided in the statute..
*481We are of opinion that, under the law existing prior to .the act of 1876, the only manner of establishing the priority of a mechanic’s lien upon a building, over a pre-existing incumbrance upon the land, was by the sale and removal of the building, and that, where the nature of the improvement is such that it cannot be removed, the lien of the mechanic must be postponed to that of prior incumbrances upon the land. This construction works no real hardship, for it is always competent for the mechanic or material man to ascertain from the records the state of the title before performing labor or furnishing material.
4.-: commencement of building. Y. It is urged, however, that the referee erred in the conclusion of law that the facts set forth in the ninth finding of facts do not constitute a commencement of the bmlclmg within the meaning of the law, and that the building was in fact commenced before the mortgage was recorded. We think the conclusion of the referee upon this branch of the case is correct. In Brooks v. Gester, 3 Cal., 65, it is held that the commencement of a building under the mechanic’s lien law is the first labor done on the ground, which is made the foundation of the building, and is to form part of the work suitable and necessary for its construction.
6>_. ^lit of removal. YI. W. H. Starr owned a life estate in the lots, and one-third of them in fee under section 2440 of the Code. By his contracts he could create a lien against the properj¡y oniy †0 extent of his right and interest therein. He could not create any lien against the interests of his co-tenants. McCarty v. Carter, 49 Ill., 53; Dutro v. Wilson, 4 Ohio St., 101; Johnson v. Drew, 36 Cal., 623; Baxter v. Hutchings, 49 Ill., 116. The other tenants in common of the property, as we have seen, provided the means for making the improvement in question. When the building was erected they owned two-thirds of it, subject to the life estate of W. H. Starr. He, under the circumstances, as we have seen, had no equity against his co-tenants for reimbursement. To this interest of W. H. Starr, and to this interest alone, the *482lien of the mechanics attached. In other words, the lien attached to W. H. Starr’s life estate in the whole premises, and to his estate in fee in one-third thereof, subject to the mortgage executed to Trevor, and recorded prior to the commencement of the building.
VII. How is this lien to be enforced ? The referee finds that the building is an original, independent structure — a brick building three stories in height, with stone foundations. It is very apparent that, as against his co-tenants, W. H. Stan-had no right to remove this building. It is difficult to see how the mechanics, in virtue of a contract made with W. H. Starr, could acquire rights greater than he himself possessed. “The lien of a mechanic on a building is subordinate to the lien of a mortgage upon the land on which the building is erected, recorded before the building was commenced. When the interest which the owner of the building has in the land is that of a mere occupant, with a right to remo re the building, the right of occupancy and removal would pass by a sale under the mechanic’s lien; but if the owner of the building,' as .between himself and others having rights in the land, would not have power to remove it, a purchaser under the mechanic’s lien would acquire no right to remove it.” Jessup v. Stone, 13 Wis., 466. In this case the court say: “There are many buildings, the material and fabrics of which are such that to remove them is to convert them into a broken and worthless mass of ruins and fragments. We cannot believe that the Legislature intended to provide a remedy, the pursuit of which must in so many eases result in the almost total destruction of the thing sought. ”
In O’Brien v. Pettis & Leithe, 12 Iowa, 293, it was held that the right' of removal depends upon the fact as to whether the building upon which the materials were furnished and work done is so far an independent structure as to be capable of being removed without materially injuring or destroying that which would remain. In the case at bar the one-third interest of W. H. Starr is inseparably connected with *483the two-thirds interest of his co-tenants. It also appears reasonably certain that the building could not be removed without materially injuring, if not almost altogether destroying, its value. The liens cannot, we think, be enforced through a removal of the building. The life estate of W. H. Starr has been determined by his death. The liens of the several mechanics must be established against the interest of W. H. Starr in the lot and building — the one-third thereof in fee, subject to the prior lien of the Trevor mortgage.
Beversed.