Section 2(2)(i) in The U.P. Criminal Law (Composition of Offences and Abatement of Trials) (Amendment) Act, 1979
(i)before the institution of the prosecution, the offender shall not be liable to prosecution for such offence and shall, if in custody, be set at liberty;