The Code of Criminal Procedure, 1973 (CrPc)
219. Three offences of same kind within year may be charged together.
(1) When a person is accused of more offences than one of the same kind committed within the space of twelve months from the first to the last of such offences, whether in respect of the same person or not, he may be charged with, and tried at one trial for, any number of them not exceeding three.
(2) Offences are of the same kind when they are punishable with the same amount of punishment under the same section of the Indian Penal Code (45 of 1860) or of any special or local laws:
Provided that, for the purposes of this section, an offence punishable under section 379 of the Indian Penal Code (45 of 1 860) shall be deemed to be an offence of the same kind as an offence punishable under section 380 of the said Code, and that an offence punishable under any section of the said Code, or of any special or local law, shall be deemed to be an offence of the same kind as an attempt to commit such offence, when such an attempt is an offence.