The Code of Criminal Procedure, 1973 (CrPc)
240. Framing 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 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.