Any Public Prosecutor may, with the consent of the Court, before the judgment is pronounced, withdraw from the prosecution of any person ; and upon such withdrawal,
- if it is made before a charge has been framed, the accused shall be discharged ;
- if it is made after a charge has been framed, or when under this Code no charge is required, he shall be acquitted .