Indian Encasements Act, 1882
19. Transfer of dominant heritage passes easement
Where the dominant heritage is transferred or devolves, by act of parties or by operation of law, the transfer or devolution shall, unless a contrary intention appears, be deemed to pass the easement to the person in whose favor the transfer or devolution takes place.
A has certain land to which a right of way is annexed. A lets the land to B for twenty years. The right of way vests in B and his legal representatives so long as the lease continues.