exp tuchman school shooting simulater CNNTV_00002001.jpg
exp tuchman school shooting simulater CNNTV_00002001.jpg
Now playing
03:21
Missouri police use school shooting simulator
Jason Seaman, a seventh grade science teacher at Noblesville West Middle School in Noblesville, Ind., speaks to the media during a press conference Monday, May 28, 2018. Seaman tackled and disarmed a student with a gun at the school on Friday. He was shot but not seriously injured. (AP Photo/Michael Conroy)
Michael Conroy/AP
Jason Seaman, a seventh grade science teacher at Noblesville West Middle School in Noblesville, Ind., speaks to the media during a press conference Monday, May 28, 2018. Seaman tackled and disarmed a student with a gun at the school on Friday. He was shot but not seriously injured. (AP Photo/Michael Conroy)
Now playing
01:17
Teacher who stopped school shooter speaks out
KTRK
Now playing
01:59
Mom: I told my daughter, 'run, baby'
Pres. Donald Trump reacts to the shooting at Santa Fe High School in Texas
CNN
Pres. Donald Trump reacts to the shooting at Santa Fe High School in Texas
Now playing
01:45
How Trump responds to shooting attacks
A target sheet hangs at a shooting range July 22 in Aurora, Colorado.
Getty Images
A target sheet hangs at a shooting range July 22 in Aurora, Colorado.
Now playing
02:20
How police train for active shooter response
Handguns that were swapped for gift cards during a Los Angeles Police Department sponsored gun buyback event in Los Angeles, California on December 13, 2014.  The city held the event in three locations and the public were able safely and anonymously surrender firearms in exchange for $100 and $200 gift cards.    AFP PHOTO/MARK RALSTON        (Photo credit should read MARK RALSTON/AFP/Getty Images)
MARK RALSTON/AFP/AFP/Getty Images
Handguns that were swapped for gift cards during a Los Angeles Police Department sponsored gun buyback event in Los Angeles, California on December 13, 2014. The city held the event in three locations and the public were able safely and anonymously surrender firearms in exchange for $100 and $200 gift cards. AFP PHOTO/MARK RALSTON (Photo credit should read MARK RALSTON/AFP/Getty Images)
Now playing
02:19
Survivors of gun violence are fed up
VR shooting
HLN
VR shooting
Now playing
02:12
Virtual reality puts teachers inside shooting
WJLA
Now playing
01:00
Two injured in Maryland school shooting
sheriff tim cameron
CNN
sheriff tim cameron
Now playing
01:29
Sheriff details Maryland school shooting
CNN
Now playing
00:59
Student speaks while on lockdown
Isabela Barry documents her first day back to Marjory Stoneman Douglas High School after the school shooting.
Isabela Barry documents her first day back to Marjory Stoneman Douglas High School after the school shooting.
Now playing
04:29
Go with students inside Parkland school
Emergency crews respond to Marshall County High School after a fatal school shooting Tuesday, Jan. 23, 2018, in Benton, Ky. Authorities said a shooting suspect was in custody. (Ryan Hermens/The Paducah Sun via AP)
Ryan Hermens/The Paducah Sun/AP
Emergency crews respond to Marshall County High School after a fatal school shooting Tuesday, Jan. 23, 2018, in Benton, Ky. Authorities said a shooting suspect was in custody. (Ryan Hermens/The Paducah Sun via AP)
Now playing
01:02
2 killed in Kentucky school shooting
Facebook photo of Bailey Holt.
From Facebook
Facebook photo of Bailey Holt.
Now playing
01:27
Shooting victim called her mom before she died
KCRA
Now playing
01:21
California gunman kills 5, wounds 10
Mattoon High School
Now playing
01:00
Hero teacher tackles student gunman
san antonio teachers self defense course_00002301
san antonio teachers self defense course_00002301
Now playing
01:27
Teachers trained to take down killers
(CNN) —  

An Illinois school resource officer is being praised as a hero for intervening when a former student opened fire Wednesday morning at Dixon High School.

US Vice President Mike Pence lauded the “heroic actions” of Dixon Police Officer Mark Dallas, who shot and wounded the gunman.

“Another example of the brave work performed by law enforcement each and every day. Lives were saved thanks to the heroic actions of school resource officer Mark Dallas,” Pence said on Twitter.

Suspect Matthew Milby faces three charges of aggravated discharge of a firearm and $2 million bond, Illinois State Police said. More charges may be filed.

The 19-year-old former student opened fire near the school auditorium where students had gathered for graduation ceremony rehearsal, the statement said.

The suspect fled the school and Dallas chased him, Dixon Police Chief Steven Howell said in a news conference. The suspect continued to shoot at the officer and the officer returned fire, Howell said.

Milby used a 9 mm semiautomatic rifle in the shooting that was purchased by his mother in 2012, state police said. Authorities are trying to determine how Milby got hold of the weapon.

Milby was released from the hospital on Wednesday and taken to the Lee County Jail, where he is awaiting an arraignment tentatively scheduled for Friday, state police said.

Students file out of Dixon High School in Illinois after a gunman opened fire in the school.
Alex T. Paschal/AP
Students file out of Dixon High School in Illinois after a gunman opened fire in the school.

The officer is on paid administrate leave. No one else was injured.

“With shots ringing out in the hallways of the school, he charged towards the suspect and confronted him, head-on. Because of his heroic actions, countless lives were saved,” Howell said.

Dixon High School and all Dixon public schools went into lockdown during the incident.

“A tragedy was averted today in Dixon because a police officer put his life on the line to protect his fellow citizens,” said Shawn Roselieb, executive director of the Illinois Fraternal Order of Police Labor Council.

“The officer’s actions at the high school will be closely scrutinized, but the simple fact is, nobody but the gunman was hurt today, and keeping students and teachers safe is the primary job for school resource officers.”

Sheena Jones contributed reporting.