Two Coney Island men will spend at least the next two decades in prison for their role in an attack on a rival gang that left one man dead and another slashed in the throat. 

Testimony at trial revealed Alex “Shorty” Escamilla, 23, and Heiberto “Big Boy” Guerrero, 24, were driving on Neptune Avenue in Coney Island around 2 a.m. on June 4, 2012 when they spotted rival gang members.  

They made a U-turn, chased the men and attacked them — Escamilla with a knife and Guerrero with a pipe.

Jose Herrera, 28, died after being stabbed 28 times and receiving 13 blunt force injuries to his head and face. Angel Reyes, 22, had his throat slashed but survived, according to the DA’s office. 

RELATED: Teen beaten in alleged gang attack on L train 

Herrera and Reyes belonged to the El Esquadron (SDN) gang, and Escamilla and Guerrero were members of the rival Coney Island Warriors. 

“These two defendants engaged in senseless gang violence on the streets of Brooklyn and deserve every day that they will now spend behind bars,” Brooklyn DA Ken Thompson said of the fatal attack. 

RELATED: Bronx gang indicted after overnight raid 

Escamilla was sentenced to 20 years to life in prison on Wednesday after being convicted of second-degree murder, attempted murder, first-degree assault, first-degree gang assault and criminal possession of a weapon in May. Guerrero was sentenced to 21 years after a separate jury found him guilty of first-degree assault, first-degree gang assault and criminal possession of a weapon in June.