This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Please enable Javascript to watch this video

The Orange County Sheriff’s Department posted a video online Wednesday that showed a man firing several rounds from an automatic rifle at deputies responding to a call in San Juan Capistrano last month.

The deputies were called to the usually quiet neighborhood on Paseo Castile on April 27 after someone reported a suicidal man was in the garage of his home with a gun, the Sheriff’s Department stated on the video posted YouTube.

“We were just taking precautions as we tried to get the man on the phone,” Deputy Leith Chacon said following the incident, which was chronicled in a post on behindthebadgeoc.com.

The video shows the deputies standing near their patrol vehicles when a man comes out of a garage and begins to open fire, wielding what the post described as a "illegal automatic rifle."

The back window of the lead patrol car was blown out by gunfire, but none of the deputies were hit during the incident.

The deputies were unable to return fire “due to poor sight lines and concern that they couldn't see who else may have been inside the garage,” the post read.

The man went back into the garage and came out firing several more times before he eventually walked out with his hand in the air and was taken into custody. He was later identified by authorities as 39-year-old Robert Fee.

The suspect was facing three counts of attempted murder of a police officer, said sheriff's Lt. Mark Stichter. He was being held on $3,000,000 bail.

“Miraculously, this incident ended without any injury to the deputies, suspect, or neighbors,” the Sheriff’s Department stated, adding that some homes near the scene were damaged by gunfire.

The video was posted to show the dangerous and unpredictable job deputies often encounter, the Sheriff’s Department stated.

KTLA's John A. Moreno contributed to this report.

Please enable Javascript to watch this video

33.717471 -117.831143