https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CIV§ionNum=1946.7
CHAPTER 2. Hiring of Real Property [1940 - 1954.06]
( Chapter 2 enacted 1872. )
1946.7.
(a) A tenant may notify the landlord that the tenant intends to terminate the tenancy if the tenant, a household member, or an immediate family member was the victim of an act that constitutes any of the following:
(1) Domestic violence as defined in Section 6211 of the Family Code.