Riots had erupted after a mob demolished a madrassa allegedly constructed illegally on the outskirt of Sanvordem-Curchorem.