> 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 § 5004. — Section 5004.

- **Citation**: Cal. Penal Code - PEN § 5004.
- **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-3/title-7/chapter-1/section-5004](https://corpuslaw.us/codes/california/penal-code/part-3/title-7/chapter-1/section-5004)
- **Semantic URL**: [https://corpuslaw.us/codes/california/penal-code/part-3/title-7/chapter-1/section-5004](https://corpuslaw.us/codes/california/penal-code/part-3/title-7/chapter-1/section-5004)

## Hierarchy

Title PEN — Penal Code - PEN > Part 3. — PART 3. OF IMPRISONMENT AND THE DEATH PENALTY [2000. - 10008.] > Title 7. — TITLE 7. ADMINISTRATION OF THE STATE CORRECTIONAL SYSTEM [5000. - 7468.] > Chapter 1. — CHAPTER 1. The Department of Corrections and Rehabilitation [5000. - 5035.]

## Text

The Director of Corrections and the legislative body of any county or city may enter into agreements for mutual police aid. Pursuant to such agreements the director may authorize employees of state prisons and institutions to cooperate, anywhere within the State, with county and city peace officers in connection with any existing emergency. While so employed the employees shall have all the benefits of workmen’s compensation laws, retirement laws, and all other similar laws and for such purposes shall be deemed to be performing services in the course of their regular official duties.
