There are many cases in Criminal Defense cases where individuals find themselves in a situation in which the use of force is necessary in order to execute a public duty. Section 504 of the Pa criminal outlines the specifics of when the use of force is necessary in the execution of public duty. public drunkenness There are a number of provisions that outline when exactly force can be used and would be protected under this statute. The first provision is about defining the duties or functions of a public officer or the assistance to be rendered to such officer in the performance of his duties. Essentially this gives public officers the right to use force when they deem it necessary to perform their duties. The next provision protects anyone who is executing a legal process. The third provision protects individuals who are enforcing a contempt of court order. The fourth provision protects individuals who are in the armed forces that are acting within the lawful conduct of war.