Charles passed several laws that appealed to the upper class, but angered the middle class. The situation came to a head when he appointed a new minister on 8 August 1829 who did not have the confidence of the chamber. The chamber censured the king on 18 March 1830 and in response Charles proclaimed five ordinances on 26 July intended to silence criticism against him. This almost resulted in another revolution as dramatic as the one in 1789, but moderates were able to control the situation.