Skip to main content

Pen. Code, § 171d · Chapter 7. Other Offenses Against Public Justice

Pen. Code, § 171d

Verbatim from the official edition

Text — As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)

Any person, except a duly appointed peace officer as defined in Chapter 4.5 (commencing with Section 830) of Title 3 of Part 2, a full-time paid peace officer of another state or the federal government who is carrying out official duties while in California, any person summoned by that officer to assist in making arrests or preserving the peace while they are actually engaged in assisting the officer, a member of the military forces of this state or of the United States engaged in the performance of their duties, the Governor or a member of their immediate family or a person acting with their permission with respect to the Governor’s Mansion or any other residence of the Governor, any other constitutional officer or a member of their immediate family or a person acting with their permission with respect to the officer’s residence, or a Member of the Legislature or a member of their immediate family or a person acting with their permission with respect to the Member’s residence, shall be punished by imprisonment in a county jail for not more than one year, by a fine of not more than one thousand dollars ($1,000), or by both the fine and imprisonment, or by imprisonment pursuant to subdivision (h) of Section 1170, if they do either of the following:

(a) Bring a firearm into, or possess a firearm within, the Governor’s Mansion, or any other residence of the Governor, the residence of any other constitutional officer, or the residence of any Member of the Legislature.

(b) Bring a firearm upon, or possess a firearm upon, the grounds of the Governor’s Mansion or any other residence of the Governor, the residence of any other constitutional officer, or the residence of any Member of the Legislature.

Notes and commentary — not statutory text

History

Amended by Stats. 2023, Ch. 249, Sec. 3. (SB 2) Effective January 1, 2024.

Source of truth

Edition
As published in the Legislative Counsel's database, tables dated October 18, 2026 (pubinfo_2025.zip)
Official file
https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=PEN&sectionNum=171d.
Text hash
sha256 16ddfeed93b36a29485a2e92e556c7d061f49491d7e05b0dcb21827955180292
Composed by
compose_ca.py 2026-10-22: the Legislative Counsel's CAML content files read by a tokenizer (caml_readers.reader_a); an independent xml.etree reading (caml_readers.reader_b) agrees on every section

This section cites

Provisions in this library that the text above cites, as it prints each citation. A range cited as “ss. 61.13-61.16” links its first and last provisions.

Cited by 5 provisions

Provisions in this library whose text cites Pen. Code, § 171d. Each shows the citation as that text prints it.

Procedural information only. Not legal advice and not a substitute for the advice of an attorney. Confirm the current text with the official publisher before relying on it.