Code Of Criminal Procedure Act (No. 15 of 1979) - Sect 197
Plea of guilty
197. If the accused pleads guilty and it appears to the satisfaction of the Judge that he rightly comprehends the effect of his plea, the plea shall be recorded on the indictment and he may be convicted thereon-