Portland has struggled to stop violence from flaring up at public gatherings in recent months. In November, shortly after the presidential election, peaceful anti-Trump demonstrations were disrupted when anarchists smashed windows, ripped out electrical power boxes and spray-painted buildings downtown.