Opinion by
The contract of September 22, 1914, executed under seal by Roberta Y. Strong, out of which this action arises, contained the following covenant: “the said title to be good and marketable and satisfactory to the said M. A. Brinton, his heirs and assigns and the said land to be clear of all liens and encumbrances.” It must be admitted that the occupancy by the railroad company of that portion of the farm covered by the release of the heirs of.John Strong dated January 28,1891, constitutes an encumbrance. That document not only recognizes a right of way but provides that no nonuser of the strip of land or any part thereof by the railroad company, its successors or assigns or any user, occupation or possession thereof or of any part thereof by the said Strong heirs or by their heirs, executors, administrators or assigns whether by residence, cultivation, enclosure or otherwise for any period of time whether for twenty-one years or longer shall in any manner affect the right or title of the said railroad company, its successors and assigns to the entire and exclusive possession of the same. A permanent right of exclusive occupancy is thereby fixed on the land and to that extent the owner was not able to convey a title “good and marketable and satisfactory” to the grantee and “clear of all encumbrances.” It is agreed in the case stated that the total depreciation of the farm by reason thereof is $404.60, which is the retained purchase-money Claimed in this action. If the plaintiff were pursuing her remedy on the contract it is plain that there could be no recovery on the agreed facts, for the defendant having protected himself against encumbrances by a positive covenant that the property shall be conveyed clear .of all encumbrances is entitled to the benefit of his contract and this is true whether he had knowledge of the existence of the encumbrance or not Evans v. Taylor, 177 Pa. 286; Patterson v. Freihofer, 215 Pa. 47. Whatever may be the obligation of the grantor under the covenant of general warranty or
The judgment is affirmed.