Can the landlord also terminate?

The landlord can terminate the agreement if this is specified in the tenancy agreement in advance. A condition is that it can only happen on the date agreed.