(720 ILCS 5/7-9) (from Ch. 38, par. 7-9)
    Sec. 7-9. Use of force to prevent escape.
    (a) A peace officer or other person who has an arrested person in his custody is justified in the use of force, except deadly force, to prevent the escape of the arrested person from custody as he would be justified in using if he were arresting such person.
    (b) A guard or other peace officer is justified in the use of force which he reasonably believes to be necessary to prevent the escape from a penal institution of a person whom the officer reasonably believes to be lawfully detained in such institution under sentence for an offense or awaiting trial or commitment for an offense.
    (c) Deadly force shall not be used to prevent escape under this Section unless, based on the totality of the circumstances, deadly force is necessary to prevent death or great bodily harm to himself or such other person.
(Source: P.A. 101-652, eff. 7-1-21.)