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

# 42 Pa.C.S. § 8340.18 — Awards.

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

## Hierarchy

Title 42 > Chapter 83

## Text

(a) Party asserting immunity.--If a cause of action based on protected public expression is commenced against a party, all of the following apply:

(1) If the party is immune under section 8340.15 (relating to grant of immunity), the court shall award the party attorney fees, court costs and expenses of litigation jointly and severally against each adverse party that asserted the cause of action.

(2) If the party asserts protected public expression immunity and the opposing party voluntarily discontinues the action under Pa.R.C.P. No. 230 (relating to voluntary nonsuit), with or without prejudice, the court shall award the asserting party attorney fees, court costs and expenses of litigation jointly and severally against each adverse party that asserted the cause of action.

(b) Party opposing immunity.--If the court determines that a party's assertion of protected public expression immunity is frivolous or filed solely with intent to delay the proceeding, the court shall award the opposing party attorney fees, court costs and expenses of litigation, incurred in opposing the assertion of protected public expression immunity.
