HIGHLANDS RANCH, Colo. (AP) — Authorities have released the name of an 18-year-old student accused of opening fire with a classmate inside a charter school in an affluent suburb of Denver, killing a teenager and wounding eight others.

The Douglas County Sheriff's Office confirmed late Tuesday that Devon Erickson was taken into custody after the shooting at STEM School Highlands Ranch. The other suspect is a juvenile whose name has not been released.

Sheriff Tony Spurlock says the gunmen were both students at the school and that he had no information about whether anyone was targeted. At least a handgun was recovered, but Spurlock didn't release additional information about other weapons.

The public charter school has more than 1,850 students in kindergarten through 12th grades.

This story has been corrected to show the suspect's identity was confirmed Tuesday.