A person is not authorized to use force to resist an arrest which he or she knows is being made either by a peace officer or by a private person summoned and directed by a peace officer to make the arrest, even if he or she believes that the arrest is unlawful and the arrest in fact is unlawful.
(ILCS Chapter 720, Act 5, § 7-7) (1981 Code, § 42.07, 7-7)