Updated

The principal of a South Dakota high school was shot and lightly wounded Wednesday in a shooting at the school, but authorities said a suspected shooter was in custody and no students were reported hurt.

Harrisburg High School Principal Kevin Lein suffered a flesh wound in the morning attack, Superintendent James Holbeck told local media outlets.

The suspected shooter is believed to be a student and was in custody, Lincoln County Deputy State's Attorney Ross Wright said. He said Lein was in stable condition.

District administrative assistant Tracy Heiden said all students were safe, but the school was locked down. Parents were asked to stay away, but a handful of parents had gathered outside one entrance. Access to the school from a main thoroughfare was shut off, with a sheriff's deputy standing guard nearby with a rifle.

Harrisburg is about 10 miles south of Sioux Falls.