Update: Jesse Dewitt Osborne was sentenced on Nov. 14, 2019, to life without parole.

A 14-year-old boy in South Carolina killed his father at home, then went to a nearby elementary school and shot two boys and a teacher with a handgun on Wednesday, according to local authorities.

The teenager, whose name was not released, was taken into custody around 2 p.m. at Townville Elementary School in Anderson County, about 100 miles northeast of Atlanta.

One of the students was shot in the leg, one was shot in the foot and the teacher was shot in the shoulder, Capt. Garland Major of the Anderson County sheriff’s office said.