> 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. § 5979 — Exemption from arrest and service of process.

- **Citation**: 42 Pa.C.S. § 5979
- **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-59/section-5979](https://corpuslaw.us/codes/pennsylvania/title-42/chapter-59/section-5979)
- **Semantic URL**: [https://corpuslaw.us/codes/pennsylvania/title-42/chapter-59/section-5979](https://corpuslaw.us/codes/pennsylvania/title-42/chapter-59/section-5979)

## Hierarchy

Title 42 > Chapter 59

## Text

If a witness from another state comes into or passes through this Commonwealth under an order directing him to attend and testify in this or another state, he shall not, while in this Commonwealth pursuant to the order, be subject to arrest or the service of process, civil or criminal, because of any act committed prior to his arrival in this Commonwealth under the order.
