More than 300,000 people took to the streets, some wearing Halloween costumes, before the demonstrations ended in violence.