BENGHAZI, Libya — Islamic State militants attacked a small town in central Libya on Monday, killing at least four people, including the mayor’s son and two policemen, and torching the local police station, according to residents and a lawmaker from the area.

The attack on al-Fuqaha began around 1 a.m. At least a dozen townspeople have gone missing, presumed abducted by the militants, including an 80-year-old man, said Ismail al-Shareef, a lawmaker from the area. The Islamic State later claimed the attack in an online statement, saying it took hostages.

The militants torched the town’s police station along with two houses, residents said, speaking on condition of anonymity for fear of reprisals.


The attack on al-Fuqaha, south of the former Islamic State bastion of Sirte on the Mediterranean coast, underscores the volatility of Libya’s central region, where the Islamic State and other armed groups, including some from neighboring Chad, operate as highway robbers or attack patrols of the self-styled Libyan National Army led by General Khalifa Hifter.

Following the attack, Hifter’s forces, which answer to the government based in eastern Libya, pursued the attackers into the desert, according to al-Shareef. He said he believed the attack was retaliation for recent Libyan National Army operations against Islamic State militants in the area and the capture of senior militants.

The United Nations mission in Libya condemned the attack and said two of the four killed by the militants were ‘‘executed in public.’’ It did not say how they were killed, but residents had earlier said they had their throats slit. The UN said it was ‘‘deeply concerned’’ about the increasingly fragile security situation in central Libya.

Libya plunged into chaos after the 2011 uprising that ousted and killed longtime dictator Moammar Khadafy and is now governed by rival administrations in the east and west. It has also become a haven for armed groups, including several from neighboring countries, which survive on looting and human trafficking.


The Libyan National Army drove the Islamic State from Sirte in 2016 and from Derna, another stronghold of the extremists, earlier this year. However, the militants have found refuge in the vast deserts of central and southern Libya, where they continue to stage attacks.