The Additional Sessions Judge Sobhan Kumar Das also imposed fine of Rs 2,000 on each of them.
According to the prosecution, these people indulged in riot with deadly weapons and set fire to some houses belonging to the minority community at Majamaha area in Raikia on August 28, 2008.