Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A teacher at a Washington state high school tackled a student shooter Monday morning before anybody was injured, according to police.

The suspected shooter, a 16-year-old North Thurston High School student armed with a handgun, was tackled by teacher Brady Olson after firing a shot into the gym floor then running downstairs to the cafeteria and firing into the ceiling, police said.

A statement from the Lacey Police Department said police were notified of the shooting at 7:25 a.m. (10:25 a.m. ET) but by that point, the shooter had already been taken down.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

"I think it's heroic," Lacey Police Commander Chris Ward told NBC affiliate KING 5. "People rise to the occasion when they need to do something. I think, in this case, it probably prevented worse things from happening."

But Olson, a government teacher who was credited with keeping the students and staff safe, said in a statement posted on the school’s website that he simply “reacted in a way that any other teacher would react at the sound of a gunshot.”

He said he and the five other staff members ran “toward the sound of gun fire rather than away.”

“No one, including myself, can prepare for a situation like this, so I’m very thankful that we’re all okay. As always, students come first, and today was no different,” Olson wrote.

North Thurston High School classes and after-school activities were canceled for the day, and parents were asked to pick up students at the school’s football stadium, according to a statement on the school's website.

A school spokesman said police were interviewing the shooter.

Brady Olson, a government teacher, is credited with tackling a student shooter on Monday morning at North Thurston High School in Washington state. No one was injured. North Thurston High School

SOCIAL

Lacey Police on scene at shooting at NTHS. Shooter in custody. No injuries. — Lacey Police (@LaceyPolice) April 27, 2015

Shooter apprehended by staff. Reportedly nobody hurt. School will be dismissed after police finish sweeping school. School messenger coming — N. Thurston Schools (@NTPSnews) April 27, 2015

Thanks to community and parents for your support during this difficult time! #NTHSshooting — N. Thurston Schools (@NTPSnews) April 27, 2015

— Elisha Fieldstadt