Section 238 of CRPC "Compliance with section 207"
When, in any warrant-case instituted on a police report, the accused appears or is brought before a Magistrate at the commencement of the trial, the Magistrate shall satisfy himself that he has complied with the provisions of section 207
Section 239 of CRPC "When accused shall be discharged"
If, upon considering the police report and the documents sent with it under section 173 and making such examination, if any, of the accused as the Magistrate thinks necessary and after giving the prosecution and the accused an opportunity of being heard, the Magistrate considers the charge against the accused to be groundless, he shall discharge the accused, and record his reasons for so doing.
Section 240 of CRPC "Faming of Charge"
(1) If, upon such consideration, examination, if
any, and hearing, the Magistrate is of opinion that
there is ground for presuming that the accused has
committed an offence triable under this Chapter,
which such Magistrate is competent to try and which,
in his opinion, could be adequately punished by him,
he shall frame in writing a charge against the
accused.
(2) The charge shall then be read and explained to
the accused, and he shall be asked whether he pleads
guilty of the offence charged or claims to be tried.
Section 241 of CRPC "Conviction on plea of guilty"
If the accused pleads guilty, the Magistrate shall record the plea and may, in his discretion, convict him thereon.
TRIAL BEFORE A COURT OF SESSION
RIAL BEFORE A COURT OF SESSION
Cases instituted otherwise than on police report
Conclusion of trial