The sentence was handed down by the additional sessions court judge D K Nagle yesterday.
The court also imposed a fine of Rs 900 on each convict.
According to prosecution, the accused persons had attacked Babulal and his four associates on February 29, 2012, near Parvati river bridge, following a election-related rivalry.
While Babulal died on the spot in the attack his four associates suffered serious injuries.
The court acquitted an accused in the case due to lack of evidence against him.