PORTSMOUTH -- A Portsmouth man was arrested early Sunday morning after police say he drunkenly fired a handgun into a workplace and sent video of it to a woman, police said.

John Eirich, 35, was released after his arraignment on charges of firing in a compact area and possession of a firearm while intoxicated, according to Portsmouth police.

The arrest came after officers responded to 1678 East Main Road at about 3:30 a.m. Sunday for a report that an intoxicated man had a firearm in a workplace area. They found Eirich, who they said was cooperative but displaying “signs of obvious intoxication.”

Police found spent casings and a bullet fragment in the floor of the building, as well as a handgun that they believed was fired. Officers seized other firearms that belonged to Eirich as a result of the investigation, police said.

A LinkedIn page for a person named John Eirich lists him as the owner of Eirich Electric, which is based at 1678 East Main Road.