Pennsylvania Consolidated Statutes

18 Pa. Cons. Stat. § 504 (2026)

  Execution of public duty.

✓ current as of May 2026
Coverage note: this corpus holds the consolidated Pa.C.S. titles only. Unconsolidated P.S. statutes (UTPCPL 73 P.S. § 201-1, Liquor Code, wage payment laws) are not included; a miss here does not mean the statute does not exist. Check palegis.us.
Find cases: SyfertCases citing this section PA-LEGpalegis.us JustiaTitle on Justia CornellLII Search CasesGoogle Scholar

§ 504.  Execution of public duty.

(a)  General rule.--Except as provided in subsection (b) of this section, conduct is justifiable when it is required or authorized by any law of the following:

(1)  The law defining the duties or functions of a public officer or the assistance to be rendered to such officer in the performance of his duties.

(2)  The law governing the execution of legal process.

(3)  The judgment or order of a competent court or tribunal.

(4)  The law governing the armed services or the lawful conduct of war.

(5)  Any other provision of law imposing a public duty.

(b)  Exceptions.--The other sections of this chapter apply to:

(1)  The use of force upon or toward the person of another for any of the purposes dealt with in such sections.

(2)  The use of deadly force for any purpose, unless the use of such force is otherwise expressly authorized by law or occurs in the lawful conduct of war.

(c)  Requisite state of mind.--The justification afforded by subsection (a) of this section applies:

(1)  when the actor believes his conduct to be required or authorized by the judgment or direction of a competent court or tribunal or in the lawful execution of legal process, notwithstanding lack of jurisdiction of the court or defect in the legal process; and

(2)  when the actor believes his conduct to be required or authorized to assist a public officer in the performance of his duties, notwithstanding that the officer exceeded his legal authority.

Notes of Decisions
Cited in 3 cases (1 in the last 5 years), 1987–2023 · leading case: Dial v. Vaughn, 733 A.2d 1 (Pa. Commw. Ct. 1999).
Dial v. Vaughn, 733 A.2d 1 (Pa. Commw. Ct. 1999). · cites it 2× “McDermott, concurring); see sections 504 and 509(5) of the Crimes Code, 18 Pa.C.S. §§ 504 and 509(5). The word "force" means: "Power, violence, compulsion, or constraint exerted upon or against a person.”
Commonwealth v. Berrigan, 535 A.2d 91 (Pa. 1987). · cites it 2× “18 Pa.Cons.Stat.Ann. § 504 (Purdon, 1983).”
Deyo v. Eck (E.D. Pa. 2023). “§ 503 (justification generally); 18 Pa. C.S. § 504 (execution of public duty); 18 Pa.”
Annotations are extracted automatically from the opinions in the Syfert caselaw corpus and ranked by authority, recency, and treatment. Dots show Syfertize treatment of the citing case itself.