Opinion by
Appellant, to whom an undivided one-half interest in real estate had been awarded in partition proceedings,'— he already having title to the other half interest,— brought a proceeding in the court below to obtain possession of the property then held by a tenant for years. He bases his claim on the Act of March 16, 1905, P. L. 42, the second section of which provides that the party to whom land shall be adjudged in partition, may obtain possession thereof, in like manner as if the same had been sold by virtue of an execution, and on section 14 of the Act of April 20,1905, P. L. 239, which provides for the recovery of possession after judicial sales in the following terms: “The right of possession of a tenant for years shall be deemed paramount to that of a purchaser at a judicial sale, if, and only if, the letting to him shall precede, in point of date, the entry of the judgment, order or decree on which such sale was had, and also shall precede the recording or registering of the mortgage, deed or will, if any, through which by legal proceedings, the purchaser derives title, unless the letting is made with actual notice to such tenant of the contemplated entry of such judgment, order or decree, or of the fact of the execution of such mortgage, deed or instrument of writing, and with intent to avoid the effect thereof.”
The decree is affirmed at appellant’s cost.