Este sitio web fue traducido automáticamente. Para obtener más información, por favor haz clic aquí.

The teenager suspected of killing 19 children and two teachers inside a southwest Texas school legally purchased two rifles shortly after his 18th birthday and used one of them in Tuesday's shooting.

Salvador Ramos, 18, legally purchased AR platform rifles on May 17, 2022 and May 20, 2022, according to a briefing from Texas Sen. John Whitmire on Wednesday. One of the guns was found in Ramos’s car outside the school and the other one was found with his body inside the school. Ramos reportedly turned 18 on May 16, according to ABC. 

Ramos also purchased 375 rounds of 5.56 ammunition, Whitmire and Texas State Sen. Roland Gutierrez told the Austin American-Statesman. 

One of the rifles, according to KPRC 2, is a Daniel Defense rifle that retails for just under $2,000.

Law enforcement on scene at Robb Elementary School in Uvalde, Texas

Law enforcement work the scene after a mass shooting at Robb Elementary School in Uvalde, Texas, on Tuesday, May 25. (Jordan Vonderhaar/Getty Images)

Reports had initially indicated that Ramos also had a handgun at the time of the crime but it is unclear exactly how many guns were at the scene.

WHO IS THE TEXAS SCHOOL SHOOTER? WHAT WE KNOW

Reports circulating online appear to show Ramos posting photos online of his receipt purchasing a gun online from Daniel Defense that would then have been shipped to a registered dealer in Texas. Fox News Digital has not independently confirmed the authenticity of those posts. 

Daniel Defense did not immediately respond to a request for comment from Fox News Digital.

Ramos allegedly entered Robb Elementary School in Uvalde, Texas on Tuesday morning after fleeing his grandmother’s house after shooting her. Inside the school, Ramos reportedly shot and killed 21 people before being shot and killed himself by a specialized Border Patrol agent who had responded to the scene.

The 66-year-old grandmother remains in serious condition, according to the officials. 

Police Texas school shooting

Police walk near Robb Elementary School following a shooting, Tuesday, May 24, 2022, in Uvalde, Texas. (AP Photo/Dario Lopez-Mills)

UVALDE, TEXAS SCHOOL SHOOTING: 19 CHILDREN, 2 TEACHERS KILLED, SUSPECTED SHOOTER DEAD

Two officers were shot and wounded on scene but were expected to survive.

Ramos allegedly posted disturbing images online before the shooting, and apparently messaged a woman about his plans before he carried out the deadly attack.

An Instagram account allegedly connected to Ramos featured disturbing photos, including one showing a high-capacity magazine. The Instagram account has since been taken down.

TEXAS SCHOOL SHOOTING: NEW DETAILS EMERGE ABOUT POLICE RESPONSE, SALVADOR RAMOS' 'EVIL' NATURE

The same account allegedly sent alarming messages to a woman before the deadly attack. The first message, sent on May 12, asked, "You gonna repost my gun pics?" The woman was tagged in photos showing guns.

San Antonio fire department responds to Uvalde school shooting

Equipment from the San Antonio Fire Department is parked outside Robb Elementary School in Uvalde, Texas, on Tuesday, May 24.  (William Luther/The San Antonio Express-News via AP)

Tuesday's shooting marked the deadliest shooting at an elementary school since Sandy Hook in 2012, where then 20-year-old Adam Lanza shot and killed 26 people at the Newtown, Connecticut school. 20 of the victims were children aged 6 and 7.

CLICK HERE TO GET THE FOX NEWS APP 

The Uvalde Police Department did not immediately respond to a request for comment from Fox News Digital.