
The ISIS terrorist group claimed responsibility on Wednesday for the attack against the Libyan Foreign Ministry building in the capital Tripoli a day earlier.
In a statement carried by its Aamaq news agency, ISIS said three fighters infiltrated the area and fired on ministry workers.
Libyan officials said a suicide bomber targeted the entrance to the ministry and another was shot dead by guards before he could detonate his explosives.
At least three people were killed and ten wounded in the attack.
The UN Support Mission in Libya (UNSMIL) condemned the attack, stressing the need to "prevent terrorist groups from turning Libya into a haven or an arena for their crimes".
"Security chaos in Libya offers propitious conditions for ISIS and other terrorist groups," said Interior Minister Fathi Ali Bashagha at a joint news conference in Tripoli with Foreign Minister Mohamed
Taher Siala on Tuesday.
Siala said security arrangements agreed between Libya's Government of National Accord and the UN after a month of clashes in the south of Tripoli are yet to be implemented.
He said the foreign ministry had been targeted because "it is a symbol of sovereignty".
"All important documents have been saved," he said, adding that he deplored the death of one ministry employee in the attack.
The foreign ministry earlier issued a statement saying: "The Libyan people are waging a war on terrorism on behalf of the world."
In September, ISIS claimed responsibility for a suicide attack on the headquarters of Libya's National Oil Company in the heart of Tripoli which left two dead and 10 wounded.
Four months earlier, it claimed an attack on the electoral commission's headquarters which left 14 dead.