Criminal justice is the method of practices and institutions of governments directed at upholding social control, deterring and mitigating crime, or sanctioning those who violate laws with criminal penalties and rehabilitation efforts. Those accused of crime have protections against abuse of investigatory and prosecution powers.