In the realm of criminal justice, sentencing serves as a critical juncture where the principles of justice, deterrence, rehabilitation, and…