The United States evacuated its embassy in Libya on Saturday, driving diplomats across the border into Tunisia under heavy military escort after escalating clashes broke out between rival militias in Tripoli.

Security in the Libyan capital has deteriorated following two weeks of clashes between brigades of former rebel fighters who have pounded each other with rockets and artillery fire in southern Tripoli near the embassy compound.

The violence is the worst seen in Tripoli and in eastern Benghazi since the 2011 fall of Moammar Gadhafi. Western governments fear Libya is teetering toward becoming a failed state just three years after the NATO-backed war ended his one-man rule.