(1) This was an action of trespass quare clausum fregit for that defendant entered unon plaintiff’s close and moved a storehouse, impairing the storehouse and breaking and destroying articles of personal property therein. Defendant justified under the authority of Birmingham, Ensley & Bessemer Railroad Company and a decree of the probate court condemning the realty to the use of said company for a right of way, authorizing it to construct, maintain, and oDerate thereon “a double track line of railroad over and upon the said land and through any building within said right of way,” alleging that plaintiff occupied the premises under a lease from the owner into which he entered after the proceedings for condemnation had been filed in the probate court, and that on the occasion complained of he did not move the storehouse a greater distance off the right of way than was reasonably necessary in order to construct said railroad. This plea was subject to that ground of demurrer which took the point that compensation had not been made for the property taken prior to the entry complained of, as provided in section 3882 of the Code. This ground of demurrer is now confessed, and for the error in overruling it the cause must be reversed.
(2-4) It is proper, in order to expedite the cause, and we are invited by the parties, to pass upon another question that lays at the root of plaintiff’s case. The theory of plaintiff’s case was that, regardless of that institution of condemnation proceedings prior to the time of his lease, he acquired a right of possession superior to that of the condemnor, and that he was not concluded by that proceeding because he was not made a party. The compensation to be paid by the railroad company must be fixed by the valuation of the property as of the date of the petition for condemnation.—Southern Ry. Co. v. Cotoan, 129 Ala. 577, 29 South. 985, and cases there cited. Assuming that defendant will be able to amend his special plea by showing payment or a deposit of the compensation awarded in court for the owner as provided by section 3882 of the Code, prior to the entry alleged, the *98right and title of the railroad company, under whose authority he entered, vested upon such payment or deposit, and, as against intervening rights, related back to the filing of the petition for condemnation. On the facts stated in the plea, plaintiff acquired his leasehold pendente lité, his rights under it were subject to the right of the railroad company petitioning for condemnation, and he was entitled to no compensation as for his alleged interest in the land.—2 Lewis Em. Dom. (2d Ed.) § 338; Schrieber v. Railroad Co., 115 Ill. 340, 3 N. E. 427; In re State House, 21 R. I. 59, 41 Atl. 1004. The demurrer to the plea, upon grounds other than that first above noticed, was not well taken.
(5, 6) If by his special replication plaintiff intended only to deny that the right- and title by which he held possession at the time of the trespass alleged in the complaint had been acquired after the institution of the condemnation proceedings, every purpose of the replication was served by the general traverse filed at the same time, and there was no reversible error in sustaining the demurrer to the special replication. If the possession against which defendant was alleged to have offended was held by plaintiff under right and title acquired before the condemnation proceedings were instituted, the decree was not conclusive against him, and did not divest him of the lawful right, title, or possession he had, because he was not a party to the proceedings. But the substance of the replication, construed against the pleader, seems to be that at the time of the trespass complained of he was in possession under a lease from the owner, and at the time of the institution of the condemnation proceedings he was the owner of a leasehold interest in the premises under a contract of lease from the owner of the legal title. It is not made to appear that the contract under which plaintiff held at the time of the alleged trespass was the same lease under which he held at the institution of the proceedings for condemnation. Consistently with the facts alleged, the right to the possession upon which defendant entered was acquired by contract intervening between the institution of the proceedings and the alleged trespass. Consistently also, the possessory right under which plaintiff held at the institution of the suit expired before the trespass alleged. If so, defendant’s entry was not wrong. The replication was bad, therefore.
(7, 8) In entering for the reasonable assertion of rights conferred by the statute and the decree of the probate court made *99in pursuance thereof, defendant, as the duly authorized agent of the railroad company, was not guitly of a trespass. Nor did the fact that defendant’s removal of the storehouse resulted in the breaking of plaintiff’s lamps, scales, and clock, made defendant a trespasser as to the realty. If defendant was guilty of any wrong in respect of plaintiff’s personalty, his remedy was by way of a different action.—Southern Ry. Co. v. Hayes, 183 Ala. 465, 62 South. 874. The gist of plaintiff’s action, as framed, was the alleged trespass to realty.—Hardeman v. Williams, 169 Ala. 50, 53 South. 794.
Reversed and remanded.
Anderson, C. J., and McClellan and Gardner, JJ., concur.