Latest: Chief: Officer saved lives by facing school gunman

An emergency vehicle appears outside Dixon High School Wednesday, May 16, 2018 in Dixon, Ill. Officials say a police officer has shot and wounded a gu

An emergency vehicle appears outside Dixon High School Wednesday, May 16, 2018 in Dixon, Ill. Officials say a police officer has shot and wounded a gu

Police cars appear outside Dixon High School Wednesday, May 16, 2018 in Dixon, Ill. Officials say a police officer has shot and wounded a gunman at a

Police cars appear outside Dixon High School Wednesday, May 16, 2018 in Dixon, Ill. Officials say a police officer has shot and wounded a gunman at a

DIXON, Ill. (AP) — The Latest on a shooting at a northern Illinois high school (all times local):

12:10 a.m.

A police chief says a school resource officer saved lives when he confronted an armed 19-year-old former student at a high school in northern Illinois.

Police Chief Steven Howell said at a news conference that the officer shot and wounded the lone gunman at Dixon High School about 8 a.m. Wednesday. No one else was hurt.

Howell says the former student fired several shots near the school gymnasium and ran away when the officer confronted him. He says the teenager turned and shot at the officer, who then returned fire.

Howell praised the officer for saving lives. He says the gunman is in custody with non-life-threatening injuries.

City manager Danny Langloss told Sauk Valley Media that students had been gathered in the gym for graduation practice when the shooting happened.

___

10:15 a.m.

Officials say a police officer working at a northern Illinois high school shot and wounded a former student who fired a gun at him.

The shooting happened in the Dixon High School gymnasium at about 8 a.m. Wednesday.

City manager Danny Langloss says students were gathered there for graduation practice when the officer exchanged gunfire with the gunman. Authorities haven't provided the gunman's name. Lee County Sheriff John Simonton tells Sauk Valley Media he is a 19-year-old former student.

Langloss says the gunman is in custody with what he describes as non-life-threatening injuries. He says neither the officer nor anyone else was injured.

All schools in the city about 80 miles (130 kilometers) west of Chicago have been placed on lockdown while the shooting is investigated.