Chief Minister Suvendu Adhikari said the proposed legislation is aimed at preventing riots and other forms of violence.