The process of removing some minor criminal, traffic or juvenile cases from the full judicial process, on the condition that the accused undergo some sort of rehabilitation or make restitution for damages.