White House Shooting
Secret Service agents patrol the corner of 17th Street and Pennsylvania Avenue in Washington after a shooting was reported near the White House, Friday, May 20, 2016. The Executive Mansion was placed on a brief lockdown while President Barack Obama was out golfing in Maryland. Drew Angerer/Getty Images

The man shot by Secret Service agents Friday afternoon after he approached White House has been identified. Authorities in Washington say Jesse Olivieri, 30, of Ashland, Pennsylvania, was the man apprehended after he was seen brandishing a gun.

Officials say they believe Olivieri was attempting suicide by walking up to a checkpoint at the White House compound’s east entrance with a gun in his hand.

“He was carrying a gun — it was a silver gun in clear sight, walked through the fence line," witness Larry Samples told NBC News. “[Secret Service agents] yelled multiple times 'Stop, stop, stop.' He kept ignoring them."

President Barack Obama was out golfing when the incident took place around 3 p.m. EDT. But Vice President Joe Biden reportedly was inside the White House complex at the time.

“No one within or associated with the White House was injured, and everyone in the White House is safe and accounted for," a White House official said on CNN. "The president has been made aware of the situation.