19 children and two adults were killed on Tuesday and dozens were injured in a shooting at an elementary school in Uvalde, Texas.

Governor Greg Abbott identified the shooter as 18-year-old Salvador Ramos, a student at Uvalde High School. Multiple sources told ABC News the suspect is dead.

The gunman is also believed to have shot and killed his grandmother before embarking on the shooting spree at the school.

Authorities said the students who were shot dead were between second and fourth grades, between the ages of 7 and 10.

The shooter is believed to have acted alone.

Mass shooting in Texas school
Mass shooting in Texas school Photo: Reuters

Uvalde Memorial Hospital confirmed to ABC News that two children had died from presumed gunshot injuries in the incident.

13 students were being treated in the hospital's emergency department in the wake of the incident, the hospital said. Two patients were transferred to San Antonio for treatment, while a third was pending transfer, the hospital said.

A 45-year-old was also hospitalized after getting grazed by a bullet, according to the hospital.

Earlier, the Uvalde Consolidated Independent School District had said a shooter was located at Robb Elementary School and asked people to stay away from the area.

"There is an active shooter at Robb Elementary," the school district tweeted. "Law enforcement is on site. Your cooperation is needed at this time by not visiting the campus. As soon as more information is gathered it will be shared."

A school official initially clarified to ABC News that the shooting took place off campus, and that Robb Elementary School was under lockdown.

Uvalde, Texas, is located about 90 minutes west of San Antonio.

US President Joe Biden has directed that American flags be flown at half-staff through sunset Saturday in honor of the victims of the mass shooting.