A gunman who killed four people on Tuesday in rural California fired into an elementary school but was stopped from entering by teachers, police say.

Staff at Rancho Tehama Reserve School went into lockdown, securing school doors after hearing nearby gunshots.

Authorities praised the teachers’ actions as “monumental” in saving “countless” lives.

Police confirmed one child was shot at the school after the gunman fired into it. Others were hurt by broken glass.

Police later confronted the gunman in a stolen vehicle, shooting and killing him. He was named locally as 43-year-old Kevin Neal.

It is believed the shooting spree began after a domestic row with the gunman’s neighbours in Rancho Tehama, a rural community about 120 miles (195km) from Sacramento, on Tuesday morning.