delivered the opinion of the court.
The plaintiff painted and glazed a dwelling-house belonging to defendant, Mary E. Gest, a married woman, perfected his mechanic’s lien upon the property and filed his petition in the-Court of Common Pleas of Pettis county to enforce the same. The petition showing all the facts was demurred to by said Mary E. because, in setting up the contract an’d the plaintiff’s work under it, it did not show that it pertained to her sole and separate property — she claiming that she could make no contract so as to *341create a lien upon her property unless held for her sole and separate use. The court gave her judgment upon the demurrer, which was reversed in the District Court.
The whole subject of mechanics’ liens is purely statutory, and we have only to consult the statute to find their extent. Section 1 of the act (Wagn. Stat. 907) provides for liens upon property for work, etc., “ under or by virtue of any contract with the owner and proprietor thereof,” etc. Section 21 defines who are owners, and is as follows: “ Every person, including all cestui que trusts, for whose immediate use, enjoyment, and benefit any building, erection, or improvement shall be made, shall be included by the words'‘ owner or proprietor’ thereof, under this chapter, not excepting such as may be minors over the age of eighteen years, or married women.”
The language of the act quoted seems too plain to admit of construction. It is not disputed that Mrs. Gest is the owner of the building, and that the work was done by contract with her. Nor is it disputed that the improvement was made for her immediate use, enjoyment, and benefit. But, for fear it might be claimed that the lien can not extend to work done under contract with persons incapable of contracting, the statute expressly provides that the words “owner,” etc., with whom contracts are made, shall include minors over eighteen years and married women. Their disability to contract is pro tanto expressly removed, and while the mechanic might not .be able to obtain a general judgment against her, he shall be entitled to a lien upon the property improved by his labor, in the same manner as though it belonged to the husband and the contract were made with him.
We are asked to say that this liability can only apply to the wife’s separate estate. But the statute does not so limit it, and if there were any doubt in its construction, that doubt should be solved in favor of the lien. To hold as requested, would open a very wide door for dishonesty and fraud, and enable men, as well as women, to improve property at the expense of others, and live in luxury upon or from the proceeds of the estate of the wife, rendered valuable by the labor and property of their neighbors.
Without the provision of section 21 before quoted, there is no *342doubt that a lien would lie upon the separate property o£ the wife,., for she is able to make contracts in relation to it; and it is so held in Hauptman v. Catlin, 20 N. Y. 247. This statute was doubtless necessary to enable a married woman or her agent to so far bind her ordinary estate by contract as to subject it to a mechanic’s lien.
The other judges concurring, the judgment of the District Court is affirmed and the cause remanded.