> 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. Penal Code - PEN § 11227. — Section 11227.

- **Citation**: Cal. Penal Code - PEN § 11227.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Penal Code - PEN (PEN)
- **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/penal-code/part-4/title-1/chapter-3/article-2/section-11227](https://corpuslaw.us/codes/california/penal-code/part-4/title-1/chapter-3/article-2/section-11227)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-4/title-1/chapter-3/article-2/section-11227](https://corpuslaw.us/codes/california/penal-code/part-4/title-1/chapter-3/article-2/section-11227)

## Hierarchy

Title PEN — Penal Code - PEN > Part 4. — PART 4. PREVENTION OF CRIMES AND APPREHENSION OF CRIMINALS [11006. - 14315.] > Title 1. — TITLE 1. INVESTIGATION AND CONTROL OF CRIMES AND CRIMINALS [11006. - 11482.] > Chapter 3. — CHAPTER 3. Prevention and Abatement of Unlawful Activities [11200. - 11482.] > Article 2. — ARTICLE 2. Red Light Abatement Law [11225. - 11235.]

## Text

(a)

Whenever the existence of a nuisance is shown in an action brought under this article to the satisfaction of the court or judge thereof, either by verified complaint or affidavit, the court or judge shall allow a temporary restraining order or injunction to abate and prevent the continuance or recurrence of the nuisance.

(b)

A temporary restraining order or injunction may enjoin subsequent owners, commercial lessees, or agents who acquire the building or place where the nuisance exists with notice of the order or injunction,  specifying that the owner of the property subject to the temporary restraining order or injunction shall notify any prospective purchaser, commercial lessee, or other successor in interest of the existence of the order or injunction, and of its application to successors in interest, prior to entering into any agreement to sell or lease the property.  The temporary restraining order or injunction shall not constitute a title defect, lien, or encumbrance on the real property.
