Tripoli: At least five people were killed Monday and 10 others kidnapped in an attack by Daesh on a town in central Libya, local and military sources said.

Three civilians were among the dead, while a soldier was wounded and 10 people were “missing, probably kidnapped”, said General Ahmad Al Mesmari, spokesman for the Libyan National Army (LNA).

The raid targeted the desert town of Al Fuqaha in Jufra district, which has for over a year been held by forces allied to Libyan strongman Khalifa Haftar, who leads the self-styled LNA.

LNA forces responded to the attack but the Daesh fighters fled south, killing the fifth victim and injuring another at a security checkpoint, Al Mesmari said.

In a statement, Daesh said it took control of the settlement for several hours and claimed a suicide attack against the LNA.

It said it had stormed a police post and homes looking for “apostates” belonging to the army, police and spies.

Earlier, municipal council member Abdul Latif Jalala told AFP that three civilians and a policeman had been killed in the dawn attack, more than 800 kilometres south of the capital Tripoli.

He said the assailants kidnapped at least eight others before fleeing into the Haruj mountains further south.

Jufra lawmaker Esmail Al Sharif said Daesh fighters attacked the city with 25 vehicles, beheaded five civilians and torched local government and security offices.

The attackers set fire to police posts and public buildings in Al Fuqaha, he added.

Both Al Sharif and Jalala said the raid was likely retaliation for arrests earlier this month of alleged Daesh members in the area.

The United Nations mission in Libya said it “strongly condemns the deadly attack ... in what local authorities say was a brutal act of revenge” by Daesh.

It also called for the immediate release of those kidnapped.

The Jufra region has been regularly hit by attacks attributed to extremists. In August 2017, an attack claimed by Daesh killed 11 people, including nine LNA fighters.

Daesh took advantage of the chaos that reigned in Libya after the 2011 NATO-backed removal of Muammar Gaddafi to establish footholds in several parts of the country.

In June 2015, extremists seized control of Kadhafi’s hometown of Sirte, only ceding it in December of the following year in the face of an offensive by forces loyal to the UN-backed government in Tripoli.

In April this year, the Tripoli-based Government of National Accord launched an operation to track down Daesh fighters operating in areas of western Libya under its control.

The US military has regularly carried out strikes on extremists in Libya, particularly south of Sirte.

Many extremists have since retreated to desert areas in the country’s south, where they are attempting to regroup.

A September 10 suicide attack later claimed by Daesh on Libya’s National Oil Company headquarters in the heart of Tripoli left two dead and 10 others wounded.

Four months earlier, Daesh claimed an attack on Libya’s electoral commission headquarters in Tripoli that killed 14 people.