Six white former law enforcement officers in Mississippi pleaded guilty Monday to state charges connected to the beating and sexual assault of two Black men, one of whom was shot in the mouth.

Five former Rankin County sheriff’s deputies and another officer pleaded guilty to home invasion, aggravated assault, conspiracy to commit obstruction of justice and obstruction of justice nearly two weeks after pleading guilty to more than a dozen federal charges connected to the same incident.

Each one agreed to sentences recommended by state prosecutors ranging from five to 30 years, although the judge isn’t bound by that, the Associated Press reported. Time served for the state charges will run concurrently with the federal sentences they are scheduled to receive. Each could get longer prison sentences in federal court in November.

The former law enforcement officers are former Rankin County sheriff’s deputies Brett McAlpin, 52, Christian Dedmon, 28, Jeffrey Middleton, 46, Hunter Elward, 31, and Daniel Opdyke, 27; and former Richland police officer Joshua Hartfield, 31, according to the indictment in the Southern District of Mississippi.

Prosecutors say some of the officers nicknamed themselves the “Goon Squad” because of their willingness to use excessive force and cover it up, including the attack that ended with a deputy shooting one victim in the mouth.

‘Justice will be served’ victim says

Michael Corey Jenkins and his friend Eddie Terrell Parker said the officers burst into a home without a warrant on Jan. 24. The men said deputies beat them, assaulted them with a sex toy and shocked them repeatedly with stun guns during a roughly 90-minute period. Jenkins said one of the deputies shoved a gun in his mouth and fired the weapon.