> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Cal. Code of Civil Procedure - CCP § 1172. — Section 1172.

- **Citation**: Cal. Code of Civil Procedure - CCP § 1172.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Code of Civil Procedure - CCP (CCP)
- **Official Source**: [https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip](https://downloads.leginfo.legislature.ca.gov/pubinfo_2025.zip)
- **Canonical URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-3/title-3/chapter-4/section-1172](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-3/title-3/chapter-4/section-1172)
- **Semantic URL**: [https://corpuslaw.us/codes/california/code-of-civil-procedure/part-3/title-3/chapter-4/section-1172](https://corpuslaw.us/codes/california/code-of-civil-procedure/part-3/title-3/chapter-4/section-1172)

## Hierarchy

Title CCP — Code of Civil Procedure - CCP > Part 3. — PART 3. OF SPECIAL PROCEEDINGS OF A CIVIL NATURE [1063. - 1822.60.] > Title 3. — TITLE 3. OF SUMMARY PROCEEDINGS [1132. - 1179a.] > Chapter 4. — CHAPTER 4. Summary Proceedings for Obtaining Possession of Real Property in Certain Cases [1159. - 1179a.]

## Text

On the trial of any proceeding for any forcible entry or forcible detainer, the plaintiff shall only be required to show, in addition to the forcible entry or forcible detainer complained of, that he was peaceably in the actual possession at the time of the forcible entry, or was entitled to the possession at the time of the forcible detainer. The defendant may show in his defense that he or his ancestors, or those whose interest in such premises he claims, have been in the quiet possession thereof for the space of one whole year together next before the commencement of the proceedings, and that his interest therein is not then ended or
 determined; and such showing is a bar to the proceedings.
