Libya has not done much to help the cause of strengthening ties with the United States. When US special operators arrived at an air base to assist an “allied” militia, the Americans were threatened and sent away. Situations like this are making the job of finding new allies a difficult task for the US and Europe.

New York Times – January 18, 2016

TRIPOLI, Libya — The US Special Operations forces expected a warm welcome when they landed at the Libyan air base where an allied militia was stationed. Instead, armed men from another militia at the base threatened to detain the commandos, forcing the Americans to flee.

The episode, on Dec. 14, highlighted the difficulties faced by the Obama administration as it engages in a search across Libya to find armed groups that can act as a ground force against the country’s increasingly potent branch of the Islamic State.

US and Libyan officials said the sudden departure of the group of 20 US commandos from the Al Watiya air base last month was the result of a miscommunication between the militias stationed there. But the episode laid bare the lack of central authority in Libya, with no single government in charge and an army barely able to exert control over its forces.

Counterterrorism officials regard the Libyan branch as the Islamic State’s most dangerous affiliate, one that is expanding its territory and continuing to mount deadly attacks, including several this month.

But to stop its advance, the United States and its European allies have been forced to court unreliable allies from among a patchwork of Libyan militias that remain unaccountable, poorly organized, and divided by region and tribe.

The search carries particular risks for the Obama administration, which once relied on local militias to help protect the US diplomatic compound in the northeastern city of Benghazi. They failed to provide protection when the compound was overrun by militants in September 2012, an attack that led to the deaths of the United States ambassador, J. Christopher Stevens, and three other Americans.