> 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. Government Code - GOV § 24004.5. — Section 24004.5.

- **Citation**: Cal. Government Code - GOV § 24004.5.
- **Node Type**: section
- **Jurisdiction**: California (state)
- **Code Body**: Government Code - GOV (GOV)
- **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/government-code/title-3/division-2/part-1/chapter-1/section-24004-5](https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-1/chapter-1/section-24004-5)
- **Semantic URL**: [https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-1/chapter-1/section-24004-5](https://corpuslaw.us/codes/california/government-code/title-3/division-2/part-1/chapter-1/section-24004-5)

## Hierarchy

Title GOV — Government Code - GOV > Title 3. — TITLE 3. GOVERNMENT OF COUNTIES [23000. - 33205.] > Division 2. — DIVISION 2. OFFICERS [24000. - 28085.] > Part 1. — PART 1. OFFICERS GENERALLY [24000. - 24356.] > Chapter 1. — CHAPTER 1. County Officers [24000. - 24012.]

## Text

Nothing in Section 24004 shall be construed to prohibit a deputy sheriff who is otherwise qualified to practice law from: (a) giving legal advice to his or her employer when directed to do so within the course and scope of his or her employment, or (b) representing any person; provided, that the deputy shall not represent any person in any criminal matter, in any matter concerning an event or transaction if the deputy has performed or has reason to know he or she will perform any act relating to such event or transaction in the performance of his or her duties, or in any matter adverse to his or her employing agency.

Nothing in this section shall prohibit the employing agency from taking appropriate disciplinary action against any deputy sheriff whose practice of law exceeds the above limitations.
