FRESNO, Calif. (AP) — Police have arrested four teenage boys in the shooting of a Central California high school teacher who fought back during an attempted robbery at the school.

Fresno Police Chief Jerry Dyer announced the arrests on Tuesday. According to the Fresno Bee, he identified the suspects as 17 and 16-year-old Norteno gang members.

READ MORE: 'You're Scaring Kids': Crowd Combats Anti-Pride Protesters At Children's Museum By Singing

Police have said the teens were armed with a handgun and a sawed-off shotgun when they confronted Edison High School teacher Steven Guerrero in a classroom around 7 p.m. Thursday.

READ MORE: Rivers See Crowds With Triple-Digit Heat, Also Rescue Calls

Guerrero allowed the group to take a computer but then fought back after one of the teens allegedly struck him with a free weight. He was shot in the stomach and leg, but survived.

Dyer said the shooter was a student at Edison and has confessed.

MORE NEWS: Dispute At Knights Ferry Recreation Area Turns Violent, Vehicle Hits 4 People

Copyright 2013 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.