Section 229 of The Code of Criminal Procedure, 1973 View Chapter 18

Conviction on plea of guilty.

   If the accused pleads guilty, the Judge shall record the plea and may, in his discretion, convict him thereon.