late in the evening of the second day a group of wealthy and well-connected citizens , who wanted to prevent revolution , freed mayor dinesh and the imprisoned pale greens with the hope that they would restore order .