At least four people were killed and 10 kidnapped when suspected Islamic State militants attacked a town in central Libya, military officials said.
The raid on the desert oasis town of al-Foqha south of Jufra on Sunday lasted several hours, during which insurgents set local government and security offices on fire, a military official who asked not to be named said.
Islamic State claimed responsibility for the attack, according to a statement issued by its Amaq news agency.
Ten people were presumed kidnapped, said Ahmed Mismari, spokesman for the Libya National Army (LNA) of Khalifa Haftar, which controls much of eastern Libya.
Ismail al-Sharif, a lawmaker in the eastern-based House of Representatives, said the attack was probably as revenge because some town youths helped catch a local Islamic State leader this month. Further details of that incident were not immediately available.
The town is in an area marked by poor security deep in the desert where Islamic State withdrew after losing its stronghold Sirte in December 2016.
The LNA recently boosted its presence in the area, moving into al-Foqha as part of efforts to push south. The attackers left after a LNA unit arrived, Mismari said.
The North African oil producer has two governments. One is allied to Commander Khalifa Haftar and based in the east. The other is backed by the United Nations and based in Tripoli in the west.
Suspected Islamic State fighters have repeatedly attacked oil facilities in the central Libyan desert.