(2) It is a defense to a prosecution under this section that the person escaping or attempting to escape was in custody pursuant to an illegal arrest.
(3) Escape in the third degree is a Class A misdemeanor. [1971 c.743 §190]