WYTHE COUNTY, Va. (WFXR) — A 70-year-old man was arrested for the attempted murder of a police officer after Wythe County authorities tried to serve an Emergency Custody Order at his home Tuesday afternoon.

According to the Wythe County Sheriff’s Office, deputies went to Jerry Blevins’ home in the 3700 block of Ivanhoe Road in Ivanhoe shortly after noon on Tuesday, Feb. 15 to serve the order.

When authorities arrived at the scene, they approached the home on foot and came across two aggressive dogs. As the deputies were using pepper spray to keep the dogs from biting them, they heard a gunshot coming from the house.

The sheriff’s office says Blevins had gotten in his vehicle and was trying to back up the driveway toward Ivanhoe Road. Additional officers blocked the driveway to prevent Blevins from leaving the home.

Meanwhile, the deputies ended up shooting one of the dogs so they could find cover after running out of pepper spray.

According to officials, dispatchers and a deputy made contact with Blevins over the phone in an attempt to get him to leave his vehicle.

“During this conversation Blevins indicated to them he had a handgun,” the Wythe County Sheriff’s Office said in a statement to WFXR News. “He also made comments that he had them in his sights.”

Authorities say they asked for help from Virginia State Police, who drove an armored vehicle to Blevins’ location, called him out of the vehicle, and arrest him without incident.

Members of the Wytheville Police Department and Carroll County Sheriff’s Office also helped respond to this incident.

Blevins was charged with the attempted murder of a police officer and committed to the New River Valley Regional Jail without bond, according to authorities.