A peace officer, correctional officer, or any person acting by his command in his aid and assistance, is justified in using deadly force when:
1. The officer is acting in obedience to and in accordance with any judgment of a competent court in executing a penalty of death; or
2. In effecting an arrest or preventing an escape from custody following arrest and the officer reasonably believes both that:
3. The officer is in the performance of his legal duty or the execution of legal process and reasonably believes the use of the force is necessary to protect himself or others from the infliction of serious bodily harm; or
4. The force is necessary to prevent an escape from a penal institution or other place of confinement used primarily for the custody of persons convicted of felonies or from custody while in transit thereto or therefrom unless the officer has reason to know:
R.L.1910, § 2333. Amended by Laws 1990, c. 179, § 1, emerg. eff. May 3, 1990.