When a masked gunman opened fire outside the Earle Cabell Federal Building in Dallas, photojournalist Tom Fox was already on the scene.
Fox, a veteran photographer for The Dallas Morning News, was downtown at the federal courthouse Monday morning to get a picture of a defendant in a charter school fraud case when gun shots rang out.
Fox told NBC 5 he saw someone coming down the block but he couldn't make out who it was. He pulled out his long-lens camera and looked in the view finder to get a closer look. That's when Fox saw a masked man and the muzzle of a gun. After snapping a picture, he ran for cover.
"I ran down the sidewalk thinking I had to get out of harms way, he's coming this way," Fox said. "I didn't want to be shot in the back, so I ducked in the first alcove, which happened to be the first one by the glass door at the back of the building."
The gunman, later identified as 22-year-old Brian Clyde, was carrying more than 150 rounds of ammunition for his high-powered rifle. He approached the entrance of the federal courthouse and "shot out the door" before Federal Protection Service officers stationed at the building engaged in a gunfight.
A video of the incident, taken from a building across the street and obtained by NBC 5, shows Clyde walking alongside the building, and stopping just feet away from where Fox is hiding behind a column along Jackson Street.
"I just crouched in a corner and tried to make myself as small as possible ... and just pray that he didn’t walk past me," Fox said. "Because I'm in plain sight. And if he saw me sitting there with a camera, he would -- I have no doubt he would have shot me."
"He never passed me, fortunately," Fox added.
Fox said the gunman ran to the parking lot across the street where officers found him lying on the ground between two cars. Fox said he used his iPhone to grab a quick shot of Clyde on the ground, surrounded by officers.
"I'm just thankful to be alive. Literally I was just around the marble podium, or marble wall, from where he shot out the windows and I was just praying that he wasn't going to pass me, pass that wall because if he saw me crouch there he probably would have shot me."