How residents clashed, then collaborated with city officials