Section 31(1) in The Code of Criminal Procedure, 1973
(1)When a person is convicted at one trial of two or more offences, the Court may subject to the provisions of section 71 of the Indian Penal Code (45 of 1860), sentence him for such offences, to the several punishments prescribed therefor which such Court is competent to inflict; such punishments when consisting of imprisonment to commence the one after the expiration of the other in such order as the Court may direct, unless the Court directs that such punishments shall run concurrently.