A youth stands next to a pool of blood on the ground July 22, 2014, after a double suicide bombing on a military base in the eastern Libyan city of Benghazi. ABDULLAH DOMA/AFP/Getty Images

Heavy clashes in the eastern Libyan city of Benghazi have left at least 12 people dead and 17 wounded, a hospital official said Saturday.

Five years after the uprising that toppled Moammar Gadhafi, Libya is plagued by instability, and Islamic militants have taken advantage of a security vacuum to expand their presence there.

A spokesman for the military forces loyal to Libya's eastern government, Wanis Boukhamada, said fighting was mostly in the neighborhood of Boatni. The army has been battling Islamic groups in the city for months.

Two governments, one based in Tripoli and the other in the east, each backed by complex alliances of armed factions, are vying to for control of the country.

On Friday, U.S. warplanes carried out an airstrike on a suspected militant camp in western Libya. At least 50 people were killed, including two Serbian embassy staff abducted in Libya in November.