Answer:
In Massachusetts - many other states - the law prohibits a landlord from prosecuting a no-fault eviction soon after there are uncorrected code violations in the unit. There is an assumption that the tenant is being evicted in retailation for reporting the violations to authorities. The tenant can, however, be evicted for a reason, such as non-payment of rent.