The Old Plantation in Downtown El Paso.

Two 17-year-olds have been sentenced for their roles in a brutal beating of an El Paso man outside a gay nightclub in May, the El Paso Times reports.

Ruben Arturo Valenzuela pleaded guilty last week and was sentenced Wednesday to 12 years in prison.

Esteban Alfaro was sentenced to 10 years in prison in January after a state district juvenile court found him guilty of assault.

Valenzuela and Alfaro were two of the five attackers believed to have beaten Lionel Martinez, then 22, with baseball bats outside of the Old Plantation nightclub in Downtown El Paso.

Martinez suffered severe injuries and remained in intensive care for several weeks. While he is not gay, his family wanted the assault labeled as a hate crime because the teens believed Martinez was gay. His sister, who he was waiting for at the club, witnessed the assault and told police that the teens shouted anti-gay slurs at Martinez. El Paso police linked the attack to gang violence.

Manny Portillo, 19, pleaded guilty in early April and is awaiting sentencing.

Ivan Gallardo, 18, and Roman Olvera, 20, are scheduled for trial this summer.