Four men were sentenced to 20 years in prison Friday for participating in a botched drug deal that left two men dead, the Cobb County District Attorney’s office announced.

Two groups of people, including gang members, met for a drug deal on Cardell Road in Austell on May 18, 2014 intending to rob each other, authorities said. In an exchange of gunfire, Ryan Christopher Bobbitt, 24, of Marietta and David Blount, 20, of Smyrna were killed.

Two 19-year-olds, Nasjee Raquib Griffin and Jordan Malik Hughes, both of Smyrna, pleaded guilty Friday to manslaughter and gang charges. Hughes, who was wounded in the gun battle, and Griffin were with Blount to sell marijuana, the DA’s office said.

Two other defendants, who were with Bobbitt at the Austell residence to buy marijuana, also pleaded guilty in the case Friday.

Mableton’s Adrian Ancell Moore, 23, who also suffered a gunshot wound, and Tyrell Lavance Vereen, 22, of Powder Springs pleaded guilty to manslaughter and firearms-possession charges.

All four men were given 20 years to serve in prison.