Heavy clashes between Libyan soldiers loyal to a renegade general and Islamist-led militias killed 38 people, health officials said Sunday, as fighting between rival militias around the capital's international airport raged on and European nations warned their citizens to leave. 

France on Sunday called on all French nationals to leave Libya, which in the last two weeks has descended into its deadliest violence since the 2011 war that ousted Moammar Gadhafi.

"All our nationals are invited to get in touch as quickly as possible with our embassy in Tripoli," the Foreign Ministry said in a statement. 
The United States evacuated its embassy in Libya on Saturday, driving diplomats across the border into Tunisia under 
heavy military escort after escalating clashes near the embassy compound in Tripoli.  

Forces loyal to Gen. Khalifa Hifter battled militias in the eastern city of Benghazi in clashes that started Saturday and continued through early Sunday morning, a security official said. Commando forces regained control of four military camps captured by Islamist militias in the past few days, the official said. The fighting killed eight militia fighters, including the brother of an alleged leader of an al-Qaeda-inspired group, the official and a militia website statement said.

The statement published on the website of the powerful Islamist militia Rafallah Sahati confirmed the death of Ahmed al-Zahawi, brother of Mohammed al-Zahawi, the leader of Ansar al-Shariah. U.S. officials believe Ansar al-Shariah was behind the Sept. 11, 2012, attack in Benghazi that killed U.S. Ambassador Chris Stevens and three other Americans.

Rockets fired during this weekend's fighting hit civilian homes, causing casualties and wounding dozens of people, health officials said.

All officials spoke on condition of anonymity to The Associated Press because they were not authorized to brief reporters.

More than two months ago, when Hifter started his offensive to crush Islamist militias and their political backers, Mohammed al-Zahawi vowed to continue fighting, calling Hifter an "American agent." Hifter once served as dictator Moammar Gadhafi's top military official but later defected and spent years in the U.S., though American officials say they have not been in recent contact with him.

The fighting in Benghazi came as fierce clashes resumed between rival Libyan militias for control of Tripoli's international airport.

The battle began two weeks ago when Islamist-led militias, mostly from the western city of Misrata, launched a surprise assault on the airport, under control of rival militias from the western mountain town of Zintan.

The fighting has killed dozens of people and forced residents to flee. Associated Press video of clashes Saturday showed a jet airplane burning and heavy smoke rising over it, as militiamen fired rockets and heavy machine guns.

Shells struck the airport Sunday, while a main market and shopping centre near the airport caught on fire.

Worst violence since Gadhafi's downfall

A statement Sunday by the Libyan Health Ministry said that the battle for the airport has killed 79 people and wounded more than 400. On Saturday, 23 people, including Egyptian nationals, were killed when a rocket struck their house in Tripoli, the Egyptian Foreign Ministry said.

More than three years after Gadhafi's downfall, Libya is witnessing one of the worst bouts of violence amid growing lawlessness in the country.

Also on Sunday, gunmen attacked a British embassy convoy in Tripoli, firing on a car but wounding no one, Ambassador Michael Aron said on Twitter. A Libyan official said investigators believed the attackers were criminals who wanted to steal the car.

Egypt has warned its citizens living in Tripoli and Benghazi to leave the cities. The U.K. Foreign Office advised its citizens Sunday to leave the country immediately because of the "greater intensity of fighting" in Tripoli and the likelihood of further attacks on foreigners.

Germany and Spain also issued warnings for their citizens to leave.

Italy's Foreign Ministry said it helped more than 100 Italians leave Libya and would help other countries evacuate their citizens as well.

With files from Reuters