Cairo: Daesh has claimed responsibility for a car bombing at a checkpoint in eastern Libya that killed at least three militiamen.

A Libyan official said the attack Friday targeted a checkpoint on the outskirts of the town of Ajdabiya manned by the self-styled Libyan National Army, fighters loyal to Field Marshal Khalifa Hafter, who are battling militants in eastern Libya.

The extremists claimed the attack in a statement released late Saturday.

Libya was plunged into chaos after a popular uprising in 2011 and is today split between rival authorities backed by an array of militias. Daesh was driven out of its one-time stronghold of Sirte in 2016 but has carried out insurgent-style attacks since then.