Under Civil Code 4740(a), an amendment to CC&Rs prohibiting the leasing or rental of units within a common interest development are not effective against those who acquired their ownership of property within the development before the amendment was adopted. This decision holds that the section applies to an amendment banning short-term rentals or leases, not just provisions that ban all leasing or rental.