Additional District and Sessions Judge Satyendra Kumar Rajak also slapped a fine of Rs 4.5 lakh each on Niraj Yadav and Kishore Kumar.
Punit Choudhary was kidnapped by the two convicts and later killed by them on August 3, 2015. His body was later dumped in a ditch.
The duo were arrested the same day from a hotel near Jalalgarh bazar.
The town had witnessed massive protests by local people against the killing of the young transporter.