HIGHLANDS RANCH, COLORADO - MAY 07: Officers stand watch at the scene of a shooting in which at least seven students were injured at the STEM School Highlands Ranch on May 7, 2019 in Highlands Ranch, Colorado. (Photo by Tom Cooper/Getty Images)
HIGHLANDS RANCH, COLORADO - MAY 07: Officers stand watch at the scene of a shooting in which at least seven students were injured at the STEM School Highlands Ranch on May 7, 2019 in Highlands Ranch, Colorado. (Photo by Tom Cooper/Getty Images)
PHOTO: Tom Cooper/Getty Images North America/Getty Images
Now playing
02:27
Students describe Colorado school shooting
PHOTO: Pool/Getty Images
Now playing
02:04
Mitch McConnell: Capitol rioters were fed lies
WASHINGTON, DC - JANUARY 16: National Guard troops march by security fencing near the U.S. Capitol on January 16, 2021 in Washington, DC. After last week
WASHINGTON, DC - JANUARY 16: National Guard troops march by security fencing near the U.S. Capitol on January 16, 2021 in Washington, DC. After last week's riots at the U.S. Capitol Building, the FBI has warned of additional threats in the nation's capital and in all 50 states. According to reports, as many as 25,000 National Guard soldiers will be guarding the city as preparations are made for the inauguration of Joe Biden as the 46th U.S. President. (Photo by Eric Thayer/Getty Images)
PHOTO: Eric Thayer/Getty Images
Now playing
01:49
Two Army National Guard members removed from inauguration duty
An 18-year-old college student from Georgia has been sentenced to four months in prison in the Cayman Islands after breaking the British Caribbean territoryís Covid-19 protocol while visiting her boyfriend for a jet skiing competition, according to her family.
An 18-year-old college student from Georgia has been sentenced to four months in prison in the Cayman Islands after breaking the British Caribbean territoryís Covid-19 protocol while visiting her boyfriend for a jet skiing competition, according to her family.
PHOTO: Courtesy Jeanne Mack
Now playing
01:16
Teen jailed for breaking Covid quarantine speaks out
daily weather forecast california fire threat strong winds snow_00003520.png
daily weather forecast california fire threat strong winds snow_00003520.png
Now playing
02:07
Severe wind event promps fire threat in California
This screen grab from a Zoom call shows New York Mets general manager Jared Porter Monday, Dec. 14, 2020. Mets general manager Jared Porter sent graphic, uninvited text messages and images to a female reporter in 2016 when he was working for the Chicago Cubs in their front office, ESPN reported Monday night, Jan. 18, 2021.
This screen grab from a Zoom call shows New York Mets general manager Jared Porter Monday, Dec. 14, 2020. Mets general manager Jared Porter sent graphic, uninvited text messages and images to a female reporter in 2016 when he was working for the Chicago Cubs in their front office, ESPN reported Monday night, Jan. 18, 2021.
PHOTO: AP
Now playing
01:08
NY Mets fire GM after he reportedly sent explicit pictures to female reporter In 2016
McCarthy
McCarthy
PHOTO: CNN
Now playing
01:40
'Far too close:' Army secretary reveals sobering details on riot
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
US President Donald Trump waves to the media as he makes his way to board Air Force One before departing from Andrews Air Force Base in Maryland on January 12, 2021. - Trump is traveling to Texas to review his border wall project. (Photo by MANDEL NGAN / AFP) (Photo by MANDEL NGAN/AFP via Getty Images)
PHOTO: Mandel Ngan/AFP/Getty Images
Now playing
03:44
Trump mostly in seclusion during final days of presidency
Members of the Michigan Boogaloo Bois an anti-government group stand with their long guns near the Capitol Building in Lansing, Michigan on January 17, 2021, during a nationwide protest called by anti-government and far-right groups supporting US President Donald Trump and his claim of electoral fraud in the November 3 presidential election. - The FBI warned authorities in all 50 states to prepare for armed protests at state capitals in the days leading up to the January 20 presidential inauguration of President-elect Joe Biden. (Photo by SETH HERALD / AFP) (Photo by SETH HERALD/AFP via Getty Images)
Members of the Michigan Boogaloo Bois an anti-government group stand with their long guns near the Capitol Building in Lansing, Michigan on January 17, 2021, during a nationwide protest called by anti-government and far-right groups supporting US President Donald Trump and his claim of electoral fraud in the November 3 presidential election. - The FBI warned authorities in all 50 states to prepare for armed protests at state capitals in the days leading up to the January 20 presidential inauguration of President-elect Joe Biden. (Photo by SETH HERALD / AFP) (Photo by SETH HERALD/AFP via Getty Images)
PHOTO: Seth Herald/AFP/Getty Images
Now playing
04:37
Expert: Social media to extremism is like oxygen to fire
Pharmacist Jason Hyde fills syringes with the Moderna Covid-19 vaccine as first responders wait to receive it at UMass Memorial Hospital in Marlborough, Massachusetts on January 12, 2021. - First Responders started to receive their vaccinations on January 11, as part of the phase one of vaccinations roll out in Massachusetts. (Photo by Joseph Prezioso / AFP) (Photo by JOSEPH PREZIOSO/AFP via Getty Images)
Pharmacist Jason Hyde fills syringes with the Moderna Covid-19 vaccine as first responders wait to receive it at UMass Memorial Hospital in Marlborough, Massachusetts on January 12, 2021. - First Responders started to receive their vaccinations on January 11, as part of the phase one of vaccinations roll out in Massachusetts. (Photo by Joseph Prezioso / AFP) (Photo by JOSEPH PREZIOSO/AFP via Getty Images)
PHOTO: Joseph Prezioso/AFP/Getty Images
Now playing
02:15
CDC warns new Covid-19 variants could accelerate spread in US
PHOTO: @FLOTUS
Now playing
02:51
Watch Melania Trump's farewell speech
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
UNITED STATES - JANUARY 4: Rep. Lauren Boebert, R-Colo., is seen during a group photo with freshmen members of the House Republican Conference on the House steps of the Capitol on Monday, January 4, 2021. (Photo By Tom Williams/CQ-Roll Call, Inc via Getty Images)
PHOTO: Tom Williams/CQ-Roll Call, Inc/Getty Images
Now playing
02:49
GOP lawmaker accused of giving 'reconnaissance' tour prior to Capitol riot
PHOTO: CNN
Now playing
04:36
Former FBI adviser calls Trump a charismatic spark for extremism
guatemala honduras migrants tear gas Oppmann intl ldn vpx_00000604.png
guatemala honduras migrants tear gas Oppmann intl ldn vpx_00000604.png
PHOTO: CNNE
Now playing
01:30
Authorities use tear gas and batons against US-bound migrants
PHOTO: CNN Weather
Now playing
02:03
California faces strong winds and increased fire threat
PHOTO: Getty Images
Now playing
02:41
Alexey Navalny arrested on his return to Moscow
PHOTO: CNN
Now playing
01:47
John King: It's a horrific time to become president
(CNN) —  

When the shooter opened fire at STEM School Highlands Ranch in suburban Denver, 18-year-old Kendrick Castillo charged him, getting shot himself in the process but giving his classmates time to take cover or bolt.

Nui Giasolli had British literature class with one of the shooters who killed a student and wounded eight others Tuesday at the school, and she shared with CNN the story of terror and heroism that unfolded once bullets began to fly.

When children bear witness to tragedy

The shooter came into the classroom late while the class was watching “The Princess Bride” as part of a lesson on analyzing comedy, she said. He talked to the teacher, walked over to a second classroom door and opened it. He walked back toward his desk, then returned to the door and closed it, Nui recalled.

She’d known him for years, she said. He was always nice to her. She never thought he was capable of what followed, she said.

“The next thing I know he’s pulling out a gun,” she said. “Then he told us not to move and that’s when the shooting started.”

“Kendrick,” she said, “lunged at him and tried to subdue him. As soon as he said, ‘Don’t you move,’ Kendrick lunged, giving us all enough time to hide under our desks, and the shooter ended up shooting Kendrick.”

Three other students also rushed the shooter, Nui said, and “they were able to subdue him while the rest of us ran out.”

Standing alongside her grateful mother, Nyki, the young woman told CNN, “They are so brave. They all risked their lives to make sure that 10, 15 of us all got out of that classroom safe and that we were able to go home to our families. … There is nothing greater in this world than these kids willing to do that.”

Kendrick Castillo, 18, was killed protecting his fellow students, classmates say.
Kendrick Castillo, 18, was killed protecting his fellow students, classmates say.
PHOTO: courtesy John and Maria Castillo

Added her mother in tears, “I will never be able to thank (Kendrick). I have no words other than ‘what a hero.’ … All of these kids are alive because of his sacrifice and because of the sacrifices and the bravery of all the boys that neutralized this student.”

One of the three other students Nui mentioned is senior Brendan Bialy. His father told The New York Times that Brendan was in the classroom when two students walked in and one of them pulled a gun out of a guitar case.

Brendan and two friends tried to tackle the shooter, but one of the boys was shot in the chest, Brad Bialy told the paper. Other students tried to stop the bleeding by applying pressure to his chest, the father told the Times.

The Marine Corps confirmed Bialy helped to subdue the alleged shooter. Bialy is a member of the Marine Corps delayed entry program and is scheduled to attend recruit training this summer, the Marine Corps said in a news release.

“Brendan’s courage and commitment to swiftly ending this tragic incident at the risk of his own safety is admirable and inspiring. His decisive actions resulted in the safety and protection of his teachers and fellow classmates,” the Marine Corps said.

The youngsters did exactly what they were supposed to do, according to experts. Where people were once advised to flee or shelter in place, the new mantra for surviving an active shooter situation is “run, hide, fight.”

The guidance, sometimes referred to as Civilian Response to Active Shooter Events, began to emerge in 2002 upon the realization that the law enforcement response at Columbine High School, which happened 20 years ago about 7 miles away from Tuesday’s shooting, was ineffective.

The shooters at Columbine – just like Virginia Tech, Fort Hood, Sandy Hook and far too many others – weren’t common criminals, experts realized. They weren’t after wallets or purses. They wanted body counts, blood and headlines.

CRASE trainers devised a strategy called “avoid, deny, defend,” but the premise is the same as “run, hide, fight.” If you can’t protect yourself, take out the gunman.

“Avoid” means not only to run but to be vigilant. Know where the exits are and visualize how to get out of a room before something goes awry. “Deny” includes hiding, but it also means taking other precautions, such as barricading doors, turning off lights and silencing phones. If hiding is the only option, do it behind something that will stop a bullet.

And when “avoid” and “deny” fail, there’s “defend,” which means fight – and not fairly. Do whatever it takes to stop the shooter.

A week ago, across the country at the University of North Carolina at Charlotte, Riley Howell, 21, knew he and his classmates might not survive unless someone took down the man who had just opened fire in a lecture hall.

He charged the gunman, knocking him off his feet, allowing a police officer to rush in, disarm the suspect and take him into custody, police said.

Much like that of the 18-year-old in Highlands Ranch, Howell’s heroism came at the ultimate price.

Howell receives military honors

“He took the fight to the assailant. … Unfortunately, he had to give his life to do so, but he saved lives doing so,” Charlotte-Mecklenburg police Chief Kerr Putney said. “You’re either going to run, you’re going to hide and shield, or you’re going to take the fight to the assailant. Having no place to run or hide, he did the last.”

CNN’s Ryan Young contributed to this report.