A Libyan court on Monday sentenced 17 people to death after finding them guilty of joining the Islamic State group and carrying out atrocities in its name, the prosecution said.
The Tripoli court also sentenced two people to life in prison and 14 others to lesser jail sentences, it said.
They had been found guilty of other IS-linked acts and of having "attacked the state and social peace" as well as "armed violence" in the western city of Sabratha and surroundings, it said in a statement.
Those on trial had killed a total of 53 people, "destroyed public buildings" and "disappeared dozens of people", it said. Their nationalities of those sentenced to death were not given.