Updated

A man under arrest inside a police station wrested away an officer's gun Saturday, beat the officer over the head with it and was later found dead of a gunshot wound in the building, authorities said.

Robert McFadin (search), 31, was in a holding area when he allegedly took the gun and assaulted the officer. The officer then fled with another employee, leaving the suspect locked inside the building, Police Chief Douglas Bernabei said.

When other law enforcement officers arrived, they entered the building and found the suspect dead of a gunshot wound, Bernabei said. Authorities would not say whether the wound was self-inflicted.

The injured officer was being treated at a hospital. Spring Valley is about 100 miles west of Chicago.

Bernabei said McFadin was spotted early Saturday driving near the home of his estranged wife, who had filed a protection order against him. Police pulled him over and arrested him for drunk driving, Bernabei said.

McFadin posted bond later that morning and was released, but police arrested him again when he confronted his wife later at a restaurant, Bernabei said.

There has been a spate of inmates or suspects attacking officers for their guns recently — with deadly consequences.

Last Sunday, a Providence, R.I., detective was killed with his own gun at police headquarters by a suspect who was not handcuffed and managed to get hold of the weapon.

In March, a defendant in a rape trial in Atlanta allegedly overpowered a court deputy and took her gun, then killed the judge presiding over his case, a court reporter, a deputy outside the courthouse and a federal customs agent.

The suspects in both incidents were arrested and charged with murder.

On Thursday in Augusta, Ga., hospital police shot and killed an inmate who fled a medical building after overpowering a state corrections officer and taking his gun, authorities said.