The threat of mob rule to a democracy is restrained by ensuring that the rule of law protects minorities or individuals against short-term demagoguery or moral panic.
Contrary to the revolutionary spirit of the time however, he called for the educated classes to reform the corrupt system of government and warned against revolution, democracy, and mob rule.