HIGHLANDS RANCH, Colo. – A Colorado teen set to join the U.S. Marines this summer is credited with helping subdue a gunman during a shooting at his Denver-area school on Tuesday.

The Marines said Brendan Bialy helped saved lives during the attack at the STEM School Highlands Ranch. One student died, and two suspects are in custody.

"Brendan’s courage and commitment to swiftly ending this tragic incident at the risk of his own safety is admirable and inspiring," Capt. Michael Maggitti said in a statement. "His decisive actions resulted in the safety and protection of his teachers and fellow classmates."

Bialy joined the Marines under the Delayed Entry Program, and is scheduled to ship out for basic training this summer.

Student Nui Giasolli told NBC's "Today" show that multiple students in her literature class jumped at the shooter, including the student who was fatally shot.

"They were very heroic," she said of the students who confronted the shooter. "I can't thank them enough."

Three of the eight wounded remained hospitalized Wednesday. The family of Kendrick Castillo confirmed to multiple media outlets that the 18-year-old student was killed.