This story is part of a KXAN series of reports called “Stop Mass Shootings,” providing context and exploring solutions surrounding gun violence in the wake of the deadly Uvalde school shooting. We want our reports to be a resource for Texans, as well as for lawmakers who are convening a month after the events in Uvalde to discuss how the state should move forward. Explore all “Stop Mass Shootings” stories by clicking here.

UVALDE, Texas (KXAN) – The phone of Salvador Rolando Ramos, the gunman in the Uvalde school shooting, was turned in as evidence after a search warrant was issued for a forensic download.

The search warrant was issued May 24 by the state of Texas and Uvalde County for Ramos’ phone, identified as an iPhone 13 Pro Max.

Law enforcement said it would look at the data of the phone, which includes photographic data, digital images, text messages, video, voice messages and other elements. They are searching for any clues as to why he carried out last week’s fatal shooting of 19 children and two teachers. A judge granted permission to analyze text messages, photos, videos and other “stored communications” on the phone.

The warrant was ordered to be executed within three days of being issued, but it was executed within the same day. Both the request for the warrant and the warrant itself were written May 24.

According to the search warrant affidavit, two witnesses saw Ramos dressed “completely in black with long shoulder length black hair” after the car wreck “holding a long rifle and proceeded to load the rifle with a magazine.” Ramos “began to fire multiple gunshots in their direction” at the funeral home before he approached the school and started shooting towards the buildings, according to the affidavit. Law enforcement found multiple injured and dead students “throughout the hallways and classrooms.”

The phone was found next to Ramos’ body.

In an affidavit for the search warrant, the Texas Rangers requested Ramos’ iPhone 13 Pro Max to be turned in as evidence for a forensic download of the data stored on the SIM card, internal memory and other data.

The cellphone would be put in the charge of and controlled by the Texas Department of Public Safety — Texas Ranger Division and a Federal Bureau of Investigations Forensic Analyst.

The search warrant affidavit listed that cell phones are often used by individuals who are involved in illegal activity as a reason for the evidence request.