Section 147 of the Indian Penal Code prescribes 'Punishment for rioting.' It states that whoever is guilty of rioting shall be punished with imprisonment of either description for up to one year, or with fine, or with both. Rioting is defined under Section 146 as the use of force or violence by an unlawful assembly (five or more persons with common object).