Leases can be tricky. It is a weird area of the law where contract and property law fuses, and a lot depends on the terms of the lease and how it is assigned when the property is transferred.
In short, you would be bound by the lease, as there will be privity of estate between you and whoever...