The application of psychological principles to legal issues, including criminal investigations, trials, and sentencing.