Civil Code for Unlawful Detainer

51. (a) This section shall be known, and may be cited, as the Unruh Civil Rights Act.

(b) All persons within the jurisdiction of this state are free and equal, and no matter what their sex, race, color, religion, ancestry, national origin, disability, medical condition, marital status, or sexual orientation are entitled to the full and equal accommodations, advantages, facilities, privileges, or services in all business establishments of every kind whatsoever.

(c) This section shall not be construed to confer any right or privilege on a person that is conditioned or limited by law or that is applicable alike to persons of every sex, color, race, religion, ancestry, national origin, disability, medical condition, marital status, or sexual orientation.

(d) Nothing in this section shall be construed to require any construction, alteration, repair, structural or otherwise, or modification of any sort whatsoever, beyond that construction, alteration, repair, or modification that is otherwise required by other provisions of law, to any new or existing establishment, facility, building, improvement, or any other structure, nor shall anything in this section be construed to augment, restrict, or alter in any way the authority of the State Architect to require construction, alteration, repair, or modifications that the State Architect otherwise possesses pursuant to other laws.

(e) For purposes of this section:

(1) "Disability" means any mental or physical disability as defined in Sections 12926 and 12926.1 of the Government Code.

(2) "Medical condition" has the same meaning as defined in subdivision (h) of Section 12926 of the Government Code.

(3) "Religion" includes all aspects of religious belief, observance, and practice.

(4) "Sex" has the same meaning as defined in subdivision (p) of Section 12926 of the Government Code.

(5) "Sex, race, color, religion, ancestry, national origin, disability, medical condition, marital status, or sexual orientation" includes a perception that the person has any particular characteristic or characteristics within the listed categories or that the person is associated with a person who has, or is perceived to have, any particular characteristic or characteristics within the listed categories.

(6) "Sexual orientation" has the same meaning as defined in subdivision (q) of Section 12926 of the Government Code.

(f) A violation of the right of any individual under the Americans with Disabilities Act of 1990 (Public Law 101-336) shall also constitute a violation of this section.

789. A tenancy or other estate at will, however created, may be terminated by the landlord's giving notice in writing to the tenant, in the manner prescribed by Section 1162 of the Code of Civil Procedure, to remove from the premises within a period of not less than 30 days, to be specified in the notice.

789.3. (a) A landlord shall not with intent to terminate the occupancy under any lease or other tenancy or estate at will, however created, of property used by a tenant as his residence willfully cause, directly or indirectly, the interruption or termination of any utility service furnished the tenant, including, but not limited to, water, heat, light, electricity, gas, telephone, elevator, or refrigeration, whether or not the utility service is under the control of the landlord.

(b) In addition, a landlord shall not, with intent to terminate the occupancy under any lease or other tenancy or estate at will, however created, of property used by a tenant as his or her residence, willfully:

(1) Prevent the tenant from gaining reasonable access to the property by changing the locks or using a bootlock or by any other similar method or device;

(2) Remove outside doors or windows; or

(3) Remove from the premises the tenant's personal property, the furnishings, or any other items without the prior written consent of the tenant, except when done pursuant to the procedure set forth in Chapter 5 (commencing with Section 1980) of Title 5 of Part 4 of Division 3. Nothing in this subdivision shall be construed to prevent the lawful eviction of a tenant by appropriate legal authorities, nor shall anything in this subdivision apply to occupancies defined by subdivision (b) of Section 1940.

(c) Any landlord who violates this section shall be liable to the tenant in a civil action for all of the following:

(1) Actual damages of the tenant.

(2) An amount not to exceed one hundred dollars ($100) for each day or part thereof the landlord remains in violation of this section. In determining the amount of such award, the court shall consider proof of such matters as justice may require; however, in no event shall less than two hundred fifty dollars ($250) be awarded for each separate cause of action. Subsequent or repeated violations, which are not committed contemporaneously with the initial violation, shall be treated as separate causes of action and shall be subject to a separate award of damages.

(d) In any action under subdivision (c) the court shall award reasonable attorney's fees to the prevailing party. In any such action the tenant may seek appropriate injunctive relief to prevent continuing or further violation of the provisions of this section during the pendency of the action. The remedy provided by this section is not exclusive and shall not preclude the tenant from pursuing any other remedy which the tenant may have under any other provision of law.

790. After such notice has been served, and the period specified by such notice has expired, but not before, the landlord may reenter, or proceed according to law to recover possession.

1717. (a) In any action on a contract, where the contract specifically provides that attorney's fees and costs, which are incurred to enforce that contract, shall be awarded either to one of the parties or to the prevailing party, then the party who is determined to be the party prevailing on the contract, whether he or she is the party specified in the contract or not, shall be entitled to reasonable attorney's fees in addition to other costs.

Where a contract provides for attorney's fees, as set forth above, that provision shall be construed as applying to the entire contract, unless each party was represented by counsel in the negotiation and execution of the contract, and the fact of that representation is specified in the contract.

Reasonable attorney's fees shall be fixed by the court, and shall be an element of the costs of suit.

Attorney's fees provided for by this section shall not be subject to waiver by the parties to any contract which is entered into after the effective date of this section. Any provision in any such contract which provides for a waiver of attorney's fees is void.

(b) (1) The court, upon notice and motion by a party, shall determine who is the party prevailing on the contract for purposes of this section, whether or not the suit proceeds to final judgment. Except as provided in paragraph (2), the party prevailing on the contract shall be the party who recovered a greater relief in the action on the contract. The court may also determine that there is no party prevailing on the contract for purposes of this section.

(2) Where an action has been voluntarily dismissed or dismissed pursuant to a settlement of the case, there shall be no prevailing party for purposes of this section.

Where the defendant alleges in his or her answer that he or she tendered to the plaintiff the full amount to which he or she was entitled, and thereupon deposits in court for the plaintiff, the amount so tendered, and the allegation is found to be true, then the defendant is deemed to be a party prevailing on the contract within the meaning of this section.

Where a deposit has been made pursuant to this section, the court shall, on the application of any party to the action, order the deposit to be invested in an insured, interest-bearing account. Interest on the amount shall be allocated to the parties in the same proportion as the original funds are allocated.

(c) In an action which seeks relief in addition to that based on a contract, if the party prevailing on the contract has damages awarded against it on causes of action not on the contract, the amounts awarded to the party prevailing on the contract under this section shall be deducted from any damages awarded in favor of the party who did not prevail on the contract. If the amount awarded under this section exceeds the amount of damages awarded the party not prevailing on the contract, the net amount shall be awarded the party prevailing on the contract and judgment may be entered in favor of the party prevailing on the contract for that net amount.

1927. An agreement to let upon hire binds the letter to secure to the hirer the quiet possession of the thing hired during the term of the hiring, against all persons lawfully claiming the same.

1929. The hirer of a thing must repair all deteriorations or injuries thereto occasioned by his want of ordinary care.

1940.2. (a) It is unlawful for a landlord to do any of the following for the purpose of influencing a tenant to vacate a dwelling:

(1) Engage in conduct that violates subdivision (a) of Section 484 of the Penal Code.

(2) Engage in conduct that violates Section 518 of the Penal Code.

(3) Use, or threaten to use, force, willful threats, or menacing conduct constituting a course of conduct that interferes with the tenant's quiet enjoyment of the premises in violation of Section 1927 that would create an apprehension of harm in a reasonable person. Nothing in this paragraph requires a tenant to be actually or constructively evicted in order to obtain relief.

(4) Commit a significant and intentional violation of Section 1954.

(b) A tenant who prevails in a civil action, including an action in small claims court, to enforce his or her rights under this section is entitled to a civil penalty in an amount not to exceed two thousand dollars ($2,000) for each violation.

(c) An oral or written warning notice, given in good faith, regarding conduct by a tenant, occupant, or guest that violates, may violate, or violated the applicable rental agreement, rules, regulations, lease, or laws, is not a violation of this section. An oral or written explanation of the rental agreement, rules, regulations, lease, or laws given in the normal course of business is not a violation of this section.

(d) Nothing in this section shall enlarge or diminish a landlord's right to terminate a tenancy pursuant to existing state or local law; nor shall this section enlarge or diminish any ability of local government to regulate or enforce a prohibition against a landlord's harassment of a tenant.

1940.6. (a) The owner of a residential dwelling unit or the owner's agent who applies to any public agency for a permit to demolish that residential dwelling unit shall give written notice of that fact to:

(1) A prospective tenant prior to the occurrence of any of the following actions by the owner or the owner's agent:

(A) Entering into a rental agreement with a prospective tenant.

(B) Requiring or accepting payment from the prospective tenant for an application screening fee, as provided in Section 1950.6.

(C) Requiring or accepting any other fees from a prospective tenant.

(D) Requiring or accepting any writings that would initiate a tenancy.

(2) A current tenant, including a tenant who has entered into a rental agreement but has not yet taken possession of the dwelling unit, prior to applying to the public agency for the permit to demolish that residential dwelling unit.

(b) The notice shall include the earliest possible approximate date on which the owner expects the demolition to occur and the approximate date on which the owner will terminate the tenancy. However, in no case may the demolition for which the owner or the owner's agent has applied occur prior to the earliest possible approximate date noticed.

(c) If a landlord fails to comply with subdivision (a) or (b), a tenant may bring an action in a court of competent jurisdiction. The remedies the court may order shall include, but are not limited to, the following:

(1) In the case of a prospective tenant who moved into a residential dwelling unit and was not informed as required by subdivision (a) or (b), the actual damages suffered, moving expenses, and a civil penalty not to exceed two thousand five hundred dollars ($2,500) to be paid by the landlord to the tenant.

(2) In the case of a current tenant who was not informed as required by subdivision (a) or (b), the actual damages suffered, and a civil penalty not to exceed two thousand five hundred dollars ($2,500) to be paid by the landlord to the tenant.

(3) In any action brought pursuant to this section, the prevailing party shall be entitled to reasonable attorney's fees.

(d) The remedies available under this section are cumulative to other remedies available under law.

(e) This section shall not be construed to preempt other laws regarding landlord obligations or disclosures, including, but not limited to, those arising pursuant to Chapter 12.75 (commencing with Section 7060) of Division 7 of Title 1 of the Government Code.

(f) For purposes of this section:

(1) "Residential dwelling unit" has the same meaning as that contained in Section 1940.

(2) "Public agency" has the same meaning as that contained in Section 21063 of the Public Resources Code.

1941. The lessor of a building intended for the occupation of human beings must, in the absence of an agreement to the contrary, put it into a condition fit for such occupation, and repair all subsequent dilapidations thereof, which render it untenantable, except such as are mentioned in section nineteen hundred and twenty-nine.

1941.1. A dwelling shall be deemed untenantable for purposes of Section 1941 if it substantially lacks any of the following affirmative standard characteristics or is a residential unit described in Section 17920.3 or 17920.10 of the Health and Safety Code:

(a) Effective waterproofing and weather protection of roof and exterior walls, including unbroken windows and doors.

(b) Plumbing or gas facilities that conformed to applicable law in effect at the time of installation, maintained in good working order.

(c) A water supply approved under applicable law that is under the control of the tenant, capable of producing hot and cold running water, or a system that is under the control of the landlord, that produces hot and cold running water, furnished to appropriate fixtures, and connected to a sewage disposal system approved under applicable law.

(d) Heating facilities that conformed with applicable law at the time of installation, maintained in good working order.

(e) Electrical lighting, with wiring and electrical equipment that conformed with applicable law at the time of installation, maintained in good working order.

(f) Building, grounds, and appurtenances at the time of the commencement of the lease or rental agreement, and all areas under control of the landlord, kept in every part clean, sanitary, and free from all accumulations of debris, filth, rubbish, garbage, rodents, and vermin.

(g) An adequate number of appropriate receptacles for garbage and rubbish, in clean condition and good repair at the time of the commencement of the lease or rental agreement, with the landlord providing appropriate serviceable receptacles thereafter and being responsible for the clean condition and good repair of the receptacles under his or her control.

(h) Floors, stairways, and railings maintained in good repair.

(i) A locking mail receptacle for each residential unit in a residential hotel, as required by Section 17958.3 of the Health and Safety Code. This subdivision shall become operative on July 1, 2008.

1941.2. (a) No duty on the part of the landlord to repair a dilapidation shall arise under Section 1941 or 1942 if the tenant is in substantial violation of any of the following affirmative obligations, provided the tenant's violation contributes substantially to the existence of the dilapidation or interferes substantially with the landlord's obligation under Section 1941 to effect the necessary repairs:

(1) To keep that part of the premises which he occupies and uses clean and sanitary as the condition of the premises permits.

(2) To dispose from his dwelling unit of all rubbish, garbage and other waste, in a clean and sanitary manner.

(3) To properly use and operate all electrical, gas and plumbing fixtures and keep them as clean and sanitary as their condition permits.

(4) Not to permit any person on the premises, with his permission, to willfully or wantonly destroy, deface, damage, impair or remove any part of the structure or dwelling unit or the facilities, equipment, or appurtenances thereto, nor himself do any such thing.

(5) To occupy the premises as his abode, utilizing portions thereof for living, sleeping, cooking or dining purposes only which were respectively designed or intended to be used for such occupancies.

(b) Paragraphs (1) and (2) of subdivision (a) shall not apply if the landlord has expressly agreed in writing to perform the act or acts mentioned therein.

1941.3. (a) On and after July 1, 1998, the landlord, or his or her agent, of a building intended for human habitation shall do all of the following:

(1) Install and maintain an operable dead bolt lock on each main swinging entry door of a dwelling unit. The dead bolt lock shall be installed in conformance with the manufacturer's specifications and shall comply with applicable state and local codes including, but not limited to, those provisions relating to fire and life safety and accessibility for the disabled. When in the locked position, the bolt shall extend a minimum of 13/16 of an inch in length beyond the strike edge of the door and protrude into the doorjamb.

This section shall not apply to horizontal sliding doors. Existing dead bolts of at least one-half inch in length shall satisfy the requirements of this section. Existing locks with a thumb-turn deadlock that have a strike plate attached to the doorjamb and a latch bolt that is held in a vertical position by a guard bolt, a plunger, or an auxiliary mechanism shall also satisfy the requirements of this section. These locks, however, shall be replaced with a dead bolt at least 13/16 of an inch in length the first time after July 1, 1998, that the lock requires repair or replacement.

Existing doors which cannot be equipped with dead bolt locks shall satisfy the requirements of this section if the door is equipped with a metal strap affixed horizontally across the midsection of the door with a dead bolt which extends 13/16 of an inch in length beyond the strike edge of the door and protrudes into the doorjamb. Locks and security devices other than those described herein which are inspected and approved by an appropriate state or local government agency as providing adequate security shall satisfy the requirements of this section.

(2) Install and maintain operable window security or locking devices for windows that are designed to be opened. Louvered windows, casement windows, and all windows more than 12 feet vertically or six feet horizontally from the ground, a roof, or any other platform are excluded from this subdivision.

(3) Install locking mechanisms that comply with applicable fire and safety codes on the exterior doors that provide ingress or egress to common areas with access to dwelling units in multifamily developments. This paragraph does not require the installation of a door or gate where none exists on January 1, 1998.

(b) The tenant shall be responsible for notifying the owner or his or her authorized agent when the tenant becomes aware of an inoperable dead bolt lock or window security or locking device in the dwelling unit. The landlord, or his or her authorized agent, shall not be liable for a violation of subdivision (a) unless he or she fails to correct the violation within a reasonable time after he or she either has actual notice of a deficiency or receives notice of a deficiency.

(c) On and after July 1, 1998, the rights and remedies of tenant for a violation of this section by the landlord shall include those available pursuant to Sections 1942, 1942.4, and 1942.5, an action for breach of contract, and an action for injunctive relief pursuant to Section 526 of the Code of Civil Procedure. Additionally, in an unlawful detainer action, after a default in the payment of rent, a tenant may raise the violation of this section as an affirmative defense and shall have a right to the remedies provided by Section 1174.2 of the Code of Civil Procedure.

(d) A violation of this section shall not broaden, limit, or otherwise affect the duty of care owed by a landlord pursuant to existing law, including any duty that may exist pursuant to Section 1714. The delayed applicability of the requirements of subdivision (a) shall not affect a landlord's duty to maintain the premises in safe condition.

(e) Nothing in this section shall be construed to affect any authority of any public entity that may otherwise exist to impose any additional security requirements upon a landlord.

(f) This section shall not apply to any building which has been designated as historically significant by an appropriate local, state, or federal governmental jurisdiction.

(g) Subdivisions (a) and (b) shall not apply to any building intended for human habitation which is managed, directly or indirectly, and controlled by the Department of Transportation. This exemption shall not be construed to affect the duty of the Department of Transportation to maintain the premises of these buildings in a safe condition or abrogate any express or implied statement or promise of the Department of Transportation to provide secure premises. Additionally, this exemption shall not apply to residential dwellings acquired prior to July 1, 1997, by the Department of Transportation to complete construction of state highway routes 710 and 238 and related interchanges.

1942. (a) If within a reasonable time after written or oral notice to the landlord or his agent, as defined in subdivision (a) of Section 1962, of dilapidations rendering the premises untenantable which the landlord ought to repair, the landlord neglects to do so, the tenant may repair the same himself where the cost of such repairs does not require an expenditure more than one month's rent of the premises and deduct the expenses of such repairs from the rent when due, or the tenant may vacate the premises, in which case the tenant shall be discharged from further payment of rent, or performance of other conditions as of the date of vacating the premises. This remedy shall not be available to the tenant more than twice in any 12-month period.

(b) For the purposes of this section, if a tenant acts to repair and deduct after the 30th day following notice, he is presumed to have acted after a reasonable time. The presumption established by this subdivision is a rebuttable presumption affecting the burden of producing evidence and shall not be construed to prevent a tenant from repairing and deducting after a shorter notice if all the circumstances require shorter notice.

(c) The tenant's remedy under subdivision (a) shall not be available if the condition was caused by the violation of Section 1929 or 1941.2.

(d) The remedy provided by this section is in addition to any other remedy provided by this chapter, the rental agreement, or other applicable statutory or common law.

1942.1. Any agreement by a lessee of a dwelling waiving or modifying his rights under Section 1941 or 1942 shall be void as contrary to public policy with respect to any condition which renders the premises untenantable, except that the lessor and the lessee may agree that the lessee shall undertake to improve, repair or maintain all or stipulated portions of the dwelling as part of the consideration for rental.

The lessor and lessee may, if an agreement is in writing, set forth the provisions of Sections 1941 to 1942.1, inclusive, and provide that any controversy relating to a condition of the premises claimed to make them untenantable may by application of either party be submitted to arbitration, pursuant to the provisions of Title 9 (commencing with Section 1280), Part 3 of the Code of Civil Procedure, and that the costs of such arbitration shall be apportioned by the arbitrator between the parties.

1942.3. (a) In any unlawful detainer action by the landlord to recover possession from a tenant, a rebuttable presumption affecting the burden of producing evidence that the landlord has breached the habitability requirements in Section 1941 is created if all of the following conditions exist:

(1) The dwelling substantially lacks any of the affirmative standard characteristics listed in Section 1941.1, is deemed and declared substandard pursuant to Section 17920.3 of the Health and Safety Code, or contains lead hazards as defined in Section 17920.10 of the Health and Safety Code.

(2) A public officer or employee who is responsible for the enforcement of any housing law has notified the landlord, or an agent of the landlord, in a written notice issued after inspection of the premises which informs the landlord of his or her obligation to abate the nuisance or repair the substandard or unsafe conditions identified under the authority described in paragraph (1).

(3) The conditions have existed and have not been abated 60 days beyond the date of issuance of the notice specified in paragraph (2) and the delay is without good cause.

(4) The conditions were not caused by an act or omission of the tenant or lessee in violation of Section 1929 or 1941.2.

(b) The presumption specified in subdivision (a) does not arise unless all of the conditions set forth therein are proven, but failure to so establish the presumption shall not otherwise affect the right of the tenant to raise and pursue any defense based on the landlord's breach of the implied warranty of habitability.

(c) The presumption provided in this section shall apply only to rental agreements or leases entered into or renewed on or after January 1, 1986.

1942.4. (a) A landlord of a dwelling may not demand rent, collect rent, issue a notice of a rent increase, or issue a three-day notice to pay rent or quit pursuant to subdivision (2) of Section 1161 of the Code of Civil Procedure, if all of the following conditions exist prior to the landlord's demand or notice:

(1) The dwelling substantially lacks any of the affirmative standard characteristics listed in Section 1941.1 or violates Section 17920.10 of the Health and Safety Code, or is deemed and declared substandard as set forth in Section 17920.3 of the Health and Safety Code because conditions listed in that section exist to an extent that endangers the life, limb, health, property, safety, or welfare of the public or the occupants of the dwelling.

(2) A public officer or employee who is responsible for the enforcement of any housing law, after inspecting the premises, has notified the landlord or the landlord's agent in writing of his or her obligations to abate the nuisance or repair the substandard conditions.

(3) The conditions have existed and have not been abated 35 days beyond the date of service of the notice specified in paragraph (2) and the delay is without good cause. For purposes of this subdivision, service shall be complete at the time of deposit in the United States mail.

(4) The conditions were not caused by an act or omission of the tenant or lessee in violation of Section 1929 or 1941.2.

(b) (1) A landlord who violates this section is liable to the tenant or lessee for the actual damages sustained by the tenant or lessee and special damages of not less than one hundred dollars ($100) and not more than five thousand dollars ($5,000).

(2) The prevailing party shall be entitled to recovery of reasonable attorney's fees and costs of the suit in an amount fixed by the court.

(c) Any court that awards damages under this section may also order the landlord to abate any nuisance at the rental dwelling and to repair any substandard conditions of the rental dwelling, as defined in Section 1941.1, which significantly or materially affect the health or safety of the occupants of the rental dwelling and are uncorrected. If the court orders repairs or corrections, or both, the court's jurisdiction continues over the matter for the purpose of ensuring compliance.

(d) The tenant or lessee shall be under no obligation to undertake any other remedy prior to exercising his or her rights under this section.

(e) Any action under this section may be maintained in small claims court if the claim does not exceed the jurisdictional limit of that court.

(f) The remedy provided by this section may be utilized in addition to any other remedy provided by this chapter, the rental agreement, lease, or other applicable statutory or common law. Nothing in this section shall require any landlord to comply with this section if he or she pursues his or her rights pursuant to Chapter 12.75 (commencing with Section 7060) of Division 7 of Title 1 of the Government Code.

1942.5 (a) If the lessor retaliates against the lessee because of the exercise by the lessee of his rights under this chapter or because of his complaint to an appropriate agency as to tenantability of a dwelling, and if the lessee of a dwelling is not in default as to the payment of his rent, the lessor may not recover possession of a dwelling in any action or proceeding, cause the lessee to quit involuntarily, increase the rent, or decrease any services within 180 days of any of the following:

(1) After the date upon which the lessee, in good faith, has given notice pursuant to Section 1942, or has made an oral complaint to the lessor regarding tenantability.

(2) After the date upon which the lessee, in good faith, has filed a written complaint, or an oral complaint which is registered or otherwise recorded in writing, with an appropriate agency, of which the lessor has notice, for the purpose of obtaining correction of a condition relating to tenantability.

(3) After the date of an inspection or issuance of a citation, resulting from a complaint described in paragraph (2) of which the lessor did not have notice.

(4) After the filing of appropriate documents commencing a judicial or arbitration proceeding involving the issue of tenantability.

(5) After entry of judgment or the signing of an arbitration award, if any, when in the judicial proceeding or arbitration the issue of tenantability is determined adversely to the lessor. In each instance, the 180-day period shall run from the latest applicable date referred to in paragraphs (1) to (5), inclusive.

(b) A lessee may not invoke subdivision (a) more than once in any 12-month period.

(c) It is unlawful for a lessor to increase rent, decrease services, cause a lessee to quit involuntarily, bring an action to recover possession, or threaten to do any of those acts, for the purpose of retaliating against the lessee because he or she has lawfully organized or participated in a lessees' association or an organization advocating lessees' rights or has lawfully and peaceably exercised any rights under the law. In an action brought by or against the lessee pursuant to this subdivision, the lessee shall bear the burden of producing evidence that the lessor's conduct was, in fact, retaliatory.

(d) Nothing in this section shall be construed as limiting in any way the exercise by the lessor of his or her rights under any lease or agreement or any law pertaining to the hiring of property or his or her right to do any of the acts described in subdivision (a) or (c) for any lawful cause. Any waiver by a lessee of his or her rights under this section is void as contrary to public policy.

(e) Notwithstanding subdivisions (a) to (d), inclusive, a lessor may recover possession of a dwelling and do any of the other acts described in subdivision (a) within the period or periods prescribed therein, or within subdivision (c), if the notice of termination, rent increase, or other act, and any pleading or statement of issues in an arbitration, if any, states the ground upon which the lessor, in good faith, seeks to recover possession, increase rent, or do any of the other acts described in subdivision (a) or (c). If the statement is controverted, the lessor shall establish its truth at the trial or other hearing.

(f) Any lessor or agent of a lessor who violates this section shall be liable to the lessee in a civil action for all of the following:

(1) The actual damages sustained by the lessee.

(2) Punitive damages in an amount of not less than one hundred dollars ($100) nor more than two thousand dollars ($2,000) for each retaliatory act where the lessor or agent has been guilty of fraud, oppression, or malice with respect to that act.

(g) In any action brought for damages for retaliatory eviction, the court shall award reasonable attorney's fees to the prevailing party if either party requests attorney's fees upon the initiation of the action.

(h) The remedies provided by this section shall be in addition to any other remedies provided by statutory or decisional law.

1946. A hiring of real property, for a term not specified by the parties, is deemed to be renewed as stated in Section 1945, at the end of the term implied by law unless one of the parties gives written notice to the other of his intention to terminate the same, at least as long before the expiration thereof as the term of the hiring itself, not exceeding 30 days; provided, however, that as to tenancies from month to month either of the parties may terminate the same by giving at least 30 days' written notice thereof at any time and the rent shall be due and payable to and including the date of termination. It shall be competent for the parties to provide by an agreement at the time such tenancy is created that a notice of the intention to terminate the same may be given at any time not less than seven days before the expiration of the term thereof. The notice herein required shall be given in the manner prescribed in Section 1162 of the Code of Civil Procedure or by sending a copy by certified or registered mail addressed to the other party. In addition, the lessee may give such notice by sending a copy by certified or registered mail addressed to the agent of the lessor to whom the lessee has paid the rent for the month prior to the date of such notice or by delivering a copy to the agent personally.

1946.1. (a) Notwithstanding Section 1946, a hiring of residential real property for a term not specified by the parties, is deemed to be renewed as stated in Section 1945, at the end of the term implied by law unless one of the parties gives written notice to the other of his or her intention to terminate the tenancy, as provided in this section.

(b) An owner of a residential dwelling giving notice pursuant to this section shall give notice at least 60 days prior to the proposed date of termination. A tenant giving notice pursuant to this section shall give notice for a period at least as long as the term of the periodic tenancy prior to the proposed date of termination.

(c) Notwithstanding subdivision (b), an owner of a residential dwelling giving notice pursuant to this section shall give notice at least 30 days prior to the proposed date of termination if any tenant or resident has resided in the dwelling for less than one year.

(d) Notwithstanding subdivision (b), an owner of a residential dwelling giving notice pursuant to this section shall give notice at least 30 days prior to the proposed date of termination if all of the following apply:

(1) The dwelling or unit is alienable separate from the title to any other dwelling unit.

(2) The owner has contracted to sell the dwelling or unit to a bona fide purchaser for value, and has established an escrow with a licensed escrow agent, as defined in Sections 17004 and 17200 of the Financial Code, or a licensed real estate broker, as defined in Section 10131 of the Business and Professions Code.

(3) The purchaser is a natural person or persons.

(4) The notice is given no more than 120 days after the escrow has been established.

(5) Notice was not previously given to the tenant pursuant to this section.

(6) The purchaser in good faith intends to reside in the property for at least one full year after the termination of the tenancy.

(e) After an owner has given notice of his or her intention to terminate the tenancy pursuant to this section, a tenant may also give notice of his or her intention to terminate the tenancy pursuant to this section, provided that the tenant's notice is for a period at least as long as the term of the periodic tenancy and the proposed date of termination occurs before the owner's proposed date of termination.

(f) The notices required by this section shall be given in the manner prescribed in Section 1162 of the Code of Civil Procedure or by sending a copy by certified or registered mail.

(g) This section may not be construed to affect the authority of a public entity that otherwise exists to regulate or monitor the basis for eviction.

(h) This section shall remain in effect only until January 1, 2010, and as of that date is repealed, unless a later enacted statute, that is enacted before January 1, 2010, deletes or extends that date.

1947.10. (a) After July 1, 1990, in any city, county, or city and county which administers a system of controls on the price at which residential rental units may be offered for rent or lease and which requires the registration of rents, any owner who evicts a tenant based upon the owner's or the owner's immediate relative's intention to occupy the tenant's unit, shall be required to maintain residence in the unit for at least six continuous months. If a court determines that the eviction was based upon fraud by the owner or the owner's immediate relative to not fulfill this six-month requirement, a court may order the owner to pay treble the cost of relocating the tenant from his or her existing unit back into the previous unit and may order the owner to pay treble the amount of any increase in rent which the tenant has paid. If the tenant decides not to relocate back into the previous unit, the court may order the owner to pay treble the amount of one month's rent paid by the tenant for the unit from which he or she was evicted and treble the amount of any costs incurred in relocating to a different unit. The prevailing party shall be awarded attorney's fees and court costs.

(b) The remedy provided by this section shall not be construed to prohibit any other remedies available to a any party affected by this section.

1950.5. (a) This section applies to security for a rental agreement for residential property that is used as the dwelling of the tenant.

(b) As used in this section, "security" means any payment, fee, deposit or charge, including, but not limited to, any payment, fee, deposit, or charge, except as provided in Section 1950.6, that is imposed at the beginning of the tenancy to be used to reimburse the landlord for costs associated with processing a new tenant or that is imposed as an advance payment of rent, used or to be used for any purpose, including, but not limited to, any of the following:

(1) The compensation of a landlord for a tenant's default in the payment of rent.

(2) The repair of damages to the premises, exclusive of ordinary wear and tear, caused by the tenant or by a guest or licensee of the tenant.

(3) The cleaning of the premises upon termination of the tenancy necessary to return the unit to the same level of cleanliness it was in at the inception of the tenancy. The amendments to this paragraph enacted by the act adding this sentence shall apply only to tenancies for which the tenant's right to occupy begins after January 1, 2003.

(4) To remedy future defaults by the tenant in any obligation under the rental agreement to restore, replace, or return personal property or appurtenances, exclusive of ordinary wear and tear, if the security deposit is authorized to be applied thereto by the rental agreement.

(c) A landlord may not demand or receive security, however denominated, in an amount or value in excess of an amount equal to two months' rent, in the case of unfurnished residential property, and an amount equal to three months' rent, in the case of furnished residential property, in addition to any rent for the first month paid on or before initial occupancy. This subdivision does not prohibit an advance payment of not less than six months' rent if the term of the lease is six months or longer. This subdivision does not preclude a landlord and a tenant from entering into a mutual agreement for the landlord, at the request of the tenant and for a specified fee or charge, to make structural, decorative, furnishing, or other similar alterations, if the alterations are other than cleaning or repairing for which the landlord may charge the previous tenant as provided by subdivision (e).

(d) Any security shall be held by the landlord for the tenant who is party to the lease or agreement. The claim of a tenant to the security shall be prior to the claim of any creditor of the landlord.

(e) The landlord may claim of the security only those amounts as are reasonably necessary for the purposes specified in subdivision (b). The landlord may not assert a claim against the tenant or the security for damages to the premises or any defective conditions that preexisted the tenancy, for ordinary wear and tear or the effects thereof, whether the wear and tear preexisted the tenancy or occurred during the tenancy, or for the cumulative effects of ordinary wear and tear occurring during any one or more tenancies.

(f) (1) Within a reasonable time after notification of either party's intention to terminate the tenancy, or before the end of the lease term, the landlord shall notify the tenant in writing of his or her option to request an initial inspection and of his or her right to be present at the inspection. The requirements of this subdivision do not apply when the tenancy is terminated pursuant to subdivision (2), (3), or (4) of Section 1161 of the Code of Civil Procedure. At a reasonable time, but no earlier than two weeks before the termination or the end of lease date, the landlord, or an agent of the landlord, shall, upon the request of the tenant, make an initial inspection of the premises prior to any final inspection the landlord makes after the tenant has vacated the premises. The purpose of the initial inspection shall be to allow the tenant an opportunity to remedy identified deficiencies, in a manner consistent with the rights and obligations of the parties under the rental agreement, in order to avoid deductions from the security. If a tenant chooses not to request an initial inspection, the duties of the landlord under this subdivision are discharged. If an inspection is requested, the parties shall attempt to schedule the inspection at a mutually acceptable date and time. The landlord shall give at least 48 hours' prior written notice of the date and time of the inspection if either a mutual time is agreed upon, or if a mutually agreed time cannot be scheduled but the tenant still wishes an inspection. The tenant and landlord may agree to forgo the 48-hour prior written notice by both signing a written waiver. The landlord shall proceed with the inspection whether the tenant is present or not, unless the tenant previously withdrew his or her request for the inspection.

(2) Based on the inspection, the landlord shall give the tenant an itemized statement specifying repairs or cleaning that are proposed to be the basis of any deductions from the security the landlord intends to make pursuant to paragraphs (1) to (4), inclusive of subdivision (b). This statement shall also include the texts of paragraphs (1) to (4), inclusive, of subdivision (b). The statement shall be given to the tenant, if the tenant is present for the inspection, or shall be left inside the premises.

(3) The tenant shall have the opportunity during the period following the initial inspection until termination of the tenancy to remedy identified deficiencies, in a manner consistent with the rights and obligations of the parties under the rental agreement, in order to avoid deductions from the security.

(4) Nothing in this subdivision shall prevent a landlord from using the security for deductions itemized in the statement provided for in paragraph (2) that were not cured by the tenant so long as the deductions are for damages authorized by this section.

(5) Nothing in this subdivision shall prevent a landlord from using the security for any purpose specified in paragraphs (1) to

(4), inclusive, of subdivision (b) that occurs between completion of the initial inspection and termination of the tenancy or was not identified during the initial inspection due to the presence of a tenant's possessions.

(g) (1) No later than 21 calendar days after the tenant has vacated the premises, but not earlier than the time that either the landlord or the tenant provides a notice to terminate the tenancy under Section 1946 or 1946.1, Section 1161 of the Code of Civil Procedure, or not earlier than 60 calendar days prior to the expiration of a fixed-term lease, the landlord shall furnish the tenant, by personal delivery or by first-class mail, postage prepaid, a copy of an itemized statement indicating the basis for, and the amount of, any security received and the disposition of the security and shall return any remaining portion of the security to the tenant.

(2) Along with the itemized statement, the landlord shall also include copies of documents showing charges incurred and deducted by the landlord to repair or clean the premises, as follows:

(A) If the landlord or landlord's employee did the work, the itemized statement shall reasonably describe the work performed. The itemized statement shall include the time spent and the reasonable hourly rate charged.

(B) If the landlord or landlord's employee did not do the work, the landlord shall provide the tenant a copy of the bill, invoice, or receipt supplied by the person or entity performing the work. The itemized statement shall provide the tenant with the name, address, and telephone number of the person or entity, if the bill, invoice, or receipt does not include that information.

(C) If a deduction is made for materials or supplies, the landlord shall provide a copy of the bill, invoice, or receipt. If a particular material or supply item is purchased by the landlord on an ongoing basis, the landlord may document the cost of the item by providing a copy of a bill, invoice, receipt, vendor price list, or other vendor document that reasonably documents the cost of the item used in the repair or cleaning of the unit.

(3) If a repair to be done by the landlord or the landlord's employee cannot reasonably be completed within 21 calendar days after the tenant has vacated the premises, or if the documents from a person or entity providing services, materials, or supplies are not in the landlord's possession within 21 calendar days after the tenant has vacated the premises, the landlord may deduct the amount of a good faith estimate of the charges that will be incurred and provide that estimate with the itemized statement. If the reason for the estimate is because the documents from a person or entity providing services, materials, or supplies are not in the landlord's possession, the itemized statement shall include the name, address, and telephone number of the person or entity. Within 14 calendar days of completing the repair or receiving the documentation, the landlord shall complete the requirements in paragraphs (1) and (2) in the manner specified.

(4) The landlord need not comply with paragraph (2) or (3) if either of the following apply:

(A) The deductions for repairs and cleaning together do not exceed one hundred twenty-five dollars ($125).

(B) The tenant waived the rights specified in paragraphs (2) and

(3). The waiver shall only be effective if it is signed by the tenant at the same time or after a notice to terminate a tenancy under Section 1946 or 1946.1 has been given, a notice under Section 1161 of the Code of Civil Procedure has been given, or no earlier than 60 calendar days prior to the expiration of a fixed-term lease. The waiver shall substantially include the text of paragraph (2).

(5) Notwithstanding paragraph (4), the landlord shall comply with paragraphs (2) and (3) when a tenant makes a request for documentation within 14 calendar days after receiving the itemized statement specified in paragraph (1). The landlord shall comply within 14 calendar days after receiving the request from the tenant.

(6) Any mailings to the tenant pursuant to this subdivision shall be sent to the address provided by the tenant. If the tenant does not provide an address, mailings pursuant to this subdivision shall be sent to the unit that has been vacated.

(h) Upon termination of the landlord's interest in the premises, whether by sale, assignment, death, appointment of receiver or otherwise, the landlord or the landlord's agent shall, within a reasonable time, do one of the following acts, either of which shall relieve the landlord of further liability with respect to the security held:

(1) Transfer the portion of the security remaining after any lawful deductions made under subdivision (e) to the landlord's successor in interest. The landlord shall thereafter notify the tenant by personal delivery or by first-class mail, postage prepaid, of the transfer, of any claims made against the security, of the amount of the security deposited, and of the names of the successors in interest, their address, and their telephone number. If the notice to the tenant is made by personal delivery, the tenant shall acknowledge receipt of the notice and sign his or her name on the landlord's copy of the notice.

(2) Return the portion of the security remaining after any lawful deductions made under subdivision (e) to the tenant, together with an accounting as provided in subdivision (g).

(i) Prior to the voluntary transfer of a landlord's interest in the premises, the landlord shall deliver to the landlord's successor in interest a written statement indicating the following:

(1) The security remaining after any lawful deductions are made.

(2) An itemization of any lawful deductions from any security received.

(3) His or her election under paragraph (1) or (2) of subdivision

(h). This subdivision does not affect the validity of title to the real property transferred in violation of this subdivision.

(j) In the event of noncompliance with subdivision (h), the landlord's successors in interest shall be jointly and severally liable with the landlord for repayment of the security, or that portion thereof to which the tenant is entitled, when and as provided in subdivisions (e) and (g). A successor in interest of a landlord may not require the tenant to post any security to replace that amount not transferred to the tenant or successors in interest as provided in subdivision (h), unless and until the successor in interest first makes restitution of the initial security as provided in paragraph (2) of subdivision (h) or provides the tenant with an accounting as provided in subdivision (g). This subdivision does not preclude a successor in interest from recovering from the tenant compensatory damages that are in excess of the security received from the landlord previously paid by the tenant to the landlord. Notwithstanding this subdivision, if, upon inquiry and reasonable investigation, a landlord's successor in interest has a good faith belief that the lawfully remaining security deposit is transferred to him or her or returned to the tenant pursuant to subdivision (h), he or she is not liable for damages as provided in subdivision (l), or any security not transferred pursuant to subdivision (h).

(k) Upon receipt of any portion of the security under paragraph

(1) of subdivision (h), the landlord's successors in interest shall have all of the rights and obligations of a landlord holding the security with respect to the security.

(l) The bad faith claim or retention by a landlord or the landlord' s successors in interest of the security or any portion thereof in violation of this section, or the bad faith demand of replacement security in violation of subdivision (j), may subject the landlord or the landlord's successors in interest to statutory damages of up to twice the amount of the security, in addition to actual damages. The court may award damages for bad faith whenever the facts warrant that award, regardless of whether the injured party has specifically requested relief. In any action under this section, the landlord or the landlord's successors in interest shall have the burden of proof as to the reasonableness of the amounts claimed or the authority pursuant to this section to demand additional security deposits.

(m) No lease or rental agreement may contain any provision characterizing any security as "nonrefundable."

(n) Any action under this section may be maintained in small claims court if the damages claimed, whether actual or statutory or both, are within the jurisdictional amount allowed by Section 116.220 or 116.221 of the Code of Civil Procedure.

(o) Proof of the existence of and the amount of a security deposit may be established by any credible evidence, including, but not limited to, a canceled check, a receipt, a lease indicating the requirement of a deposit as well as the amount, prior consistent statements or actions of the landlord or tenant, or a statement under penalty of perjury that satisfies the credibility requirements set forth in Section 780 of the Evidence Code.

(p) The amendments to this section made during the 1985 portion of the 1985-86 Regular Session of the Legislature that are set forth in subdivision (e) are declaratory of existing law.

(q) The amendments to this section made during the 2003 portion of the 2003-04 Regular Session of the Legislature that are set forth in paragraph (1) of subdivision (f) are declaratory of existing law.

1950.8. (a) This section applies only to commercial leases and nonresidential tenancies of real property.

(b) It shall be unlawful for any person to require, demand, or cause to make payable any payment of money, including, but not limited to, "key money," however denominated, or the lessor's attorney's fees reasonably incurred in preparing the lease or rental agreement, as a condition of initiating, continuing, or renewing a lease or rental agreement, unless the amount of payment is stated in the written lease or rental agreement.

(c) Any person who requires, demands, or causes to make payable any payment in violation of subdivision (a), shall be subject to civil penalty of three times the amount of actual damages proximately suffered by the person seeking to obtain the lease or rental of real property, and the person so damaged shall be entitled to an award of costs, including reasonable attorney's fees, reasonable incurred in connection with obtaining the civil penalty.

(d) Nothing in this section shall prohibit the advance payment of rent, if the amount and character of the payment are clearly stated in a written lease or rental agreement.

(e) Nothing in this section shall prohibit any person from charging a reasonable amount for the purpose of conducting reasonable business activity in connection with initiating, continuing, or renewing a lease or rental agreement for nonresidential real property, including, but not limited to, verifying creditworthiness or qualifications of any person seeking to initiate, continue, or renew a lease or rental agreement for any use other than residential use, or cleaning fees, reasonably incurred in connection with the hiring of the real property.

(f) Nothing in this section shall prohibit a person from increasing a tenant's rent for nonresidential real property in order to recover building operating costs incurred on behalf of the tenant, if the right to the rent, the method of calculating the increase, and the period of time covered by the increase is stated in the lease or rental agreement.

1951.2. (a) Except as otherwise provided in Section 1951.4, if a lessee of real property breaches the lease and abandons the property before the end of the term or if his right to possession is terminated by the lessor because of a breach of the lease, the lease terminates. Upon such termination, the lessor may recover from the lessee:

(1) The worth at the time of award of the unpaid rent which had been earned at the time of termination;

(2) The worth at the time of award of the amount by which the unpaid rent which would have been earned after termination until the time of award exceeds the amount of such rental loss that the lessee proves could have been reasonably avoided;

(3) Subject to subdivision (c), the worth at the time of award of the amount by which the unpaid rent for the balance of the term after the time of award exceeds the amount of such rental loss that the lessee proves could be reasonably avoided; and

(4) Any other amount necessary to compensate the lessor for all the detriment proximately caused by the lessee's failure to perform his obligations under the lease or which in the ordinary course of things would be likely to result therefrom.

(b) The "worth at the time of award" of the amounts referred to in paragraphs (1) and (2) of subdivision (a) is computed by allowing interest at such lawful rate as may be specified in the lease or, if no such rate is specified in the lease, at the legal rate. The worth at the time of award of the amount referred to in paragraph (3) of subdivision (a) is computed by discounting such amount at the discount rate of the Federal Reserve Bank of San Francisco at the time of award plus 1 percent.

(c) The lessor may recover damages under paragraph (3) of subdivision (a) only if:

(1) The lease provides that the damages he may recover include the worth at the time of award of the amount by which the unpaid rent for the balance of the term after the time of award, or for any shorter period of time specified in the lease, exceeds the amount of such rental loss for the same period that the lessee proves could be reasonably avoided; or

(2) The lessor relet the property prior to the time of award and proves that in reletting the property he acted reasonably and in a good-faith effort to mitigate the damages, but the recovery of damages under this paragraph is subject to any limitations specified in the lease.

(d) Efforts by the lessor to mitigate the damages caused by the lessee's breach of the lease do not waive the lessor's right to recover damages under this section.

(e) Nothing in this section affects the right of the lessor under a lease of real property to indemnification for liability arising prior to the termination of the lease for personal injuries or property damage where the lease provides for such indemnification.

1951.3. (a) Real property shall be deemed abandoned by the lessee, within the meaning of Section 1951.2, and the lease shall terminate if the lessor gives written notice of his belief of abandonment as provided in this section and the lessee fails to give the lessor written notice, prior to the date of termination specified in the lessor's notice, stating that he does not intend to abandon the real property and stating an address at which the lessee may be served by certified mail in any action for unlawful detainer of the real property.

(b) The lessor may give a notice of belief of abandonment to the lessee pursuant to this section only where the rent on the property has been due and unpaid for at least 14 consecutive days and the lessor reasonably believes that the lessee has abandoned the property. The date of termination of the lease shall be specified in the lessor's notice and shall be not less than 15 days after the notice is served personally or, if mailed, not less than 18 days after the notice is deposited in the mail.

(c) The lessor's notice of belief of abandonment shall be personally delivered to the lessee or sent by first-class mail, postage prepaid, to the lessee at his last known address and, if there is reason to believe that the notice sent to that address will not be received by the lessee, also to such other address, if any, known to the lessor where the lessee may reasonably be expected to receive the notice.

(d) The notice of belief of abandonment shall be in substantially the following form:

Notice of Belief of Abandonment

To:
____________________________________________________________
                                (Name of lessee/tenant)

____________________________________________________________                                 (Address of lessee/tenant)

    This notice is given pursuant to Section 1951.3 of the Civil Code concerning the real property leased by you at ________ (state location of the property by address or other sufficient description). The rent on this property has been due and unpaid for 14 consecutive days and the lessor/landlord believes that you have abandoned the property.

    The real property will be deemed abandoned within the meaning of Section 1951.2 of the Civil Code and your lease will terminate on ________ (here insert a date not less than 15 days after this notice is served personally or, if mailed, not less than 18 days after this notice is deposited in the mail) unless before such date the under-signed receives at the address indicated below a written notice from you stating both of the following:

    (1) Your intent not to abandon the real property.

    (2) An address at which you may be served by certified mail in any action for unlawful detainer of the real property.

    You are required to pay the rent due and unpaid on this real property as required by the lease, and your failure to do so can lead to a court proceeding against you.

    Dated:_________          

        __________________________________________________
        (Signature of lessor/landlord)

         __________________________________________________
        (Type or print name of lessor/landlord)

         __________________________________________________
        (Address to which lessee/tenant is to send notice)

     (e) The real property shall not be deemed to be abandoned pursuant to this section if the lessee proves any of the following:

     (1) At the time the notice of belief of abandonment was given, the rent was not due and unpaid for 14 consecutive days.

     (2) At the time the notice of belief of abandonment was given, it was not reasonable for the lessor to believe that the lessee had abandoned the real property. The fact that the lessor knew that the lessee left personal property on the real property does not, of itself, justify a finding that the lessor did not reasonably believe that the lessee had abandoned the real property.

     (3) Prior to the date specified in the lessor's notice, the lessee gave written notice to the lessor stating his intent not to abandon the real property and stating an address at which he may be served by certified mail in any action for unlawful detainer of the real property.

     (4) During the period commencing 14 days before the time the notice of belief of abandonment was given and ending on the date the lease would have terminated pursuant to the notice, the lessee paid to the lessor all or a portion of the rent due and unpaid on the real property.

     (f) Nothing in this section precludes the lessor or the lessee from otherwise proving that the real property has been abandoned by the lessee within the meaning of Section 1951.2.

     (g) Nothing in this section precludes the lessor from serving a notice requiring the lessee to pay rent or quit as provided in Sections 1161 and 1162 of the Code of Civil Procedure at any time permitted by those sections, or affects the time and manner of giving any other notice required or permitted by law. The giving of the notice provided by this section does not satisfy the requirements of Sections 1161 and 1162 of the Code of Civil Procedure.

1951.4. (a) The remedy described in this section is available only if the lease provides for this remedy. In addition to any other type of provision used in a lease to provide for the remedy described in this section, a provision in the lease in substantially the following form satisfies this subdivision:

"The lessor has the remedy described in California Civil Code Section 1951.4 (lessor may continue lease in effect after lessee's breach and abandonment and recover rent as it becomes due, if lessee has right to sublet or assign, subject only to reasonable limitations)."

(b) Even though a lessee of real property has breached the lease and abandoned the property, the lease continues in effect for so long as the lessor does not terminate the lessee's right to possession, and the lessor may enforce all the lessor's rights and remedies under the lease, including the right to recover the rent as it becomes due under the lease, if any of the following conditions is satisfied:

(1) The lease permits the lessee, or does not prohibit or otherwise restrict the right of the lessee, to sublet the property, assign the lessee's interest in the lease, or both.

(2) The lease permits the lessee to sublet the property, assign the lessee's interest in the lease, or both, subject to express standards or conditions, provided the standards and conditions are reasonable at the time the lease is executed and the lessor does not require compliance with any standard or condition that has become unreasonable at the time the lessee seeks to sublet or assign. For purposes of this paragraph, an express standard or condition is presumed to be reasonable; this presumption is a presumption affecting the burden of proof.

(3) The lease permits the lessee to sublet the property, assign the lessee's interest in the lease, or both, with the consent of the lessor, and the lease provides that the consent shall not be unreasonably withheld or the lease includes a standard implied by law that consent shall not be unreasonably withheld.

(c) For the purposes of subdivision (b), the following do not constitute a termination of the lessee's right to possession:

(1) Acts of maintenance or preservation or efforts to relet the property.

(2) The appointment of a receiver upon initiative of the lessor to protect the lessor's interest under the lease.

(3) Withholding consent to a subletting or assignment, or terminating a subletting or assignment, if the withholding or termination does not violate the rights of the lessee specified in subdivision (b).

1952.3. (a) Except as provided in subdivisions (b) and (c), if the lessor brings an unlawful detainer proceeding and possession of the property is no longer in issue because possession of the property has been delivered to the lessor before trial or, if there is no trial, before judgment is entered, the case becomes an ordinary civil action in which:

(1) The lessor may obtain any relief to which he is entitled, including, where applicable, relief authorized by Section 1951.2; but, if the lessor seeks to recover damages described in paragraph (3) of subdivision (a) of Section 1951.2 or any other damages not recoverable in the unlawful detainer proceeding, the lessor shall first amend the complaint pursuant to Section 472 or 473 of the Code of Civil Procedure so that possession of the property is no longer in issue and to state a claim for such damages and shall serve a copy of the amended complaint on the defendant in the same manner as a copy of a summons and original complaint is served.

(2) The defendant may, by appropriate pleadings or amendments to pleadings, seek any affirmative relief, and assert all defenses, to which he is entitled, whether or not the lessor has amended the complaint; but subdivision (a) of Section 426.30 of the Code of Civil Procedure does not apply unless, after delivering possession of the property to the lessor, the defendant (i) files a cross-complaint or (ii) files an answer or an amended answer in response to an amended complaint filed pursuant to paragraph (1).

(b) The defendant's time to respond to a complaint for unlawful detainer is not affected by the delivery of possession of the property to the lessor; but, if the complaint is amended as provided in paragraph (1) of subdivision (a), the defendant has the same time to respond to the amended complaint as in an ordinary civil action.

(c) The case shall proceed as an unlawful detainer proceeding if the defendant's default (1) has been entered on the unlawful detainer complaint and (2) has not been opened by an amendment of the complaint or otherwise set aside.

(d) Nothing in this section affects the pleadings that may be filed, relief that may be sought, or defenses that may be asserted in an unlawful detainer proceeding that has not become an ordinary civil action as provided in subdivision (a).

1953. (a) Any provision of a lease or rental agreement of a dwelling by which the lessee agrees to modify or waive any of the following rights shall be void as contrary to public policy:

(1) His rights or remedies under Section 1950.5 or 1954.

(2) His right to assert a cause of action against the lessor which may arise in the future.

(3) His right to a notice or hearing required by law.

(4) His procedural rights in litigation in any action involving his rights and obligations as a tenant.

(5) His right to have the landlord exercise a duty of care to prevent personal injury or personal property damage where that duty is imposed by law.

(b) Any provision of a lease or rental agreement of a dwelling by which the lessee agrees to modify or waive a statutory right, where the modification or waiver is not void under subdivision (a) or under Section 1942.1, 1942.5, or 1954, shall be void as contrary to public policy unless the lease or rental agreement is presented to the lessee before he takes actual possession of the premises. This subdivision does not apply to any provisions modifying or waiving a statutory right in agreements renewing leases or rental agreements where the same provision was also contained in the lease or rental agreement which is being renewed.

(c) This section shall apply only to leases and rental agreements executed on or after January 1, 1976.

1954. (a) A landlord may enter the dwelling unit only in the following cases:

(1) In case of emergency.

(2) To make necessary or agreed repairs, decorations, alterations or improvements, supply necessary or agreed services, or exhibit the dwelling unit to prospective or actual purchasers, mortgagees, tenants, workers, or contractors or to make an inspection pursuant to subdivision (f) of Section 1950.5.

(3) When the tenant has abandoned or surrendered the premises.

(4) Pursuant to court order.

(b) Except in cases of emergency or when the tenant has abandoned or surrendered the premises, entry may not be made during other than normal business hours unless the tenant consents to an entry during other than normal business hours at the time of entry.

(c) The landlord may not abuse the right of access or use it to harass the tenant.

(d) (1) Except as provided in subdivision (e), or as provided in paragraph (2) or (3), the landlord shall give the tenant reasonable notice in writing of his or her intent to enter and enter only during normal business hours. The notice shall include the date, approximate time, and purpose of the entry. The notice may be personally delivered to the tenant, left with someone of a suitable age and discretion at the premises, or, left on, near, or under the usual entry door of the premises in a manner in which a reasonable person would discover the notice. Twenty-four hours shall be presumed to be reasonable notice in absence of evidence to the contrary. The notice may be mailed to the tenant. Mailing of the notice at least six days prior to an intended entry is presumed reasonable notice in the absence of evidence to the contrary.

(2) If the purpose of the entry is to exhibit the dwelling unit to prospective or actual purchasers, the notice may be given orally, in person or by telephone, if the landlord or his or her agent has notified the tenant in writing within 120 days of the oral notice that the property is for sale and that the landlord or agent may contact the tenant orally for the purpose described above. Twenty-four hours is presumed reasonable notice in the absence of evidence to the contrary. The notice shall include the date, approximate time, and purpose of the entry. At the time of entry, the landlord or agent shall leave written evidence of the entry inside the unit.

(3) The tenant and the landlord may agree orally to an entry to make agreed repairs or supply agreed services. The agreement shall include the date and approximate time of the entry, which shall be within one week of the agreement. In this case, the landlord is not required to provide the tenant a written notice.

(e) No notice of entry is required under this section:

(1) To respond to an emergency.

(2) If the tenant is present and consents to the entry at the time of entry.

(3) After the tenant has abandoned or surrendered the unit.

1954.50. This chapter shall be known and may be cited as the Costa-Hawkins Rental Housing Act.

1954.53. (a) Notwithstanding any other provision of law, an owner of residential real property may establish the initial rental rate for a dwelling or unit, except where any of the following applies:

(1) The previous tenancy has been terminated by the owner by notice pursuant to Section 1946.1 or has been terminated upon a change in the terms of the tenancy noticed pursuant to Section 827, except a change permitted by law in the amount of rent or fees. For the purpose of this paragraph, the owner's termination or nonrenewal of a contract or recorded agreement with a governmental agency that provides for a rent limitation to a qualified tenant, shall be construed as a change in the terms of the tenancy pursuant to Section 827.

(A) In a jurisdiction that controls by ordinance or charter provision the rental rate for a dwelling or unit, an owner who terminates or fails to renew a contract or recorded agreement with a governmental agency that provides for a rent limitation to a qualified tenant may not set an initial rent for three years following the date of the termination or nonrenewal of the contract or agreement. For any new tenancy established during the three-year period, the rental rate for a new tenancy established in that vacated dwelling or unit shall be at the same rate as the rent under the terminated or nonrenewed contract or recorded agreement with a governmental agency that provided for a rent limitation to a qualified tenant, plus any increases authorized after the termination or cancellation of the contract or recorded agreement.

(B) Subparagraph (A) does not apply to any new tenancy of 12 months or more duration established after January 1, 2000, pursuant to the owner's contract or recorded agreement with a governmental agency that provides for a rent limitation to a qualified tenant, unless the prior vacancy in that dwelling or unit was pursuant to a nonrenewed or canceled contract or recorded agreement with a governmental agency that provides for a rent limitation to a qualified tenant as set forth in that subparagraph.

(2) The owner has otherwise agreed by contract with a public entity in consideration for a direct financial contribution or any other forms of assistance specified in Chapter 4.3 (commencing with Section 65915) of Division 1 of Title 7 of the Government Code.

(3) The initial rental rate for a dwelling or unit whose initial rental rate is controlled by an ordinance or charter provision in effect on January 1, 1995, may not until January 1, 1999, exceed the amount calculated pursuant to subdivision (c).

(b) Subdivision (a) applies to, and includes, renewal of the initial hiring by the same tenant, lessee, authorized subtenant, or authorized sublessee for the entire period of his or her occupancy at the rental rate established for the initial hiring.

(c) The rental rate of a dwelling or unit whose initial rental rate is controlled by ordinance or charter provision in effect on January 1, 1995, shall, until January 1, 1999, be established in accordance with this subdivision. Where the previous tenant has voluntarily vacated, abandoned, or been evicted pursuant to paragraph (2) of Section 1161 of Code of Civil Procedure, an owner of residential real property may, no more than twice, establish the initial rental rate for a dwelling or unit in an amount that is no greater than 15 percent more than the rental rate in effect for the immediately preceding tenancy or in an amount that is 70 percent of the prevailing market rent for comparable units, whichever amount is greater.

The initial rental rate established pursuant to this subdivision may not substitute for or replace increases in rental rates otherwise authorized pursuant to law.

(d) (1) Nothing in this section or any other provision of law shall be construed to preclude express establishment in a lease or rental agreement of the rental rates to be applicable in the event the rental unit subject thereto is sublet. Nothing in this section shall be construed to impair the obligations of contracts entered into prior to January 1, 1996.

(2) If the original occupant or occupants who took possession of the dwelling or unit pursuant to the rental agreement with the owner no longer permanently reside there, an owner may increase the rent by any amount allowed by this section to a lawful sublessee or assignee who did not reside at the dwelling or unit prior to January 1, 1996.

(3) This subdivision does not apply to partial changes in occupancy of a dwelling or unit where one or more of the occupants of the premises, pursuant to the agreement with the owner provided for above, remains an occupant in lawful possession of the dwelling or unit, or where a lawful sublessee or assignee who resided at the dwelling or unit prior to January 1, 1996, remains in possession of the dwelling or unit. Nothing contained in this section shall be construed to enlarge or diminish an owner's right to withhold consent to a sublease or assignment.

(4) Acceptance of rent by the owner does not operate as a waiver or otherwise prevent enforcement of a covenant prohibiting sublease or assignment or as a waiver of an owner's rights to establish the initial rental rate, unless the owner has received written notice from the tenant that is party to the agreement and thereafter accepted rent.

(e) Nothing in this section shall be construed to affect any authority of a public entity that may otherwise exist to regulate or monitor the grounds for eviction.

(f) This section does not apply to any dwelling or unit if all the following conditions are met:

(1) The dwelling or unit has been cited in an inspection report by the appropriate governmental agency as containing serious health, safety, fire, or building code violations, as defined by Section 17920.3 of the Health and Safety Code, excluding any violation caused by a disaster.

(2) The citation was issued at least 60 days prior to the date of the vacancy.

(3) The cited violation had not been abated when the prior tenant vacated and had remained unabated for 60 days or for a longer period of time. However, the 60-day time period may be extended by the appropriate governmental agency that issued the citation.

1954.535. Where an owner terminates or fails to renew a contract or recorded agreement with a governmental agency that provides for rent limitations to a qualified tenant, the tenant or tenants who were the beneficiaries of the contract or recorded agreement shall be given at least 90 days' written notice of the effective date of the termination and shall not be obligated to pay more than the tenant's portion of the rent, as calculated under the contract or recorded agreement to be terminated, for 90 days following receipt of the notice of termination of nonrenewal of the contract.

3287. (a) Every person who is entitled to recover damages certain, or capable of being made certain by calculation, and the right to recover which is vested in him upon a particular day, is entitled also to recover interest thereon from that day, except during such time as the debtor is prevented by law, or by the act of the creditor from paying the debt. This section is applicable to recovery of damages and interest from any such debtor, including the state or any county, city, city and county, municipal corporation, public district, public agency, or any political subdivision of the state.

(b) Every person who is entitled under any judgment to receive damages based upon a cause of action in contract where the claim was unliquidated, may also recover interest thereon from a date prior to the entry of judgment as the court may, in its discretion, fix, but in no event earlier than the date the action was filed.

3302. The detriment caused by the breach of an obligation to pay money only, is deemed to be the amount due by the terms of the obligation, with interest thereon.

3479. Anything which is injurious to health, including, but not limited to, the illegal sale of controlled substances, or is indecent or offensive to the senses, or an obstruction to the free use of property, so as to interfere with the comfortable enjoyment of life or property, or unlawfully obstructs the free passage or use, in the customary manner, of any navigable lake, or river, bay, stream, canal, or basin, or any public park, square, street, or highway, is a nuisance.

3485. (a) To abate the nuisance caused by illegal conduct involving an unlawful weapons or ammunition purpose on real property, the city prosecutor or city attorney may file, in the name of the people, an action for unlawful detainer against any person who is in violation of the nuisance or illegal purpose provisions of subdivision 4 of Section 1161 of the Code of Civil Procedure, with respect to that unlawful weapons or ammunition purpose. In filing this action, which shall be based upon an arrest report or other report by a law enforcement agency, reporting an offense committed on the property and documented by the observations of a police officer, the city prosecutor or city attorney shall use the procedures set forth in Chapter 4 (commencing with Section 1159) of Title 3 of Part 3 of the Code of Civil Procedure, except that in cases filed under this section, the following also shall apply:

(1) (A) Prior to filing an action pursuant to this section, the city prosecutor or city attorney shall give 30 calendar days' written notice to the owner, requiring the owner to file an action for the removal of the person who is in violation of the nuisance or illegal purpose provisions of subdivision 4 of Section 1161 of the Code of Civil Procedure with respect to an unlawful weapons or ammunition purpose.

(B) This notice shall include sufficient documentation establishing a violation of the nuisance or illegal purpose provisions of subdivision 4 of Section 1161 of the Code of Civil Procedure and shall be served upon the owner and the tenant in accordance with subdivision (e).

(C) The notice to the tenant shall also include on the bottom of its front page, in at least 14-point bold type, the following:

"Notice to Tenant: This notice is not a notice of eviction. However, you should know that an eviction action may soon be filed in court against you for an unlawful weapons or ammunition activity, as described above. You should call (insert name and telephone number of the city attorney or prosecutor pursuing the action) or a legal assistance provider to stop the eviction action if any of the following is applicable:

  1. You are not the person named in this notice.
  2. The person named in the notice does not live with you.
  3. ( The person named in the notice has permanently moved.
  4. You do not know the person named in the notice.
  5. You have any other legal defense or legal reason to stop the eviction action. A list of legal assistance providers is attached to this notice. Some provide free legal help if you are eligible."

(D) The owner shall, within 30 calendar days of the mailing of the written notice, either provide the city prosecutor or city attorney with all relevant information pertaining to the unlawful detainer case, or provide a written explanation setting forth any safety-related reasons for noncompliance, and an assignment to the city prosecutor or city attorney of the right to bring an unlawful detainer action against the tenant.

(E) The assignment shall be on a form provided by the city prosecutor or city attorney and may contain a provision for costs of investigation, discovery, and reasonable attorney's fees, in an amount not to exceed six hundred dollars ($600).

(F) If the city prosecutor or city attorney accepts the assignment of the right of the owner to bring the unlawful detainer action, the owner shall retain all other rights and duties, including the handling of the tenant's personal property, following issuance of the writ of possession and its delivery to and execution by the appropriate agency.

(2) Upon the failure of the owner to file an action pursuant to this section, or to respond to the city prosecutor or city attorney as provided in paragraph (1), or having filed an action, if the owner fails to prosecute it diligently and in good faith, the city prosecutor or city attorney may file and prosecute the action, and join the owner as a defendant in the action. This action shall have precedence over any similar proceeding thereafter brought by the owner, or to one previously brought by the owner and not prosecuted diligently and in good faith. Service of the summons and complaint upon the defendant owner shall be in accordance with Sections 415.10, 415.20, 415.30, 415.40, and 415.50 of the Code of Civil Procedure.

(3) If a jury or court finds the defendant tenant guilty of unlawful detainer in a case filed pursuant to paragraph (2), the city prosecutor or city attorney may be awarded costs, including the costs of investigation and discovery and reasonable attorney's fees. These costs shall be assessed against the defendant owner, to whom notice was directed pursuant to paragraph (1), and once an abstract of judgment is recorded, it shall constitute a lien on the subject real property.

(4) This article shall not prevent a local governing body from adopting and enforcing laws, consistent with this article, relating to weapons or ammunition abatement. If local laws duplicate or supplement this article, this article shall be construed as providing alternative remedies and not preempting the field.

(5) This article shall not prevent a tenant from receiving relief against a forfeiture of a lease pursuant to Section 1179 of the Code of Civil Procedure.

(b) In any proceeding brought under this section, the court may, upon a showing of good cause, issue a partial eviction ordering the removal of any person, including, but not limited to, members of the tenant's household if the court finds that the person has engaged in the activities described in subdivision (a). Persons removed pursuant to this section may be permanently barred from returning to or reentering any portion of the entire premises. The court may further order as an express condition of the tenancy that the remaining tenants shall not give permission to or invite any person who has been removed pursuant to this subdivision to return to or reenter any portion of the entire premises.

(c) For purposes of this section, "unlawful weapons or ammunition purpose" means the illegal use, manufacture, causing to be manufactured, importation, possession, possession for sale, sale, furnishing, or giving away of any of the following:

(1) A firearm, as defined in subdivision (b) of Section 12001 of the Penal Code.

(2) Any ammunition, as defined in paragraph (2) of subdivision (b) of Section 12316 or subdivisions (a) and (b) of Section 12323 of the Penal Code.

(3) Any assault weapon, as defined in Section 12276, 12276.1, or 12276.5 of the Penal Code.

(4) Any .50 BMG rifle, as defined in Section 12278 of the Penal Code.

(5) Any tear gas weapon, as defined in Section 12402 of the Penal Code.

(d) Notwithstanding subdivision (b) of Section 68097.2 of the Government Code, a public entity may waive all or part of the costs incurred in furnishing the testimony of a peace officer in an unlawful detainer action brought pursuant to this section.

(e) The notice and documentation described in paragraph (1) of subdivision (a) shall be given in writing and may be given either by personal delivery or by deposit in the United States mail in a sealed envelope, postage prepaid, addressed to the owner at the address known to the public entity giving the notice, or as shown on the last equalized assessment roll, if not known. Separate notice of not less than 30 calendar days and documentation shall be provided to the tenant in accordance with this subdivision. Service by mail shall be deemed to be completed at the time of deposit in the United States mail. Proof of giving the notice may be made by a declaration signed under penalty of perjury by any employee of the public entity which shows service in conformity with this section.

(f) This section shall apply only to the following courts:

(1) In the County of Los Angeles, any court having jurisdiction over unlawful detainer cases involving real property situated in the City of Los Angeles or the City of Long Beach.

(2) In the County of San Diego, any court having jurisdiction over unlawful detainer cases involving real property situated in the City of San Diego.

(3) In the County of Alameda, any court with jurisdiction over unlawful detainer cases involving real property situated in the City of Oakland.

(4) In the County of Sacramento, any court with jurisdiction over unlawful detainer cases involving real property situated in the City of Sacramento.

(g) (1) The city attorney and city prosecutor of each participating jurisdiction shall provide to the Judicial Council the following information:

(A) The number of notices provided pursuant to paragraph (1) of subdivision (a).

(B) The number of cases filed by an owner, upon notice.

(C) The number of assignments executed by owners to the city attorney or city prosecutor.

(D) The number of three-day, 30-day, or 60-day notices issued by the city attorney or city prosecutor.

(E) The number of cases filed by the city attorney or city prosecutor.

(F) The number of times that an owner is joined as a defendant pursuant to this section.

(G) As to each case filed by an owner, the city attorney, or the city prosecutor, the following information:

(i) The number of judgments ordering an eviction or partial eviction, and specifying whether each was a default judgment, stipulated judgment, or judgment following trial.

(ii) The number of cases, listed by separate categories, in which the case was withdrawn or in which the tenant prevailed.

(iii) The number of other dispositions, and specifying the disposition.

(iv) The number of defendants represented by counsel.

(v) Whether the case was a trial by the court or a trial by a jury.

(vi) Whether an appeal was taken, and, if so, the result of the appeal.

(vii) The number of cases in which partial eviction was requested, and the number of cases in which the court ordered a partial eviction.

(H) As to each case in which a notice was issued, but no case was filed, the following information:

(i) The number of instances in which a tenant voluntarily vacated.

(ii) The number of instances in which a tenant vacated a unit prior to the providing of the notice.

(iii) The number of cases in which the notice provided pursuant to subdivision (a) was erroneously sent to the tenant. This shall include a list of the reasons, if known, for the erroneously sent notice, such as reliance on information on the suspected violator's name or address that was incorrect, a clerical error, or any other reason.

(iv) The number of other resolutions, and specifying the type of resolution.

(2) (A) Information compiled pursuant to this section shall be reported annually to the Judicial Council on or before January 30 of each year.

(B) The Judicial Council shall thereafter submit a brief report to the Senate and Assembly Committees on Judiciary on or before April 15, 2009, summarizing the information collected pursuant to this section and evaluating the merits of the pilot programs established by this section. The report for this section may be combined with the Judicial Council report submitted for the pilot program established by Section 11571.1 of the Health and Safety Code.

(h) This section shall remain in effect only until January 1, 2010, and as of that date is repealed, unless a later enacted statute, that is enacted before January 1, 2010, deletes or extends that date.