The sentencing marked the final chapter of a case that stretched over nearly five years and helped usher in sweeping public safety reforms.