Idelfonso Mendez pleaded guilty Thursday to gang assault, though not to any hate crime charges, in the October 3, 2010 beating that authorities described as a violent act mixed with gang ideology, sexual assault, torture and bias against gays.

Mendez, 26, took a plea deal that entails a 14-year prison term. The Bronx district attorney’s office said the agreement reflected the victims’ wishes to avoid having to testify at a trial.

“I take full responsibility for everything that happened,” Mendez said, though he said that he was high on drugs when police questioned him and that many statements attributed to him weren’t true, according to The New York Times.

The assault began after members of a loosely organized street crew known as the Latin King Goonies heard a rumor that one of their teenage recruits was gay, police and prosecutors said at the time. Mendez was a leader of the attacks, prosecutors said.

The 17-year-old recruit was stripped, beaten and sodomized with a plunger handle until he confessed to having had sex with a 30-year-old man who lived a few blocks away, prosecutors and police said at the time. Then, the group grabbed a second teen they suspected was gay and tortured him, too, authorities said.

Finally, they invited the 30-year-old to an abandoned house they used as a hangout, telling him they were having a party. When he arrived, they burned, beat and tortured him for hours, and the attack included sodomizing him with a miniature baseball bat, prosecutors said.

In addition to Mendez, David Rivera, 24; Nelson Falu, 20; Elmer Confresi, 26; Jose Dominguez, 26; and Ruddy Vargas, 26, have all pleaded guilty to charges stemming from the case. They are each in prison serving various terms.

The case against a seventh defendant, Luis Garcia, is still pending, according to the Bronx DA’s office.

The victims “wanted to find a way which adequately punished the individuals responsible and also avoid having to testify at a trial,” Steven Reed, a spokesman for Bronx DA Robert Johnson, said.