Updated

A court in Macedonia has convicted 33 people accused of being members of an ethnic Albanian militant group and planning terrorist attacks.

The suspects were arrested following a deadly police raid in 2015. The raid and an ensuing gun battle near in the northern border town of Kumanovo left eight officers and 10 militants dead.

Seven of the defendants were handed life sentences Thursday, and another 13 were sentenced to 40 years in prison. The others got prison sentences from 12 to 20 years.

Macedonia has a large ethnic Albanian minority and fought a nine-month insurgency against militants from the minority in 2001.