A standoff with a man holding a shotgun at an east-side house ended peacefully Friday afternoon, Janesville police said.

Byron D. Long, 66, of 613 E. Milwaukee St., came out of a garage with his hands up and was taken into custody at 2:39 p.m. Friday.

A police news release on Friday night said “Long was intoxicated and distraught about some personal issues.” He had argued with family member and pointed the shotgun at them.

Police searched the residence and found a 12-gauge shotgun. An initial 911 call said the gun was not loaded, but police later learned there was ammunition inside the home for the weapon, according to the news release.

At the time of the release, Long was waiting for transport to the Rock County Jail on two counts of recklessly endangering safety and one count of intoxicated use of a firearm.

Long and a relative who appeared to be having a panic attack were taken by ambulance to a hospital for evaluation, Sgt. Chad Pearson said.

Police were called at 1:55 p.m. after someone reported both the relative with trouble breathing and the man holding the gun on the porch, Pearson said.

Many squad cars responded. Police blocked off streets leading to the area.

The police hostage negotiation team worked with the family and Long until Long eventually came out with his hands up.

Cody Claeys, who lives across the street from the home, said he came outside and heard police telling the man to put the gun down.

Claeys said he later saw the man poking the gun out a door a few times.

“Eventually, he came out with his hands up,” said Claeys, who videotaped what he saw.