The opinion states the case.
Galbraith, J.This is an appeal from a judgment rendered in consequence of a demurrer having been sustained to the complaint. The action was brought by the appellant, as'administrator, to recover the possession of certain real estate. The demurrer was upon the ground that, as a matter of law, he could not, as such administrator, maintain an action for the possession of real property. It was determined in the case of Carrhart v. Montana Mineral Land and Mining Co., 1 Mont. 245, that an administrator could not maintain an action in ejectment for the possession of real estate. But that decision was rendered under a different statute in relation to this subject from that now in force. This court in that case substantially held that the chapters of our law in regard to descents and distributions being almost literal copies of the Missouri statutes, and having been construed by the supreme court of that state, and such construction appearing to be correct in principle and according to the intention of our legislature, that such construction should be adopted. But this court in that case says: “ Had the legislature intended to vest the title or possession of the realty, for the purpose of administration and distribution to the heirs, in the administrator, they would certainly have provided for his taking possession of the same; but they provide for his taking possession of the evidences of title, and returning inventory of realty, and not for taking possession thereof, —evidently intending that he should look after the realty for the benefit of the heirs. And also, under the direction of the probate court, he may lease it not longer than one year, — evidently meaning until the heirs can be notified and take possession.” This decision, therefore, is based upon the *242ground tliat, under the statute then in force, the administrator was not entitled to the possession of the real estate of the decedent. It was rendered at August term, 1870.
It will be seen by reference to the probate act, approved February 16, 1877, that provision is made by the legislature that the administrator may take possession of the real estate of decedent. Section 127 of this act provides as follows: “The executor or administrator is entitled to the possession of all the real and personal property of the decedent, and to receive the rents and profits of the real estate, until the estate is settled, or until delivered over by order of the probate court to the heirs or devisees, and must keep in good tenable repair all houses, buildings, and fixtures thereon which are under his control. The heirs or devisees may themselves, or jointly with the executor or administrator, maintain an action for the possession of real estate, or for the purpose of quieting title to the same, against any one except the executor or administrator.” Rev. Stats. 1879, div. 2, p. 214. Section 532 of the same act reads as follows: “The property, both real and personal, of one who dies, without disposing of it by will, passes to the heirs of the intestate, subject to the control of the probate court, and to the possession of any administrator appointed by that court for the purposes of administration.” Id. 282. The following are sections 225 and 226 of the same act: “ The executor or administrator must take into his possession all of the estate of the decedent, real or personal, and collect all debts due to the decedent or to the estate. For the purpose of bringing suits to quiet title, or for partition of such estate, the possession of the executor or administrator is the possession of the heirs or devisees. Such possession by the heirs or devisees is subject, however, to the possession of the executor or administrator, for the purposes of admin*243istration, as provided in this title.” “Actions for the recovery of any property, real or personal, or for the possession thereof, and all actions founded upon contracts, may be maintained by and against executors and administrators, in all cases in which the same might have been maintained by or against their respective testators or intestates.” Section 6, division 1, Revised Statutes, page 42, reads as follows: “An executor or administrator, or trustee of an express trust, or a person expressly authorized by statute, may sue, without joining with him the person or persons for whose benefit the action is prosecuted.”
By virtue of the above statutory provisions, the administrator is expressly given the right to the possession of the real estate of the decedent, and may bring ejectment in his own name, as administrator, for the possession thereof, as against the respondents, who, so far as this record shows, are mere trespassers.
It is claimed that the complaint is insufficient in that it does not allege that the real property described therein was ever inventoried or appraised, or an inventory or appraisement thereof returned and filed in the office of the probate judge, as provided for in sections 118 and 126 of the act above referred to. These are as follows: “ Every executor or administrator must make and return to the court, at its first term after his appointment, a true inventory and appraisement of all the estate of the decedent, including the homestead, if any, which has come to his possession or knowledge.” Section 126: “Whenever property, not mentioned in an inventory that is made and filed, comes to the possession or knowledge of an executor or administrator, he must cause the same to be appraised in the manner prescribed in this article, and an inventory thereof to be returned within two months after the discovery; and the making of such an *244inventory may be enforced after notice, by attachment or removal from office.”
It will be observed that no time is mentioned within which the administrator shall take possession of the property, real or personal, of the decedent, but that a time is mentioned within which he shall file an inventory. But it cannot be contended that under the foregoing provisions of the statute the administrator may not have possession of the real estate before the time arrives for the filing of the inventory, if he can have it at all, which, as we have before seen, he may. This alone is a strong reason for holding that it was not the intention of the legislature to make the taking possession of the real estate dependent upon the filing of the inventory. Certainly the filing of an inventory is not expressly made a prerequisite to the taking possession of the property, nor do wTe think it is made so by implication. These provisions are not, we think, intended by the legislature as requisite preliminaries to the taking possession of the property of the decedent, but for the benefit and protection of the estate, and as a guide to the probate court in relation to matters of administration. It was not necessary, therefore, that they'should be set out in the complaint, at least in an action for the possession of real estate, where there is nothing in the record to show but that the defendants are mere trespassers.
Judgment reversed, and cause remanded, with instructions to the court below to overrule the demurrer.
Judgment reversed.
McConnell, C. J., and Bach, J., concur..