The Islamic State group's affiliate in Libya has claimed responsibility for a series of car bombings that killed 12 people in the country's eastern city of Benghazi.

The Islamic State affiliate claimed responsibility for the Tuesday bombings in a post on an Internet bulletin board site known to be used by the group and its sympathizers. The claim included a picture of an alleged Tunisian suicide bomber it said was involved in the attack.

A Libyan security official said Wednesday that the bombings targeted forces of Libya's elected government and allied fighters in Benghazi. He said the blasts killed 12 people and wounded 25.

He spoke on condition of anonymity as he wasn't authorized to brief journalists.