Skierlik shooter Johann Nel was sentenced to 169 years in jail, the SABC reported on Friday.
The sentence includes four life terms.
The 19-year-old earlier this week pleaded guilty in the Mmabatho High Court in Mafikeng to killing four people and wounding several others in a January 14 shooting spree.
The attack, believed to have been racially motivated, was carried out in the Skierlik informal settlement near Swartruggens in the North West.