
If you searched “217 code” because you saw it on a police scanner site or heard it mentioned somewhere, you’ve probably run into two different answers: one page says it means “assault with intent to murder,” another cites “assault on a public official.” Both are technically right — just from different points in the law’s history. Here’s what actually applies today.
Table of Contents
ToggleThe short answer
California no longer has an active, standalone Penal Code section 217. The number you’ll find in force on the books today is Penal Code 217.1(a), which criminalizes assault on a public official — a judge, mayor, city council member, sheriff, prosecutor, public defender, and several other categories of government officeholders — when the assault is meant to retaliate against or prevent that person from doing their job.
The older “217 = assault with intent to murder” definition you’ll see on some police-code and scanner-slang sites traces back to the original wording of the section as it existed earlier in the Penal Code’s history (the code itself dates to 1872 and has been amended repeatedly since). That phrase still gets repeated on code-reference sites because it was the section’s original description, but if you’re looking at current California law — for a criminal case, a background check, or general research — 217.1(a) is the section that matters.
Why there are two numbers for one topic
California’s Penal Code isn’t static. Sections get amended, renumbered, and split apart as the legislature updates the law. Somewhere along the way, the assault provisions that used to sit under the plain “217” designation were reorganized into 217.1, with subsection (a) covering assault on a public official and subsection (b) covering attempted murder of a public official specifically.
This kind of renumbering happens a lot in state penal codes, and it’s exactly why sites that just list “217 = X” without checking the current statute end up out of date. If you want to see the actual text as currently codified, the California Legislative Information site publishes the official version of every Penal Code section, and it’s the only source that reliably reflects amendments as they happen.
What Penal Code 217.1(a) actually says
Under 217.1(a), a person commits a crime if they assault — or attempt, with the present ability, to inflict violent injury on — one of a specific list of public officials, and they do it either:
- To retaliate against that official for something they did in their official capacity, or
- To prevent that official from carrying out their official duties.
The official list is long and includes the President and Vice President, a state governor, judges and former judges, agency heads, mayors, city council members, county supervisors, sheriffs, district attorneys and their assistants, public defenders, and — under 217.1(b), a related provision — attempts to kill any of the above for the same retaliatory or preventive reasons.
A few details that trip people up:
You don’t have to make physical contact. Assault under California law is an attempt, coupled with the present ability, to cause a violent injury. Swinging at someone and missing can still qualify if intent and capability are established. This is different from battery, which does require actual physical contact.
Motive is the deciding factor. A bar fight involving a city council member isn’t automatically 217.1(a) — the prosecution has to prove the assault was connected to that person’s official role, not just that the victim happens to hold public office. Random, unrelated violence against a public official gets charged as ordinary assault instead.
It’s a “wobbler.” Prosecutors can file it as either a misdemeanor or a felony depending on the facts, the weapon involved (if any), and the defendant’s history.
How the penalties break down
| Charge level | Typical maximum penalty |
|---|---|
| Misdemeanor assault on a public official | Up to 1 year in county jail, fine up to $1,000, summary probation |
| Felony assault on a public official | Up to 3 years in state prison, fine up to $10,000, formal probation |
| Attempted murder of a public official (217.1(b)) | 15 years to life in state prison, counts as a strike under the Three Strikes law |
For comparison, if the facts don’t rise to the level of a public-official-specific charge, they often fall under one of these related sections instead:
| Code section | What it covers |
|---|---|
| PC 240 | Simple assault — no weapon, no serious injury, any victim |
| PC 217.1(a) | Assault specifically motivated by a victim’s public office |
| PC 245(a)(1) | Assault with a deadly weapon or force likely to cause great bodily injury |
| PC 664/187(a) | Attempted murder — general version, not tied to public office |
If intent to retaliate or prevent official duties can’t be proven, a 217.1(a) charge frequently gets reduced to plain PC 240 assault, which carries much lighter penalties.
Common mistakes people make with this code
Confusing the “police scanner” number with the current statute. Slang and scanner-code reference sites often lag behind actual amendments. If you’re dealing with a real legal situation, check the current codified section — 217.1 — not a decades-old shorthand.
Assuming it only protects police officers. The list of protected officials is much broader than law enforcement: judges, prosecutors, public defenders, elected officials at every level of state and local government, and their immediate family members are all covered.
Assuming injury is required. As noted above, an attempted but unsuccessful assault can still meet the legal definition, provided intent and present ability are shown.
Treating “wobbler” as a guarantee of a lighter charge. Wobbler status means a prosecutor has discretion to file either a misdemeanor or a felony — it doesn’t mean the case defaults to the lesser charge. The decision depends heavily on the specific facts and the defendant’s record.
What to do if you’re facing a 217.1(a) charge
This isn’t legal advice — it’s a general orientation, and every case turns on its specific facts:
- Don’t discuss the incident with anyone besides your attorney, including on social media or with mutual acquaintances of the alleged victim.
- Get a criminal defense attorney involved early, ideally before any charging decision is made — pre-filing intervention can sometimes prevent a case from being filed at all.
- Preserve evidence of context and intent, since the prosecution’s entire case often hinges on proving retaliatory or preventive motive, not just that an assault occurred.
- Understand the wobbler distinction so you know what’s realistically at stake — ask your attorney directly whether the DA’s office is likely to file as a misdemeanor or felony given the facts.
Key takeaways
- Plain “Penal Code 217” is not the active, current section in California law — 217.1(a) is.
- 217.1(a) covers assault against a defined list of public officials, motivated by retaliation or an attempt to prevent them from doing their job.
- No physical contact is required — an unsuccessful attempt with present ability can still qualify.
- Penalties range from up to a year in county jail (misdemeanor) to 15 years-to-life (attempted murder of a public official under 217.1(b)).
- If motive can’t be proven, the charge often reduces to ordinary assault under PC 240.
FAQ
What does 217 mean in police codes? Some scanner and police-code reference sites still list “217” as shorthand for assault with intent to murder, reflecting older language from the code’s history. The section currently in force covers assault on a public official and is numbered 217.1(a).
Is Penal Code 217 still an active law in California? Not as a standalone section. The relevant, currently codified provision is 217.1, with subsection (a) for assault on a public official and subsection (b) for attempted murder of a public official.
What’s the difference between PC 217 and PC 217.1? 217.1 is the modern, active version of the assault-on-officials provisions. Any reference to plain “217” for this topic should be treated as outdated shorthand rather than current statutory language.
Who counts as a “public official” under PC 217.1(a)? A wide list: the President and Vice President, governors, judges (current and former), agency heads, mayors, city council members, county supervisors, sheriffs, district attorneys, public defenders, and the immediate family members of these officials.
Is assault on a public official a felony or a misdemeanor? It’s a wobbler — prosecutors can charge it either way depending on the circumstances, the presence of a weapon, and the defendant’s history.
Do you have to physically touch someone to be charged under PC 217.1(a)? No. Assault under California law only requires an unlawful attempt with the present ability to cause injury — actual contact isn’t necessary.
What’s the difference between assault on a public official and attempted murder of a public official? 217.1(a) covers assault generally; 217.1(b) specifically covers attempted murder of a listed official for retaliatory or preventive reasons, and carries a far harsher penalty — 15 years to life in state prison.
What should you do if you’re charged under PC 217.1(a)? Contact a criminal defense attorney as early as possible, avoid discussing the incident outside of that relationship, and understand that the prosecution’s case depends heavily on proving motive, not just the act itself.
Primary sources referenced:
- California Legislative Information — official Penal Code text (leginfo.legislature.ca.gov)
- Justia California Codes
- FindLaw California Codes
Suggested internal links (4–6, adapt to your site):
- Overview of California’s assault laws (PC 240 vs. 245)
- Explainer on “wobbler” offenses in California
- Guide to attempted murder charges (PC 664/187)
- What “present ability” means in California assault law
- Three Strikes law overview
MORE INFORMATION : outrightcrm.co.uk