PHOTO: WISN
Now playing
01:56
School officer shot armed student in classroom, police say
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: Brendan Smialowski/AFP/Getty Images
A view of Capitol Hill during heightened security concerns over possible protests or violence tomorrow March 3, 2021, in Washington, DC. - Washington's security posture has been bolstered after threats of a possible March 4, 2021, "breach" of the US Capitol, with the House of Representatives changing its voting plans to avoid gathering members on a day of potential unrest. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
03:18
Rep. Sarbanes: Failure to pass HR 1 'would split our democracy in two'
Senior Advisor to the President Jared Kushner  attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
PHOTO: BRENDAN SMIALOWSKI/AFP/AFP via Getty Images
Senior Advisor to the President Jared Kushner attends a press conference on September 4, 2020, in the Brady Briefing Room of the White House in Washington, DC. (Photo by Brendan Smialowski / AFP) (Photo by BRENDAN SMIALOWSKI/AFP via Getty Images)
Now playing
02:50
Jared Kushner disappears from Trump's inner circle
PHOTO: CBS Evening News with Norah O'Donnell
Now playing
02:14
Governor Cuomo accuser Charlotte Bennett speaks out
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington.  Powell told Congress on Wednesday, Feb. 24, 2021,  that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment  and warned that many people in the hardest hit industries will likely need to find different jobs.  (AP Photo/Susan Walsh, Pool, File)
PHOTO: Susan Walsh/AP
In this Dec. 1, 2020 file photo, Chairman of the Federal Reserve Jerome Powell appears before the Senate Banking Committee on Capitol Hill in Washington. Powell told Congress on Wednesday, Feb. 24, 2021, that the central bank will not begin raising interest rates until the Fed believes it has reached its goals on maximum employment and warned that many people in the hardest hit industries will likely need to find different jobs. (AP Photo/Susan Walsh, Pool, File)
Now playing
02:18
Jerome Powell: US economy 'some time' away from full recovery
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
PHOTO: Patrick T. Fallon/AFP
A customer wears a face mask while shopping for flowers displayed for sale from a wholesale merchant ahead of the Valentine's Day holiday at the Southern California Flower Market on February 12, 2021 in Los Angeles, California. - While some florists note an increased demand for socially distant gifts, the Covid-19 pandemic has impacted global supply chains and shut down most large events including weddings where flowers are popular. The Valentine's Day and Mother's Day holidays are historically the two busiest days of the year for floral businesses. (Photo by Patrick T. FALLON / AFP) (Photo by PATRICK T. FALLON/AFP via Getty Images)
Now playing
02:39
States rolling back Covid-19 safety measures as cases continue to rise
PHOTO: CBS' 60 Minutes+/Getty Images
Now playing
01:45
'QAnon Shaman' says he has one regret about January 6
psaki
PHOTO: CNN
psaki
Now playing
00:56
Psaki fires back at Trump testing czar over vaccine claims
Now playing
02:30
Alabama governor explains why she's ending mask mandate
PHOTO: CNN
Now playing
01:35
See what security looks like outside US Capitol
Now playing
00:00
Bash: This is why key GOP senator is fighting Biden's stimulus
PHOTO: YouTube/Everyday Astronaut
Now playing
01:19
Watch SpaceX Mars prototype rocket nail landing, explode on pad
WASHINGTON, DC - JANUARY 16:  Physician to U.S. President Donald Trump Dr. Ronny Jackson listens during the daily White House press briefing at the James Brady Press Briefing Room of the White House January 16, 2018 in Washington, DC. Dr. Jackson discussed the details of President TrumpÕs physical check-up from last week.  (Photo by Alex Wong/Getty Images)
PHOTO: Alex Wong/Getty Images
WASHINGTON, DC - JANUARY 16: Physician to U.S. President Donald Trump Dr. Ronny Jackson listens during the daily White House press briefing at the James Brady Press Briefing Room of the White House January 16, 2018 in Washington, DC. Dr. Jackson discussed the details of President TrumpÕs physical check-up from last week. (Photo by Alex Wong/Getty Images)
Now playing
03:14
DOD releases scathing review of former White House physician
PHOTO: CNN/Getty
Now playing
02:10
'Highly misleading at best': Dale reacts to Pence's op-ed
PHOTO: Gov. Cuomo's office
Now playing
03:35
Gov. Andrew Cuomo addresses women's allegations
Commanding General District of Columbia National Guard Major General William J. Walker testifies before the Senate Homeland Security and Governmental Affairs/Rules and Administration hearing to examine the January 6, 2021 attack on the US Capitol on Capitol Hill on March 3, 2021 in Washington, DC. (Photo by Greg Nash / POOL / AFP) (Photo by GREG NASH/POOL/AFP via Getty Images)
PHOTO: GREG NASH/POOL/AFP via Getty Images
Commanding General District of Columbia National Guard Major General William J. Walker testifies before the Senate Homeland Security and Governmental Affairs/Rules and Administration hearing to examine the January 6, 2021 attack on the US Capitol on Capitol Hill on March 3, 2021 in Washington, DC. (Photo by Greg Nash / POOL / AFP) (Photo by GREG NASH/POOL/AFP via Getty Images)
Now playing
03:01
DC National Guard commander: 'Unusual' Pentagon restrictions slowed response to Capitol riot
Supporters of President Donald Trump hold up their phones with messages referring to the QAnon conspiracy theory at a campaign rally at Las Vegas Convention Center on February 21, 2020 in Las Vegas, Nevada.
PHOTO: Mario Tama/Getty Images
Supporters of President Donald Trump hold up their phones with messages referring to the QAnon conspiracy theory at a campaign rally at Las Vegas Convention Center on February 21, 2020 in Las Vegas, Nevada.
Now playing
03:00
Hear why QAnon supporters believe Trump will be president on March 4th
(CNN) —  

An officer on Monday shot an armed 17-year-old student at a high school classroom in the Milwaukee suburb of Waukesha, Wisconsin, police said.

The suspect, who police said pointed a handgun at officers, is in stable condition, Waukesha Police Chief Russell Jack told reporters.

There were no other injuries in the morning incident at Waukesha South High School.

A school resource officer rushed to a classroom after a student saw a classmate with a handgun and that officer began getting other students to safety, police said in a press release.

Other officers responded and tried to start a dialogue with the suspect, Jack said. After the suspect refused to remove his hands from his pockets and ignored the officers, he removed the gun from his waistband and pointed it at the officers, the police chief said.

One of the officers – not the school resource officer – fired, striking the suspect, police said. Medical attention was administered, students were evacuated and the school was placed on lockdown, Jack said.

A firearm was recovered from the scene.

School district Superintendent Todd Gray said, “This is a superintendent’s worst nightmare.”

The officer who opened fire was an 11-year veteran of the police department, according to the release.

A separate incident at a different school in the same city saw a 15-year-old boy taken into custody after police found him with a replica firearm, according to a police press release.

Police were called to Waukesha North High School around 1 p.m. Monday for reports of a student with a gun, the release said. After the school was placed on lockdown, an investigation found the student was no longer on school property.

Police responded to the student’s home and found a replica of a firearm, police said.

CNN’s Amir Vera contributed to this report.

Correction: An earlier version of this article said a school resource officer shot the student. The school resource officer did not discharge a firearm, police said.