District Judge Gokulesh also imposed a fine of Rs 20,000 each on Barik and Shehbad (30). They were charged under sections 302 (murder) and 307 (attempt to murder) of the Indian Penal Code.
The court also directed the accused to pay Rs 35,000 to the victim's family.
According to prosecution, Barik and his three sons had murdered one Riyasat and his grandson Andaza during an altercation between the two families, on November 9, 2011.
The accused had also injured two others of the same family.
More From This Section
Police had booked Barik and his three sons over the murders.
Two of them were declared juvenile and sent to a government observation home in 2014.
They were released earlier this year after completing three years at the observation home.