The (Rock Hill) Herald reports that Judge Henry Woods ruled Wednesday that 17-year-old Caleb Preston George's must be let out of prison by the time he turns 21.
George pleaded guilty in March to voluntary manslaughter in the death of 21-year-old Jake Miller.
Authorities say George and Miller got into an argument about the victim's girlfriend at a birthday party in Clover in December.
Prosecutors say George then pulled a knife from a block in the kitchen and stabbed Miller in the neck. Miller died the next day.
Authorities say George's mouth was bloodied and his nose broken in the fight.