In February, 1885, one Eaton sold and conveyed to Isabel Thompson a certain tract of land described in the bill of complaint, and reserved in the deed of conveyance a lien upon the land to secure the balance of the purchase money, evidenced by her promissory note. In October, 1891, the vendee, Isabel Thompson, and husband conveyed a strip of the land to the Chattanooga Southern Railway Company for a right of way. The railroad company took possession of the' strip of land under the conveyance and constructed its railroad, and has since continued in possession and use of it for the transportation of passengers and freight. The original vendor transferred the note to complainant, who filed the present bill to-enforce the lien reserved in the deed of conveyance to secure the payment of the purchase money. The railroad answered the bill, admitted the conveyance for a right of way, the construction of the railroad and its operation, with full knowledge and without objection on the part of the owner of the note or the vendor.. The respondents denied the *168right of complainant to a lien upon the road-bed and sale of the same. It averred its readiness to make just and equitable compensation for the right of way and bear such proportionate share of the amount due as was equitable and right. It prayed for a sale of the other lands first, and an order of reference to ascertain what proportion of the purchase money debt it should pay, and prayed that its answer be taken as a cross-bill. The complainant moved to dismiss the cross-bill for want of equity, which motion was overruled. On final submission, the following decree was rendered, and complainant appealed: “And, upon consideration, it is ordered, adjudged and decreed that the complainant, the First National Bank of Gadsden, has a lien upon the lands described in the bill for' the purchase money thereof, and that complainant is entitled to relief.
“It is therefore ordered that it be referred to the register to ascertain the amount now due by the defendants to the complainant for the purchase money of the real estate [described] in the bill in this cause, principal and interest to the date of his report, and that he report the amount of the land held by the said Chattanooga Southern Railroad Company ; also ascertain the value of said land, as it was before it was changed in its condition, irrespective of the structure put upon it by the railroad company, and that he will report to the present term of the court as soon as may be.”
There are other questions, but a consideration of those, presented by this statement, is conclusive of all others.
The first material question of merit is whether the complainant is entitled to have the road-b'ed and right of way sold to satisfy its claim, or whether the respondent railroad company is liable only to make just compensation for the lands taken. It will be seen from the statement of facts, that the railroad corporation went into possession, under a conveyance from the owner in fee, and constructed its road by virtue of this right, having constructive knowledge that there was a lien upon the land to secure the payment of the purchase money. The railroad was in no sense a trespasser, nor did the failure of Mrs. Thompson to meet her obligation to her vendor, Eaton, or his assignee, convert their conduct into a wrong. The general rule is, when fixed improvements are placed upon real property, they become realty *169and subject to an existing mortgage or lien, but it would be inequitable to apply this rule, when the right of eminent domain exists, and parties in good faith under a purchase of land from the owner in fee, enter into possession, and subject the property to the same uses to which it might have been subjected by ad quod damnum proceedings. The most that a mortgagee or lienee can claim m such cases, is full compensation for the lands appropriated. The powers of a court of equity are adequate to ascertain and decree the amount to be paid as damages or compensation. The case of North Hudson R. R. Co. v. Booraem, 28 N. J. Eq. 450, is an authority directly in point, and the conclusion reached rests upon sound equitable principles and is sustained by authorities cited. The general principle declared in the case of Jones v. N. O. & S. Railroad Co., 70 Ala. 227, as applied to the facts of the present case, are in harmony with these conclusions.
We find no error in the record available to appellant.
Affirmed.