The city councilmen refused the demonstrators a permit because *they* advocated violence.

Are "the demonstrators" and "they" the same entity?
yes