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

# 20 Pa.C.S. § 782 — Procedure on attachment of the person.

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

## Hierarchy

Title 20 > Chapter 7

## Text

(a) Direction of writs.--A writ of attachment of the person shall be directed to and executed by the sheriff of the county in which the court or branch of the court is located or of any county where the person to be attached is located.

(b) Discharge of person attached for contempt.--Any person attached for contempt may be discharged from custody by the orphans' court division upon purging himself of contempt to the satisfaction of the division by whose order he was attached.
