> 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).

# 18 Pa.C.S. § 5301 — Official oppression.

- **Citation**: 18 Pa.C.S. § 5301
- **Node Type**: section
- **Jurisdiction**: Pennsylvania (state)
- **Code Body**: Pennsylvania Consolidated Statutes (Aug. 2026 snapshot) (Pa.C.S.)
- **Official Source**: [https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=18)
- **Canonical URL**: [https://corpuslaw.us/codes/pennsylvania/title-18/chapter-53/section-5301](https://corpuslaw.us/codes/pennsylvania/title-18/chapter-53/section-5301)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-18/chapter-53/section-5301](https://corpuslaw.us/codes/pennsylvania/title-18/chapter-53/section-5301)

## Hierarchy

Title 18 > Chapter 53

## Text

A person acting or purporting to act in an official capacity or taking advantage of such actual or purported capacity commits a misdemeanor of the second degree if, knowing that his conduct is illegal, he:

(1) subjects another to arrest, detention, search, seizure, mistreatment, dispossession, assessment, lien or other infringement of personal or property rights; or

(2) denies or impedes another in the exercise or enjoyment of any right, privilege, power or immunity.
