Sentencing is up to the judge. Your friend can talk to his lawyer about what the judge is likely to do.