A North Texas family is sharing the moments they ran for safety as a gunman opened fire at a popular tourist site in Mexico.

Video captured by the family shows people running and ducking for cover at the Teotihuacan pyramids as gunfire rang out.

“Get down, get down,” one person can be heard shouting in the video.

Joel Torres and Yazmin Salcedo traveled to Mexico City with their son and daughter-in-law. As they climbed Pirámide de la Luna, Torres recorded video on a 360-degree camera, later realizing he had captured the gunman before the shooting began.

“Seconds, seconds later, he walked in front of us, sat himself down, and it was like, oh my god, not even, it was not even a minute, it wasn’t even a minute. It was less than that when the first shot happened,” Torres said.

Another video shows people scrambling as shots are fired.

“All we could hear is shots after shots after shot after shot, and we just didn’t know where these shots were going to. We didn’t know if they were coming towards us or another one or air, we didn’t know. That’s why we just kept running and running,” Salcedo said.

Mexican authorities said a Canadian woman was killed and 13 others were injured, including six Americans and a 6-year-old boy who was shot.

“Keep running. Keep running. Get to the critical area,” one person can be heard saying in the video.

Torres said the situation could have been worse.

“Thank God that there were no, you know, there were not more people killed because. He really had the opportunity to shoot everybody that he could out there,” he said

Authorities identified the shooter as 27-year-old Julio Jasso Ramirez and said the attack was premeditated. Officials said he later died by suicide.