I. The facts of the case, so far as they are necessary to be considered in determining the rights of the parties, are established by the testimony before us to be as follows: The Des Moines Valley Railroad Company, in 1865, purchased the property in question, two lots in the town of Monroe, and, under the title thus acquired, then entered into possession. The plaintiff claims all the property of the Des Moines Valley Railway Company, under a sale and deed executed, upon the foreclosure of a mortgage, to its grantors. They acquired this title, and took possession of the property, in 1874. After plaintiff acquired the property, defendants Lounsberry and Johnston entered upon the lots, under an agreement with plaintiff’s superintendent, and built a barn thereon. The terms of agreement were, in effect, that they should pay no rent, and should not hold plaintiff liable for any loss or destruction of the buildings by fire, caused by the engines running upon the road. They were to surrender the *13possession upon notice from plaintiff. The date of this agreement is not shown further than that it was in 1874. It does not clearly appear whether defendants held possession of all of the lots under this arrangement, though we think the testimony supports such a conclusion.
The -lots were sold for taxes in October, 1866, and a treasurer’s deed executed upon the sale, December 20, 1869, to defendant Lindley. On the 28th day of January, 1875, while Lounsberry and Johnston were in possession of the lots, as set out above, Lindley conveyed the property to these defendants, who now claim to hold it under the title then acquired. The relation, or tenancy, existing between defendants and plaintiff, was not terminated by notice, or otherwise, when defendants purchased the property of Lindley.
II. We conclude that the decree of the court below is well supported by the facts of the case, for the following reasons :
1. TAX TITLEk acquire The defendants held the land under the plaintiff at the time they acquired the tax title. They insist, however, that they did not hold the land under a lease, but under a license, and, therefore, the relation of landlord and tenant did not exist between the parties. Let this-be admitted. Their possession as licensees was the possession of the plaintiff. Such would be the case did a lease exist. It must be true in the case of a license, which is but a permission to use or occupy land for a specified purpose. Taylor’s Landlord and Tenant, §§ 31, 86; Washburn on Eeal Property, p. 398. The possession of land held by a tenant or licensee, in contemplation of law, is in the landlord or licensor. The plaintiff, whether defendants were lessees or licensees, must be regarded as not having parted with the possession of the lots.
2. —: —: Rations. Plaintiff had been more than five years in possession after the tax deed was executed, when defendants purchased the tax title. The right to recover thereon is barred in that time, and plaintiffs can set up the bar of; *14the statute in this action. Hintrager v. Hennessy, 46 Iowa, 600; Wallace v. Sexton & Son, 44 Id. 257; Patton v. Luther, 47 Id. 236.
As has been remarked, defendants’ relation as licensees, or lessees, had not been terminated when they acquired the tax title. Could that title, in their hands, defeat plaintiff’s right to the lots ? We conclude that it could not, for they could acquire no higher right than their grantor, and, as we have seen, his right to recover the property was barred by the statute of limitations. The possession which they held after they acquired the tax title can give them no right to recover, for the rights of the parties must be determined as they were at the time they acquired the title. Surely it cannot be claimed that their tax title received force and vitality from their subsequent act in terminating their relation as licensees.
3. ——; depussession.' III. It is claimed that plaintiff has failed to show, by the testimony, that it holds the legal title to the lots, there being defects in its chain of title. Let this also be admitted. As against defendants, its right is based upon its possession, which was under claim and color of title. This right was not, as we have shown, defeated by defendants’ tax title. Plaintiff is in equity entitled to recover the possession of the land, and hold it as against defendants, who are setting up the tax title to protect their possession. Equity will restore plaintiff to its rights in the property, which can only be done by restoring the possession, and will declare the tax title void as against plaintiff. The relief granted by the decree of the District Court is authorized by the law.
This view of the case renders the consideration of other questions raised by counsel unnecessary.
Affirmed.