
Under Section 227 of the CrPC, the trial Court is required to discharge the accused if it "considers that there is not sufficient ground for proceeding against the accused". However, discharge under Section 239 of the CrPC can be ordered, when "the Magistrate considers the charge against the accused to be groundless".