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

# 3 Pa.C.S. § 315 — Right of action.

- **Citation**: 3 Pa.C.S. § 315
- **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=03](https://www.palegis.us/statutes/consolidated/view-statute?txtType=HTM&ttl=03)
- **Canonical URL**: [https://corpuslaw.us/codes/pennsylvania/title-3/chapter-3/section-315](https://corpuslaw.us/codes/pennsylvania/title-3/chapter-3/section-315)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-3/chapter-3/section-315](https://corpuslaw.us/codes/pennsylvania/title-3/chapter-3/section-315)

## Hierarchy

Title 3 > Chapter 3

## Text

(a) Attorney General action.--The Attorney General may bring an action against the local government unit in Commonwealth Court to invalidate the unauthorized local ordinance or enjoin the enforcement of the unauthorized local ordinance.

(b) Other party action.--Notwithstanding any provision of 42 Pa.C.S. Ch. 85 Subch. C (relating to actions against local parties), any person who is aggrieved by the enactment or enforcement of an unauthorized local ordinance may bring an action against the local government unit in Commonwealth Court to invalidate the unauthorized local ordinance or enjoin the enforcement of the unauthorized local ordinance. Cross References. Section 315 is referred to in sections 314, 316, 317 of this title.
