During this period he began the reform of the magistracy and promulgated a new penal code, which unified penal legislation in Italy, abolished capital punishment and recognised the workers right to strike.