Complex sentence: He was sentenced to 6½ years in prison, the maximum sentence he could have received; but he served less than four years before his release, having been given credit for time served before conviction.
Split into simpler sentences: He was sentenced to 6½ years in prison, the maximum sentence he could have received. He served less than four years before his release, having been given credit for time served before conviction.