's criminal justice system, offering new insights into how incarceration affects subsequent crime and employment. We construct a … panel dataset containing the criminal behavior and labor market outcomes of the entire population, and exploit the random … assignment of criminal cases to judges who differ systematically in their stringency in sentencing defendants to prison. Using …