The only question presented by this bill of exceptions is whether, under our statutes, an administrator of a deceased demandant in a writ of entry can appear and prosecute the action for the sole purpose of recovering a judgment for the rents and profits of the premises received by the tenant during the lifetime of the demandant.
At the common law, upon the decease of the demandant in a real action, the writ was abated. Quits v. Haskins, 11 Mass. 56. The right of the successor to the title to appear and prosecute such an action, after the death of the demandant, is strictly statutory. Heirs or devisees are the only, persons in whose favor this right was created. Pub. Sts. c. 165, §§ 14, 15, c. 173, § 12. There is no statute in this Commonwealth which enables an administrator, who has not been licensed to sell the real estate of his intestate, to appear and prosecute a real action. Whether, under the Pub. Sts. c. 134, § 15, an administrator who has obtained a license to sell real estate can be permitted to appear and assume the prosecution of a writ of entry, it is unnecessary in this case to decide, for no license has been granted. An administrator may bring a writ of entry to foreclose a mortgage. Whether he may also appear to prosecute a suit brought by his intestate for that purpose, we need not consider. See Pub. Sts. c. 133, § 6. But in a case like the present, it is clear that the statutory authority, without which *259no one can assume the prosecution of a real action after the death of the demandant, does not exist.
There is nothing in our law from which authority in an administrator to maintain an action of this kind can be implied. The right to recover rents and profits under our statute is a mere incident to the right to the land itself. It is only when the demandant recovers judgment for the land that he may have “ damages for the rents and profits of the premises from the time when his title accrued.” Pub. Sts. c. 173, § 12. Raymond v. Andrews, 6 Gush. 265. Richards v. Randall, 4 Gray, 53. Backus v. Chapman, 111 Mass. 386. Prior to the enactment of the Revised Statutes, in 1835, rents and profits could not be recovered in this form of action; and now they can be recovered only in the manner which the statute prescribes. Except in cases where an administrator has been licensed to sell real estate to pay debts, or where real estate is held as security under a mortgage, an administrator has no interest in the lands of his intestate, and cannot maintain an action to recover them. He therefore has no rights which are merely incidental to the rights of a demandant who establishes his title in a real action. Ordinarily, an executor or administrator cannot appear and prosecute a suit unless he could have commenced a like suit if none had been begun by his testator or intestate. To enable him to maintain the suit, he should be entitled in his representative capacity to that which the suit is brought to recover. Ferrin v. Kenney, 10 Met. 294.
In what way the rents and profits should be recovered in a case of this kind is a question not now before us. There is strong ground for contending that, if the heirs had seasonably come in and prosecuted this suit, they might have recovered all the rents and profits to which their ancestor would have been entitled if he had not died. Whether they can now, in a new action, recover anything for the use of the property before his death, or whether the administrator can maintain an action of trespass for mesne profits which accrued prior to the death of his intestate, are questions on which we express no opinion.
Exceptions overruled.