According to section 149 of the Indian penal code, 1860, every member of unlawful assembly guilty of offence committed the in the prosecution of the common object; If an offence is committed by any member of an unlawful assembly in prosecution of the common object of that assembly, or such as the members of that assembly knew to be likely to be committed in prosecution of that object, every person who, at the time of the committing of that offence, is a member of the same assembly, is guilty of that offence.
To attract section 149 of the code it must be shown that the incriminating act was done to accomplish the common object of unlawful assembly. It must be within the knowledge of the other members as one likely to be committed in prosecution of the common object. If members of the assembly knew or were aware of the likelihood of a particular offence being committed in prosecution of a common object, they would be liable for the same under section 149 of IPC, 1860.
According to as the offence is cognizable or non-cognizable and bailable or non-bailable. It is non-compoundable in nature.