A tense, five-hour standoff with police at a motel in Moosic, Lackawanna County ended Tuesday night without injury, but not before at least 20 shots were fired at police officers.

Barry Keiper Jr., 40, of Walnutport, surrendered after what police say was a hostage situation at the Rodeway Inn in Moosic.

Gene Talerico, Lackawanna County's First Assistant District Attorney, said Keiper appeared to be armed with a rifle and a shotgun.

Keiper is being accused of beating an unidentified woman, also of Walnutport, earlier in the day.

He allegedly briefly held her hostage before releasing her to police custody.

It was reported that family members of the reported hostage told police dispatchers that a female was being held against her will with a man who was armed.

At that point, police responded to the scene and were able to get that female out of that room at the inn unharmed but were unable to get the suspect who refused to leave.

The incident began at about 5:40 p.m. Heavily armed police officers were at the scene.

After Keiper fired shots, police returned fire and threw gas grenades before storming the room at about 11 p.m., Talerco reported.

Neither Keiper nor police were injured in the standoff, Talerico said.

Police said Keiper will be charged with simple assault and terroristic threats, both relating to accusations he beat the woman earlier Tuesday.

Talerico said other charges relating to the standoff, which he called "an extraordinary dangerous situation," are pending.

MCT Information Services contributed to this report.