# Unlawful detainer (CCP §§ 1159-1179) - Description: Unlawful detainer (CCP §§ 1159-1179) - Source: https://leginfo.legislature.ca.gov/faces/codes.xhtml - Pulled: 2026-05-13 - Sections: 13 > Verbatim text from the California Legislative Information website. > Citation history and notes are preserved as published. ## Contents - [Cal. Code Civ. Proc. § 1159 — Forcible entry defined](#sec-ccp-1159) - [Cal. Code Civ. Proc. § 1161 — Unlawful detainer — grounds and notice periods](#sec-ccp-1161) - [Cal. Code Civ. Proc. § 1161.1 — Pre-judgment notice — commercial](#sec-ccp-1161-1) - [Cal. Code Civ. Proc. § 1161.2 — Sealed records pending judgment](#sec-ccp-1161-2) - [Cal. Code Civ. Proc. § 1162 — Service of notice to quit](#sec-ccp-1162) - [Cal. Code Civ. Proc. § 1166 — Complaint — required allegations](#sec-ccp-1166) - [Cal. Code Civ. Proc. § 1167 — Summons — 5-day response](#sec-ccp-1167) - [Cal. Code Civ. Proc. § 1170 — Answer and verification](#sec-ccp-1170) - [Cal. Code Civ. Proc. § 1170.5 — Trial setting — 20-day rule](#sec-ccp-1170-5) - [Cal. Code Civ. Proc. § 1170.7 — Summary judgment in UD actions](#sec-ccp-1170-7) - [Cal. Code Civ. Proc. § 1171 — Set-off / counterclaim limits](#sec-ccp-1171) - [Cal. Code Civ. Proc. § 1174 — Judgment for plaintiff](#sec-ccp-1174) - [Cal. Code Civ. Proc. § 1179 — Relief from forfeiture](#sec-ccp-1179) ## Cal. Code Civ. Proc. § 1159 — Forcible entry defined Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1159. (a) Every person is guilty of a forcible entry who either: (1) By breaking open doors, windows, or other parts of a house, or by any kind of violence or circumstance of terror enters upon or into any real property. (2) Who, after entering peaceably upon real property, turns out by force, threats, or menacing conduct, the party in possession. (b) For purposes of this section, “party in possession” means any person who hires real property and includes a boarder or lodger, except those persons whose occupancy is described in subdivision (b) of Section 1940 of the Civil Code. *(Amended by Stats. 2018, Ch. 92, Sec. 42. (SB 1289) Effective January 1, 2019.)* ## Cal. Code Civ. Proc. § 1161 — Unlawful detainer — grounds and notice periods Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1161. A tenant of real property, for a term less than life, or the executor or administrator of the tenant’s estate heretofore qualified and now acting or hereafter to be qualified and act, is guilty of unlawful detainer: 1. When the tenant continues in possession, in person or by subtenant, of the property, or any part thereof, after the expiration of the term for which it is let to the tenant; provided the expiration is of a nondefault nature however brought about without the permission of the landlord, or the successor in estate of the landlord, if applicable; including the case where the person to be removed became the occupant of the premises as a servant, employee, agent, or licensee and the relation of master and servant, or employer and employee, or principal and agent, or licensor and licensee, has been lawfully terminated or the time fixed for occupancy by the agreement between the parties has expired; but nothing in this subdivision shall be construed as preventing the removal of the occupant in any other lawful manner; but in case of a tenancy at will, it shall first be terminated by notice, as prescribed in the Civil Code. 2. When the tenant continues in possession, in person or by subtenant, without the permission of the landlord, or the successor in estate of the landlord, if applicable, after default in the payment of rent, pursuant to the lease or agreement under which the property is held, and three days’ notice, excluding Saturdays and Sundays and other judicial holidays, in writing, requiring its payment, stating the amount that is due, the name, telephone number, and address of the person to whom the rent payment shall be made, and, if payment may be made personally, the usual days and hours that person will be available to receive the payment (provided that, if the address does not allow for personal delivery, then it shall be conclusively presumed that upon the mailing of any rent or notice to the owner by the tenant to the name and address provided, the notice or rent is deemed received by the owner on the date posted, if the tenant can show proof of mailing to the name and address provided by the owner), or the number of an account in a financial institution into which the rental payment may be made, and the name and street address of the institution (provided that the institution is located within five miles of the rental property), or if an electronic funds transfer procedure has been previously established, that payment may be made pursuant to that procedure, or possession of the property, shall have been served upon the tenant and if there is a subtenant in actual occupation of the premises, also upon the subtenant. The notice may be served at any time within one year after the rent becomes due. In all cases of tenancy upon agricultural lands, if the tenant has held over and retained possession for more than 60 days after the expiration of the term without any demand of possession or notice to quit by the landlord or the successor in estate of the landlord, if applicable, the tenant shall be deemed to be holding by permission of the landlord or successor in estate of the landlord, if applicable, and shall be entitled to hold under the terms of the lease for another full year, and shall not be guilty of an unlawful detainer during that year, and the holding over for that period shall be taken and construed as a consent on the part of a tenant to hold for another year. 3. When the tenant continues in possession, in person or by subtenant, after a neglect or failure to perform other conditions or covenants of the lease or agreement under which the property is held, including any covenant not to assign or sublet, than the one for the payment of rent, and three days’ notice, excluding Saturdays and Sundays and other judicial holidays, in writing, requiring the performance of those conditions or covenants, or the possession of the property, shall have been served upon the tenant, and if there is a subtenant in actual occupation of the premises, also, upon the subtenant. Within three days, excluding Saturdays and Sundays and other judicial holidays, after the service of the notice, the tenant, or any subtenant in actual occupation of the premises, or any mortgagee of the term, or other person interested in its continuance, may perform the conditions or covenants of the lease or pay the stipulated rent, as the case may be, and thereby save the lease from forfeiture; provided, if the conditions and covenants of the lease, violated by the lessee, cannot afterward be performed, then no notice, as last prescribed herein, need be given to the lessee or the subtenant, demanding the performance of the violated conditions or covenants of the lease. A tenant may take proceedings, similar to those prescribed in this chapter, to obtain possession of the premises let to a subtenant or held by a servant, employee, agent, or licensee, in case of that person’s unlawful detention of the premises underlet to or held by that person. 4. Any tenant, subtenant, or executor or administrator of that person’s estate heretofore qualified and now acting, or hereafter to be qualified and act, assigning or subletting or committing waste upon the demised premises, contrary to the conditions or covenants of the lease, or maintaining, committing, or permitting the maintenance or commission of a nuisance upon the demised premises or using the premises for an unlawful purpose, thereby terminates the lease, and the landlord, or the landlord’s successor in estate, shall upon service of three days’ notice to quit upon the person or persons in possession, be entitled to restitution of possession of the demised premises under this chapter. For purposes of this subdivision, a person who commits or maintains a public nuisance as described in Section 3482.8 of the Civil Code, or who commits an offense described in subdivision (c) of Section 3485 of the Civil Code, or subdivision (c) of Section 3486 of the Civil Code, or uses the premises to further the purpose of that offense shall be deemed to have committed a nuisance upon the premises. 5. When the tenant gives written notice as provided in Section 1946 of the Civil Code of the tenant’s intention to terminate the hiring of the real property, or makes a written offer to surrender which is accepted in writing by the landlord, but fails to deliver possession at the time specified in that written notice, without the permission of the landlord, or the successor in estate of the landlord, if applicable. 6. A landlord or its agent shall not charge a tenant a fee for serving, posting, or otherwise delivering any notice, as described in this section. 7. As used in this section, “tenant” includes any person who hires real property except those persons whose occupancy is described in subdivision (b) of Section 1940 of the Civil Code. 8. This section shall become operative on February 1, 2025. *(Amended (as added by Stats. 2020, Ch. 37, Sec. 16) by Stats. 2024, Ch. 287, Sec. 6. (SB 611) Effective January 1, 2025. Operative February 1, 2025, by its own provisions.)* ## Cal. Code Civ. Proc. § 1161.1 — Pre-judgment notice — commercial Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1161.1. With respect to application of Section 1161 in cases of possession of commercial real property after default in the payment of rent: (a) If the amount stated in the notice provided to the tenant pursuant to subdivision (2) of Section 1161 is clearly identified by the notice as an estimate and the amount claimed is not in fact correct, but it is determined upon the trial or other judicial determination that rent was owing, and the amount claimed in the notice was reasonably estimated, the tenant shall be subject to judgment for possession and the actual amount of rent and other sums found to be due. However, if (1) upon receipt of such a notice claiming an amount identified by the notice as an estimate, the tenant tenders to the landlord within the time for payment required by the notice, the amount which the tenant has reasonably estimated to be due and (2) if at trial it is determined that the amount of rent then due was the amount tendered by the tenant or a lesser amount, the tenant shall be deemed the prevailing party for all purposes. If the court determines that the amount so tendered by the tenant was less than the amount due, but was reasonably estimated, the tenant shall retain the right to possession if the tenant pays to the landlord within five days of the effective date of the judgment (1) the amount previously tendered if it had not been previously accepted, (2) the difference between the amount tendered and the amount determined by the court to be due, and (3) any other sums as ordered by the court. (b) If the landlord accepts a partial payment of rent, including any payment pursuant to subdivision (a), after serving notice pursuant to Section 1161, the landlord, without any further notice to the tenant, may commence and pursue an action under this chapter to recover the difference between the amount demanded in that notice and the payment actually received, and this shall be specified in the complaint. (c) If the landlord accepts a partial payment of rent after filing the complaint pursuant to Section 1166, the landlord’s acceptance of the partial payment is evidence only of that payment, without waiver of any rights or defenses of any of the parties. The landlord shall be entitled to amend the complaint to reflect the partial payment without creating a necessity for the filing of an additional answer or other responsive pleading by the tenant, and without prior leave of court, and such an amendment shall not delay the matter from proceeding. However, this subdivision shall apply only if the landlord provides actual notice to the tenant that acceptance of the partial rent payment does not constitute a waiver of any rights, including any right the landlord may have to recover possession of the property. (d) “Commercial real property” as used in this section, means all real property in this state except dwelling units made subject to Chapter 2 (commencing with Section 1940) of Title 5 of Part 4 of Division 3 of the Civil Code, mobilehomes as defined in Section 798.3 of the Civil Code, or recreational vehicles as defined in Section 799.24 of the Civil Code. (e) For the purposes of this section, there is a presumption affecting the burden of proof that the amount of rent claimed or tendered is reasonably estimated if, in relation to the amount determined to be due upon the trial or other judicial determination of that issue, the amount claimed or tendered was no more than 20 percent more or less than the amount determined to be due. However, if the rent due is contingent upon information primarily within the knowledge of the one party to the lease and that information has not been furnished to, or has not accurately been furnished to, the other party, the court shall consider that fact in determining the reasonableness of the amount of rent claimed or tendered pursuant to subdivision (a). *(Added by Stats. 1990, Ch. 890, Sec. 1.)* ## Cal. Code Civ. Proc. § 1161.2 — Sealed records pending judgment Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1161.2. (a) (1) The clerk shall allow access to limited civil case records filed under this chapter, including the court file, index, and register of actions, only as follows: (A) To a party to the action, including a party’s attorney. (B) To a person who provides the clerk with the names of at least one plaintiff and one defendant and the address of the premises, including the apartment or unit number, if any. (C) To a resident of the premises who provides the clerk with the name of one of the parties or the case number and shows proof of residency. (D) To a person by order of the court, which may be granted ex parte, on a showing of good cause. (E) Except as provided in subparagraph (G), to any person by order of the court if judgment is entered for the plaintiff after trial more than 60 days since the filing of the complaint. The court shall issue the order upon issuing judgment for the plaintiff. (F) Except as provided in subparagraph (G), to any other person 60 days after the complaint has been filed if judgment against all defendants has been entered for the plaintiff within 60 days of the filing of the complaint, in which case the clerk shall allow access to any court records in the action. If a default or default judgment is set aside more than 60 days after the complaint has been filed, this section shall apply as if the complaint had been filed on the date the default or default judgment is set aside. (G) (i) In the case of a complaint involving residential property based on Section 1161a as indicated in the caption of the complaint, as required in subdivision (c) of Section 1166, to any other person, if 60 days have elapsed since the complaint was filed with the court, and, as of that date, judgment against all defendants has been entered for the plaintiff, after a trial. (ii) Subparagraphs (E) and (F) shall not apply if the plaintiff filed the action between March 4, 2020, and September 30, 2021, and the action is based on an alleged default in the payment of rent. (2) This section shall not be construed to prohibit the court from issuing an order that bars access to the court record in an action filed under this chapter if the parties to the action so stipulate. (b) (1) For purposes of this section, “good cause” includes, but is not limited to, both of the following: (A) The gathering of newsworthy facts by a person described in Section 1070 of the Evidence Code. (B) The gathering of evidence by a party to an unlawful detainer action solely for the purpose of making a request for judicial notice pursuant to subdivision (d) of Section 452 of the Evidence Code. (2) It is the intent of the Legislature that a simple procedure be established to request the ex parte order described in subparagraph (D) of paragraph (1) of subdivision (a). (c) Upon the filing of a case so restricted, the court clerk shall mail notice to each defendant named in the action. The notice shall be mailed to the address provided in the complaint. The notice shall contain a statement that an unlawful detainer complaint (eviction action) has been filed naming that party as a defendant, and that access to the court file will be delayed for 60 days except to a party, an attorney for one of the parties, or any other person who (1) provides to the clerk the names of at least one plaintiff and one defendant in the action and provides to the clerk the address, including any applicable apartment, unit, or space number, of the subject premises, or (2) provides to the clerk the name of one of the parties in the action or the case number and can establish through proper identification that the person lives at the subject premises. The notice shall also contain a statement that access to the court index, register of actions, or other records is not permitted until 60 days after the complaint is filed, except pursuant to an order upon a showing of good cause for access. The notice shall contain on its face the following information: (1) The name and telephone number of the county bar association. (2) The name and telephone number of any entity that requests inclusion on the notice and demonstrates to the satisfaction of the court that it has been certified by the State Bar of California as a lawyer referral service and maintains a panel of attorneys qualified in the practice of landlord-tenant law pursuant to the minimum standards for a lawyer referral service established by the State Bar of California and Section 6155 of the Business and Professions Code. (3) The following statement: “The State Bar of California certifies lawyer referral services in California and publishes a list of certified lawyer referral services organized by county. To locate a lawyer referral service in your county, go to the State Bar’s internet website at www.calbar.ca.gov or call 1-866-442-2529.” (4) The name and telephone number of an office or offices funded by the federal Legal Services Corporation or qualified legal services projects that receive funds distributed pursuant to Section 6216 of the Business and Professions Code that provide legal services to low-income persons in the county in which the action is filed. The notice shall state that these telephone numbers may be called for legal advice regarding the case. The notice shall be issued between 24 and 48 hours of the filing of the complaint, excluding weekends and holidays. One copy of the notice shall be addressed to “all occupants” and mailed separately to the subject premises. The notice shall not constitute service of the summons and complaint. (5) The following statement, for a notice sent out pursuant to this section between October 1, 2021, and March 31, 2022: “IMPORTANT NOTICE FROM THE STATE OF CALIFORNIA – YOU MUST TAKE ACTION TO AVOID AN EVICTION: As part of the state’s COVID-19 relief plan, money has been set aside to help renters who have fallen behind on rent or utility payments. If you are behind on rent or utility payments, YOU SHOULD COMPLETE A RENTAL ASSISTANCE APPLICATION IMMEDIATELY! It is free and simple to apply. Citizenship or immigration status does not matter. You can find out how to start your application by calling 1-833-430-2122 or visiting http://housingiskey.com right away.” (d) Notwithstanding any other law, the court shall charge an additional fee of fifteen dollars ($15) for filing a first appearance by the plaintiff. This fee shall be added to the uniform filing fee for actions filed under this chapter. (e) This section does not alter any provision of the Evidence Code. *(Amended by Stats. 2024, Ch. 711, Sec. 1. (AB 2304) Effective January 1, 2025.)* ## Cal. Code Civ. Proc. § 1162 — Service of notice to quit Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1162. (a) Except as provided in subdivision (b), the notices required by Sections 1161 and 1161a may be served by any of the following methods: (1) By delivering a copy to the tenant personally. (2) If he or she is absent from his or her place of residence, and from his or her usual place of business, by leaving a copy with some person of suitable age and discretion at either place, and sending a copy through the mail addressed to the tenant at his or her place of residence. (3) If such place of residence and business cannot be ascertained, or a person of suitable age or discretion there can not be found, then by affixing a copy in a conspicuous place on the property, and also delivering a copy to a person there residing, if such person can be found; and also sending a copy through the mail addressed to the tenant at the place where the property is situated. Service upon a subtenant may be made in the same manner. (b) The notices required by Section 1161 may be served upon a commercial tenant by any of the following methods: (1) By delivering a copy to the tenant personally. (2) If he or she is absent from the commercial rental property, by leaving a copy with some person of suitable age and discretion at the property, and sending a copy through the mail addressed to the tenant at the address where the property is situated. (3) If, at the time of attempted service, a person of suitable age or discretion is not found at the rental property through the exercise of reasonable diligence, then by affixing a copy in a conspicuous place on the property, and also sending a copy through the mail addressed to the tenant at the address where the property is situated. Service upon a subtenant may be made in the same manner. (c) For purposes of subdivision (b), “commercial tenant” means a person or entity that hires any real property in this state that is not a dwelling unit, as defined in subdivision (c) of Section 1940 of the Civil Code, or a mobilehome, as defined in Section 798.3 of the Civil Code. *(Amended by Stats. 2010, Ch. 144, Sec. 1. (AB 1263) Effective January 1, 2011.)* ## Cal. Code Civ. Proc. § 1166 — Complaint — required allegations Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1166. > _(empty extraction)_ ## Cal. Code Civ. Proc. § 1167 — Summons — 5-day response Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1167. (a) The summons shall be in the form specified in Section 412.20 except that when the defendant is served, the defendant’s response shall be filed within 10 days, excluding Saturdays and Sundays and other judicial holidays, after the complaint is served upon the defendant. (b) If service is completed by mail or in person through the Secretary of State’s address confidentiality program under Chapter 3.1 (commencing with Section 6205) of Division 7 of Title 1 of the Government Code, the defendant shall have an additional five court days to file a response. (c) Except as otherwise provided in this section, the summons shall be issued and served and returned in the same manner as a summons in a civil action. *(Amended by Stats. 2024, Ch. 512, Sec. 1. (AB 2347) Effective January 1, 2025.)* ## Cal. Code Civ. Proc. § 1170 — Answer and verification Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1170. (a) On or before the day fixed for their appearance, the defendant may appear and answer, demur, or move to strike any portion of the complaint. (b) (1) Notwithstanding any other law, in any action under this chapter in which the defendant demurs or moves to strike the complaint or any portion thereof, the hearing on the motion shall be not less than five court days nor more than seven court days after the filing of the notice of motion. All moving and supporting papers shall accompany the notice of the motion and shall be served in compliance with this section and Section 1010.6 or 1013. (2) Notwithstanding paragraph (1), the court may order the hearing held on a later date upon the written stipulation of the parties. In the case of a residential tenancy, the court, for good cause shown, may order the hearing held on a later date on notice prescribed by the court. In the case of a commercial tenancy, the court, for good cause shown, may order the hearing held on a later date not to exceed 10 court days after the first date set for a hearing on the motion. (c) An opposition and reply to an opposition may be made orally at the time of the hearing. If a party seeks to have a written opposition considered in advance of the hearing, the written opposition shall be filed and served on or before the court day before the hearing. Service shall be by personal delivery, electronic service, fax transmission, express mail, or other means consistent with Sections 1010, 1010.6, 1011, 1012, and 1013, and reasonably calculated to ensure delivery to the other party or parties no later than the close of business on the court day before the hearing. The court, in its discretion, may consider written opposition filed later. *(Amended by Stats. 2025, Ch. 299, Sec. 1. (AB 1384) Effective January 1, 2026.)* ## Cal. Code Civ. Proc. § 1170.5 — Trial setting — 20-day rule Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1170.5. (a) If the defendant appears pursuant to Section 1170, trial of the proceeding shall be held not later than the 20th day following the date that the request to set the time of the trial is made. Judgment shall be entered thereon and, if the plaintiff prevails, a writ of execution shall be issued immediately by the court upon the request of the plaintiff. (b) The court may extend the period for trial upon the agreement of all of the parties. No other extension of the time for trial of an action under this chapter may be granted unless the court, upon its own motion or on motion of any party, holds a hearing and renders a decision thereon as specified in subdivision (c). (c) If trial is not held within the time specified in this section, the court, upon finding that there is a reasonable probability that the plaintiff will prevail in the action, shall determine the amount of damages, if any, to be suffered by the plaintiff by reason of the extension, and shall issue an order requiring the defendant to pay that amount into court as the rent would have otherwise become due and payable or into an escrow designated by the court for so long as the defendant remains in possession pending the termination of the action. The determination of the amount of the payment shall be based on the plaintiff’s verified statement of the contract rent for rental payment, any verified objection thereto filed by the defendant, and the oral or demonstrative evidence presented at the hearing. The court’s determination of the amount of damages shall include consideration of any evidence, presented by the parties, embracing the issue of diminution of value or any set off permitted by law. (d) If the defendant fails to make a payment ordered by the court, trial of the action shall be held within 15 days of the date payment was due. (e) Any cost for administration of an escrow account pursuant to this section shall be recoverable by the prevailing party as part of any recoverable cost in the action. (f) After trial of the action, the court shall determine the distribution of the payment made into court or the escrow designated by the court. (g) Where payments into court or the escrow designated by the court are made pursuant to this section, the court may order that the payments be invested in an insured interest-bearing account. Interest on the account shall be allocated to the parties in the same proportions as the original funds are allocated. (h) If any provision of this section or the application thereof to any person or circumstances is held invalid, such invalidity shall not affect other provisions or applications of the section which can be given effect without the invalid provision or application, and to this end the provisions of this section are severable. (i) Nothing in this section shall be construed to abrogate or interfere with the precedence given to the trial of criminal cases over the trial of civil matters by Section 1050 of the Penal Code. *(Added by Stats. 1982, Ch. 1620, Sec. 2.)* ## Cal. Code Civ. Proc. § 1170.7 — Summary judgment in UD actions Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1170.7. A motion for summary judgment may be made at any time after the answer is filed upon giving five days notice. Summary judgment shall be granted or denied on the same basis as a motion under Section 437c. *(Added by Stats. 1982, Ch. 1620, Sec. 3.)* ## Cal. Code Civ. Proc. § 1171 — Set-off / counterclaim limits Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1171. Whenever an issue of fact is presented by the pleadings, it must be tried by a jury, unless such jury be waived as in other cases. The jury shall be formed in the same manner as other trial juries in an action of the same jurisdictional classification in the Court in which the action is pending. *(Amended by Stats. 1998, Ch. 931, Sec. 120. Effective September 28, 1998.)* ## Cal. Code Civ. Proc. § 1174 — Judgment for plaintiff Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1174. (a) If upon the trial, the verdict of the jury, or, if the case be tried without a jury, the findings of the court be in favor of the plaintiff and against the defendant, judgment shall be entered for the possession of the premises; and if the proceedings be for an unlawful detainer after neglect, or failure to perform the conditions or covenants of the lease or agreement under which the property is held, or after default in the payment of rent, the judgment shall also declare the forfeiture of that lease or agreement if the notice required by Section 1161 states the election of the landlord to declare the forfeiture thereof, but if that notice does not so state that election, the lease or agreement shall not be forfeited. Except as provided in Section 1166a, in any action for unlawful detainer brought by a petroleum distributor against a gasoline dealer, possession shall not be restored to the petroleum distributor unless the court in the unlawful detainer action determines that the petroleum distributor had good cause under Section 20999.1 of the Business and Professions Code to terminate, cancel, or refuse to renew the franchise of the gasoline dealer. In any action for unlawful detainer brought by a petroleum distributor against the gasoline dealer, the court may, at the time of request of either party, require the tenant to make rental payments into the court, for the lessor, at the contract rate, pending the resolution of the action. (b) The jury or the court, if the proceedings be tried without a jury, shall also assess the damages occasioned to the plaintiff by any forcible entry, or by any forcible or unlawful detainer, alleged in the complaint and proved on the trial, and find the amount of any rent due, if the alleged unlawful detainer be after default in the payment of rent. If the defendant is found guilty of forcible entry, or forcible or unlawful detainer, and malice is shown, the plaintiff may be awarded statutory damages of up to six hundred dollars ($600), in addition to actual damages, including rent found due. The trier of fact shall determine whether actual damages, statutory damages, or both, shall be awarded, and judgment shall be entered accordingly. (c) When the proceeding is for an unlawful detainer after default in the payment of rent, and the lease or agreement under which the rent is payable has not by its terms expired, and the notice required by Section 1161 has not stated the election of the landlord to declare the forfeiture thereof, the court may, and, if the lease or agreement is in writing, is for a term of more than one year, and does not contain a forfeiture clause, shall order that a writ shall not be issued to enforce the judgment until the expiration of five days after the entry of the judgment, within which time the tenant, or any subtenant, or any mortgagee of the term, or any other party interested in its continuance, may pay into the court, for the landlord, the amount found due as rent, with interest thereon, and the amount of the damages found by the jury or the court for the unlawful detainer, and the costs of the proceedings, and thereupon the judgment shall be satisfied and the tenant be restored to the tenant’s estate. If payment as provided in this subdivision is not made within five days, the judgment may be enforced for its full amount and for the possession of the premises. In all other cases the judgment may be enforced immediately. (d) Subject to subdivision (c), the judgment for possession of the premises may be enforced as provided in Division 3 (commencing with Section 712.010) of Title 9 of Part 2. (e) Personal property remaining on the premises which the landlord reasonably believes to have been lost shall be disposed of pursuant to Article 1 (commencing with Section 2080) of Chapter 4 of Title 6 of Part 4 of Division 3 of the Civil Code. The landlord is not liable to the owner of any property which is disposed of in this manner. If the appropriate police or sheriff’s department refuses to accept that property, it shall be deemed not to have been lost for the purposes of this subdivision. (f) The landlord shall give notice pursuant to Section 1983 of the Civil Code to any person (other than the tenant) reasonably believed by the landlord to be the owner of personal property remaining on the premises unless the procedure for surrender of property under Section 1965 of the Civil Code has been initiated or completed. (g) The landlord shall store the personal property in a place of safekeeping until it is either released pursuant to subdivision (h) or disposed of pursuant to subdivision (i). (h) The landlord shall release the personal property pursuant to Section 1965 of the Civil Code or shall release it to the tenant or, at the landlord’s option, to a person reasonably believed by the landlord to be its owner if the tenant or other person pays the costs of storage as provided in Section 1990 of the Civil Code and claims the property not later than the date specified in the writ of possession before which the tenant must make his or her claim or the date specified in the notice before which a person other than the tenant must make his or her claim. (i) Personal property not released pursuant to subdivision (h) shall be disposed of pursuant to Section 1988 of the Civil Code. (j) Where the landlord releases personal property to the tenant pursuant to subdivision (h), the landlord is not liable with respect to that property to any person. (k) Where the landlord releases personal property pursuant to subdivision (h) to a person (other than the tenant) reasonably believed by the landlord to be its owner, the landlord is not liable with respect to that property to: (1) The tenant or to any person to whom notice was given pursuant to subdivision (f); or (2) Any other person, unless that person proves that, prior to releasing the property, the landlord believed or reasonably should have believed that the person had an interest in the property and also that the landlord knew or should have known upon reasonable investigation the address of that person. (l) Where personal property is disposed of pursuant to Section 1988 of the Civil Code, the landlord is not liable with respect to that property to: (1) The tenant or to any person to whom notice was given pursuant to subdivision (f); or (2) Any other person, unless that person proves that, prior to disposing of the property pursuant to Section 1988 of the Civil Code, the landlord believed or reasonably should have believed that the person had an interest in the property and also that the landlord knew or should have known upon reasonable investigation the address of that person. (m) For the purposes of subdivisions (e), (f), (h), (k), and (l), the terms “owner,” “premises,” and “reasonable belief” have the same meaning as provided in Section 1980 of the Civil Code. *(Amended by Stats. 1993, Ch. 755, Sec. 2. Effective January 1, 1994.)* ## Cal. Code Civ. Proc. § 1179 — Relief from forfeiture Source: https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=CCP§ionNum=1179. The court may relieve a tenant against a forfeiture of a lease or rental agreement, whether written or oral, and whether or not the tenancy has terminated, and restore him or her to his or her former estate or tenancy, in case of hardship, as provided in Section 1174. The court has the discretion to relieve any person against forfeiture on its own motion. An application for relief against forfeiture may be made at any time prior to restoration of the premises to the landlord. The application may be made by a tenant or subtenant, or a mortgagee of the term, or any person interested in the continuance of the term. It must be made upon petition, setting forth the facts upon which the relief is sought, and be verified by the applicant. Notice of the application, with a copy of the petition, must be served at least five days prior to the hearing on the plaintiff in the judgment, who may appear and contest the application. Alternatively, a person appearing without an attorney may make the application orally, if the plaintiff either is present and has an opportunity to contest the application, or has been given ex parte notice of the hearing and the purpose of the oral application. In no case shall the application or motion be granted except on condition that full payment of rent due, or full performance of conditions or covenants stipulated, so far as the same is practicable, be made. *(Amended by Stats. 2002, Ch. 301, Sec. 4. Effective January 1, 2003.)*