JUDGMENT 1. We are of opinion that when a person is committed to prison under Section 123, Code of Criminal Procedure, for failure to give security to be of good behavior, he is not under going a "sentence of imprisonment" within the meaning of Section 397, Criminal Procedure Code. When a person has been convicted of an offence, the code directs that "sentence" shall be passed upon him. The word "sentence" does not occur in Section 123, Criminal Procedure Code. The language there is that he shall be "committed" to prison. We direct that the sentence of the Sub-Magistrate shall take effect from this date.