Offences Against Public Tranquillity
(1) Assaulting/obstructing/using criminal force on a public servant trying to disperse an unlawful assembly or suppress a riot/affray is punished with up to 3 years' imprisonment, a mandatory minimum ₹25,000 fine, or both. (2) Merely threatening/attempting the same is punished with up to 1 year's imprisonment, fine, or both.
This provides enhanced, specific protection for public servants (like police) actively working to disperse an unlawful assembly or suppress a riot - with a notably high mandatory minimum fine for the completed offence.
Assaulting a police officer who is actively trying to disperse a riot triggers this specific, heavily-finable offence, distinct from ordinary assault on a public servant.