A person, merely by reason of having acquired an estate subject to a covenant running with the land, is not liable for a breach of the covenant before the person acquired the estate or after the person has parted with the estate or ceased to enjoy its benefits.
§ 70-17-205, MCA