Three people were shot, two fatally, at a Tallahassee, Florida, federal detention center Wednesday as federal agents were serving indictments on six corrections officers, authorities said.
The six guards were being arrested in a corruption investigation into involving guards trading drugs for sex with female inmates.
One of those being arrested opened fire, said Jeff Westcott, spokesman for the FBI's Jacksonville bureau.
Federal agents returned fire, killing the suspect, Westcott said. An agent with the Department of Justice's Office of Inspector General died in the shootout, he said.
A Bureau of Prisons official was wounded.
The victims' identities and details of the indictments were not released.
The shooting occurred about 7:45 a.m. at a federal detention facility in Tallahassee.
The Tallahassee facility holds mainly women, but includes an area holding men awaiting trial.
The facility was put on lockdown after the shooting.