Children were inside the classroom with the gunman for 35 minutes, making 911 calls.

UVALDE, Texas -- A Texas official admitted law enforcement made the "wrong decision" in their response to the Robb Elementary School shooting, failing to breach the classroom for a 35-minute period as an 18-year-old gunman terrorized children inside.
At a press conference on Friday, Texas Department of Public Safety Director Steven McCraw acknowledged that officers on the scene in the small rural town of Uvalde Tuesday miscalculated what was unfolding.
"It was not the right decision. It was the wrong decision. Period ... We believe there should have been an entry. We don't have time," he said.

Children were inside the Robb Elementary School classroom with him, making 911 calls, McCraw said in a press conference Friday. By the time a U.S. Border Patrol tactical team arrived and killed the alleged shooter, identified as Salvador Ramos, 19 children, and two teachers were killed, several more were severely injured, and others survived to recount the nightmare.
WATCH: Boy who survived Texas school shooting recalls gunman saying 'you're all gonna die'

He allegedly purchased two assault rifles just days after turning 18 and used them to carry out the second-worst school shooting in U.S. history, according to authorities.
Relatives of victims and neighbors of Uvalde's Robb Elementary School are raising questions over how police officers who first arrived on the scene handled the situation -- including whether they followed their own training.
Officials said around 11:28 a.m., the suspect crashed his grandmother's car on the perimeter of the school, pulled out an AR-style rifle and backpack filled with ammunition, and fired at two nearby witnesses as he made his way toward the school. Prior to arriving at the school, the suspect also allegedly shot his grandmother, officials said.
WATCH: Law enforcement officials admit 'mistakes were made'

Officials said Thursday that police did not confront the gunman before he entered the school, despite earlier reporting that a school district police officer had confronted the gunman.
MORE: What we know about 21 Texas school shooting victims; teacher's widower dies of heart attack

At 11:33 a.m., soon after the gunman entered the school through a door that had been propped open, he entered two classrooms and fired at least 100 rounds, McCraw said. Within a few minutes, seven Uvalde police officers were inside the school, and two were grazed by bullets, McCraw said.
A tactical team from Customs and Border Protection was on scene at 12:15 p.m., but did not breach the classroom until 12:50 p.m. -- after a janitor provided keys to unlock the door, McCraw said.
TIMELINE: A look at Uvalde shooter's movements day of massacre
The incident commander believed he was dealing with a barricaded subject inside the school and the children were not at risk, McCraw said.
On Tuesday, a spokesperson for the DPS, Lt. Chris Olivarez, said on national TV that at one point on Tuesday, police officers on the scene decided to "focus" on evacuating students and teachers "around the school," instead of racing to the shooter's location -- even as they heard more gunshots.
Videos posted online show angry parents outside the school, urging police officers to take more action.
MORE: Onlookers urged police to charge into Texas school after shooting began, witnesses say

Those inside a classroom with the shooter made several calls to 911 as the tactical unit waited 35 minutes outside.
Robb Elementary School survivor Samuel Salinas, 10, recounted those moments of horror to "Good Morning America," saying the gunman came into his classroom, closed the door, and told them, "You're all going to die," before opening fire.
"He shot the teacher and then he shot the kids," Salinas said, recalling the cries and yells of students around him.
Salinas said he and other children pretended to be dead "so he wouldn't shoot."
SEE ALSO: Mass shootings in the U.S. have nearly tripled since 2013, data shows

A 911 call was made at 12:03 p.m. from room 112 and lasted 23 seconds. McCraw did not identify the caller. She called back at 12:10 p.m. and advised that there were multiple deaths in the classroom, McCraw said.
The person then called again at 12:13 p.m. and again at 12:16 p.m., when said there were eight to nine students who were still alive, McCraw said. A call was made by someone else from room 111 at 12:19 p.m., the caller hung up when another student told her to hang up, McCraw said.
At 12:21 p.m., three shots were heard over a 911 call. At 12:36 p.m., another 911 call was made by the initial caller and it lasted for 21 seconds. The student caller was told to stay on the line and be very quiet. She told 911 that the gunman shot the door, McCraw said. At approximately 12:43 p.m. and 12:47 p.m., she asked 911 to please send the police now, McCraw said.
The caller said she could hear police next door at 12:46 p.m. At 12:50 p.m., the Border Patrol tactical unit finally breached the door and shot the suspect.