PHOTO: courtesy John and Maria Castillo
Now playing
02:27
This student died trying to stop Colorado school shooter
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
PHOTO: Jeenah Moon/Getty Images
NEW YORK, NY - JULY 23: New York Gov. Andrew Cuomo speaks during the daily media briefing at the Office of the Governor of the State of New York on July 23, 2020 in New York City. The Governor said the state liquor authority has suspended 27 bar and restaurant alcohol licenses for violations of social distancing rules as public officials try to keep the coronavirus outbreak under control. (Photo by Jeenah Moon/Getty Images)
Now playing
04:04
NYT: Second former aide accuses Gov. Andrew Cuomo of sexual harassment
PHOTO: CNN Weather
Now playing
02:23
Over 25 million people under threat for severe storms and flash flooding
House Speaker Nancy Pelosi
PHOTO: House TV
House Speaker Nancy Pelosi
Now playing
02:52
House passes Biden's $1.9 trillion Covid-19 relief package
PHOTO: CNN
Now playing
02:54
'Biggest trial of my life': Landlord says eviction moratorium has drained her savings
Jeremy Lin
PHOTO: Getty Images
Jeremy Lin
Now playing
03:40
Ex-NBA star Jeremy Lin says he's been called 'coronavirus' on the court
covid-19 relief package house biden sot malveaux nr vpx _00000000.png
PHOTO: CNN
covid-19 relief package house biden sot malveaux nr vpx _00000000.png
Now playing
02:28
CNN's Joe Johns explains Biden's short speech as relief bill heads to Senate
Misinformation Trump Capitol March rn orig_00004630.png
Misinformation Trump Capitol March rn orig_00004630.png
Now playing
04:08
These Trump supporters are convinced he will be president again on March 4
PHOTO: Isaac Abrack
Now playing
03:00
Hear from schoolgirl who escaped abduction in Nigeria
Saudi Crown Prince Mohammed bin Salman attends a conference in the Saudi capital Riyadh on October 2018.
PHOTO: FAYEZ NURELDINE/AFP/Getty Images
Saudi Crown Prince Mohammed bin Salman attends a conference in the Saudi capital Riyadh on October 2018.
Now playing
02:10
US intel report: Saudi Crown Prince responsible for approving Khashoggi operation
WASHINGTON, DC - JANUARY 17: The U.S. Capitol dome is seen beyond a security fence on January 17, 2021 in Washington, DC. After last week
PHOTO: Michael M. Santiago/Getty Images
WASHINGTON, DC - JANUARY 17: The U.S. Capitol dome is seen beyond a security fence on January 17, 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 Michael M. Santiago/Getty Images)
Now playing
02:33
This is what's in the $1.9 trillion coronavirus package
PHOTO: CNN
Now playing
09:36
I lost everything: Texas mom's devastating story from winter storm
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017.  / AFP PHOTO / Daniel SLIM        (Photo credit should read DANIEL SLIM/AFP via Getty Images)
PHOTO: Daniel Slim/Getty Images
The Pentagon, the headquarters of the US Department of Defense, located in Arlington County, across the Potomac River from Washington, DC is seen from the air January 24, 2017. / AFP PHOTO / Daniel SLIM (Photo credit should read DANIEL SLIM/AFP via Getty Images)
Now playing
05:24
US carries out airstrikes on Iran-backed militia groups
(CNN) —  

After a classmate pulled out a gun in class, Kendrick Castillo couldn’t just stay still. He was surrounded by the friends he considered family and they were all in danger.

Kendrick died when he lunged at the shooter, giving other students at STEM School Highlands Ranch enough time to hide, his family and a classmate said.

“I know that because of what he did, others are alive, and I thank God for that. I love him. And he is a hero and he always will be,” his dad, John Castillo, said.

“He just loved people that much.”

PHOTO: courtesy John and Maria Castillo

The 18-year-old was watching “The Princess Bride” in his British literature class when the shooter pulled out a gun, demanding that nobody moved. After Kendrick lunged at the shooter, three other students also tackled the gunman and tried to subdue him while the rest of the class fled the room.

Kendrick was an only child, but his friends, including the members of the school’s robotics team, were like his siblings, his father said. They would host holiday gift exchanges at his home, shared his toys as a child and would pay for a friend’s movie tickets if someone didn’t have money.

“Be selfless, that’s what my son was, and it got him killed, but he saved others,” Castillo said.

’He was extraordinary’

Kendrick grew up speaking English and Spanish in suburban Denver and first attended Catholic school. He would also spend time fishing and camping with his late grandfather – who had been in the Marines.

“Kendrick was proud of him, proud that his grandfather was a hero,” Castillo said. “Part of me knows that Kendrick wanted to live that legacy.”

PHOTO: courtesy John and Maria Castillo

The teenager had kept the flag that once draped his grandfather’s casket close to him and would pray and kiss his tombstone at Fort Logan National Cemetery.

“He loved the patriotism,” Castillo said. “We are Hispanic by nature but we love America to the core.”

Castillo and his wife Maria were not surprised to learn that their son ran toward danger. They raised him to be responsible and “to be good.”

“This wasn’t your average kid,” Castillo said. “He was extraordinary.”

He refused to be a victim

Kendrick was about a foot away from the shooter and he immediately sprang into action, said Brendan Bialy, one of other students who jumped the gunman.

“Kendrick Castillo died a legend. He died a trooper,” Bialy said. “I know he will be with me for the rest of my life.”

After Bialy was able to move the gun away from the shooter, he checked on Kendrick and tried to get him to talk, but he wasn’t moving. He recalls helping a teacher who came into the room and tried to render medical aid.

Other students had tried to stop the bleeding by applying pressure to Kendrick’s chest, Brendan’s father told The New York Times.

“I refused to be a victim. Kendrick refused to be a victim. The other students refused to be a victim,” he said.

They 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 moment they learned about their son’s sacrifice

Shortly after the shooting, Castillo and his wife Maria were frantically trying to reach Kendrick on his cell phone. They initially thought their son might have been injured, but grew more concerned when he would not pick up their texts and calls.

“I was a little bit guilty, because as I was trying to call him, I thought, well, maybe this is the wrong thing? Maybe I am putting his life in jeopardy by having the phone ring,” Castillo said. “My anxiety and the lump in my chest was growing.”

One of Kendrick’s friends sent Castillo a text saying Kendrick had rushed toward the shooter, but at the time, he didn’t know what to think about it. They watched as other students exited the yellow school buses and reunited with their parents, “and we didn’t have that,” Castillo said.

“I couldn’t believe this was happening to my son,” Castillo said.

The couple learned Kendrick was killed when they went to the hospital looking for him and officials told them his body was still inside the classroom. As they waited to see their son, students would come up to them calling their son a hero.

As Castillo and his wife mourn their son, he said they wish for Kendrick’s classmates to heal, go to college, get married and start their own families surrounded by love.

CNN’s Amanda Watts contributed to this report.