Damaged fruit shop is seen at the site of twin car bombs in Benghazi on January 24, 2018.
BENGHAZI, Libya - More than 30 people were killed and dozens wounded after two car bombings outside a mosque frequented by jihadist opponents in Libya&39;s second city Benghazi, medical officials said on Wednesday.
The attack after evening prayers on Tuesday underlined the continued chaos in Libya, which has been wracked by violence and divisions since dictator Moamer Kadhafi was toppled and killed in a 2011 NATO-backed uprising.
Benghazi has been relatively calm since military strongman Khalifa Haftar announced the eastern city&39;s "liberation" from jihadists in July last year after a three-year campaign, but sporadic violence has continued.
The bombers blew up two cars 30 minutes apart outside the mosque in the central neighbourhood of Al-Sleimani, according to security officials.
Emergency and security workers who had rushed to the scene were among those killed in the second blast.
There was no immediate claim of responsibility but the mosque is known to be a base for Salafist groups which fought the jihadists alongside Haftar&39;s forces.
Mourners gathered outside the mosque on Wednesday, walking through puddles of water stained red with blood. Vehicles in a parking lot outside the mosque were burnt-out and mangled, their windows shattered.
The city&39;s Al-Jala hospital received 25 dead and 51 wounded, its spokeswoman Fadia al-Barghathi said. The Benghazi Medical Centre received nine dead and 36 wounded, spokesman Khalil Gider said.
Ahmad al-Fituri, a security official for Haftar&39;s forces, was among those killed, military spokesman Milud al-Zwei said.
Medical officials said many of the wounded were in critical condition and the death toll was likely to rise.
Haftar supports an administration based in the east of the country. It declared three days of mourning following the attack.
A UN-backed unity government based in the capital Tripoli, the Government of National Accord (GNA), has struggled to assert its authority outside the west.
The GNA condemned the attack as a "terrorist and cowardly act".
The UN Support Mission in Libya (UNSMIL) denounced the bombings as "horrific" and warned that "direct or indiscriminate attacks against civilians... constitute war crimes".
UN efforts to reconcile the rival administrations have produced no concrete result.
Haftar said in late December he would support elections in 2018 to bring the country out of chaos, but suggested he could take measures if efforts for "a peaceful power transition via free and democratic elections were exhausted".
Haftar&39;s opponents accuse him of wanting to seize power and establish a military dictatorship, while his supporters have called for him to take control by "popular mandate".
UN envoy Ghassan Salame presented a plan to the Security Council in September to hold parliamentary and presidential elections this year, but analysts are sceptical they will take place.
Clashes between rival militias are common, with fighting at Tripoli&39;s airport last week leaving 20 dead and forcing the cancellation of all flights for five days.
The turmoil has stifled efforts to restore oil-rich Libya&39;s economy and made the country fertile ground for extremists.
The Islamic State group has a significant presence and was in control of coastal city Sirte from late 2014 to late 2016, when the jihadists were pushed out by pro-GNA forces.
People-smugglers have also taken advantage of the chaos to turn the country into a major gateway for migrants heading to Europe.