Libyan followers of the Ansar al-Shariah Brigades chant anti-U.S. slogans...

Libyan followers of the Ansar al-Shariah Brigades chant anti-U.S. slogans during a protest in front of the Tibesti Hotel, in Benghazi, Libya. (Sept. 14, 2012) Credit: AP

WASHINGTON -- The tragic death this week of four U.S. officials, including the U.S. Ambassador to Libya, Chris Stevens, is a major turning point for Libya's transition to lasting stability.

As details emerge, it appears increasingly probable that al-Qaida-linked groups were behind the violence, likely acting in reprisal for the death of Abu Yaya al-Libi, al-Qaida's second-in-command, who was killed by a drone strike in Pakistan earlier this year. Just before the Benghazi assault, on the 11th anniversary of the 9/11 terrorist attacks, al-Qaida leader Ayman al-Zawahiri released an Internet video in which, according to CNN, he said that al-Libi's "blood is calling, urging and inciting you to fight and kill the crusaders." Even if the deaths were not linked to al-Qaida or its dangerous North African affiliates, the event is still a major threat to Libya's chances of successful transition to stability, and could be a watershed of the worst kind. The nightmare scenario that Libya could go the way of Iraq in 2004 is still not likely, but no longer seems implausible.

The Libyan government's public statements indicate they fully recognize the gravity of these attacks. The immediate response, if any, must be adroitly measured and await a clear picture of the facts.

In a way, this tragedy is an opportunity for Libya's new government. More than any other event since the fall of Tripoli, the attacks should force the country's leaders to take a much more active approach to ensuring safety and security and pushing ahead with other state-building measures. If these attacks do not galvanize momentum for progress, they could undermine it entirely. Instability in Libya could, in turn, undermine progress elsewhere in a region where transitions are still fragile after the Arab uprisings.

For their part, the United States, its allies, and partners that helped free Libya from Gadhafi's rule have a responsibility to do their utmost -- providing intelligence, technical advice, and, where necessary, military support -- to ensure the situation does not spiral out of control, squandering the investment that was made in toppling Moammar Gadhafi last year.

One question many are asking the wake of Tuesday's events: Were the United States and its allies naïve about the dangers in post-intervention Libya? The attacks come on the heels of a gradual deterioration of the country's security in recent months.

Last year's uprising began in Benghazi, Libya's second largest city, where Tuesday's attacks occurred. Gadhafi claimed the revolt was the work of terrorists, long native to Eastern Libya, and warned that if it were not crushed, the country could become the Somalia of the Mediterranean -- a string of radical "Islamic emirates" just across the water from southern Europe.

This was a gross exaggeration -- the vast majority of the revolutionaries had no ties whatsoever to al-Qaida or other terrorist groups, and when Gadhafi moved to raze Benghazi with tanks and aircraft, the Arab League and United Nations condemned him.

The United States, its NATO allies, and Gulf partners quickly intervened with massive airpower and a small number of special forces on the ground. The conflict dragged on, but in August, Tripoli fell, and in October, Gadhafi was captured and killed.

After four decades of repression under Libya's self-proclaimed "Brother-Leader," Libyans emerged free to build their own future.

But how much building has really been done? In contrast with nearly all other post-Cold War military interventions, NATO and its partners chose not to deploy post-conflict stabilization forces when the war was over. The security situation seemed calm -- indeed much calmer than many had anticipated it would be. The putative Libyan authorities were adamantly against any such deployment, fearing their already limited legitimacy would be further weakened by the presence of foreign troops on Libyan soil. They needed full credit for their victory, they argued. Few outside powers were interested in putting "boots on the ground" anyway, since most Western leaders had promised that Libya would be very different from Iraq and Afghanistan.

Libya's new leaders were right to be concerned about their legitimacy: They evinced little control over Libya's territory and security, which, for all intents and purposes, was still in the hands of hundreds of armed revolutionary militias that had sprung up across the country during the revolution.

Initial efforts to disarm, demobilize, and reintegrate these militias into a centralized Libyan army under the authority of Libya's leadership were quickly abandoned when it appeared that doing so might spark violence and undermine Libya's tenuous stability. Subsequent efforts to do so by international actors met with further resistance and even suspicion from Libyan authorities. Libyan hackles were raised by an initial effort by the British and others trying to help assess Libya's security-sector needs, further slowing reform and disarmament efforts. Meanwhile a hodgepodge of small-scale, apparently grassroots local disarmament initiatives went forward in an uncoordinated fashion.

Luckily, the situation remained relatively calm. Over the course of the next several months, the delicate peace was punctuated by occasional clashes between the militias. Some of the fighting was between pro-regime holdouts and representatives of the new Libya. Other violence, however, was more parochial in nature, with militias battling over turf in Tripoli and other cities.

Most of this violence, however, did not affect Libya's citizens or significantly hamper progress on other fronts. In July, Libya held successful elections, and moderate secular parties took a plurality of seats in the new Libyan congress. Most outside observers hailed these elections as a major success and evidence that Libya's future was brighter than many had once predicted.

At the same time, however, troubling signs that the security situation was falling apart began to appear. Whereas most of the violence in the first half of the year involved small-scale turf wars between militias and struggles over access to smuggling routes in Libya's distant southern reaches, a new kind of violence had begun to emerge over the summer.

This violence has come in three forms: First, attacks against Libyan government officials and buildings, both in Benghazi and in Tripoli. Car bombings and small-armed assaults on government buildings indicated a different kind of threat than militia turf wars.

Second, more aggressive actions by radical Islamist militias, who recently destroyed a number of Sufi shrines charging that Sufi practices are un-Islamic. Although it condemned these attacks, the Libyan government put its inability to stop them on full display, weakening its authority.

Third, attacks against diplomats, including an attack against a U.S. diplomatic vehicle in Tripoli and an attack on the British ambassador's car in Benghazi. Until this week, these attacks looked like isolated incidents. Now they appear in a different light.

So who is responsible? While the reaction to the online release of an incendiary film viewed as offensive to the Prophet clearly set the stage for Tuesday's attacks in Libya and Egypt, the attacks in Benghazi, which involved small arms and rocket-propelled grenades, were clearly more than just a mob that got out of control and accidentally burned down the U.S. consulate.

The first impulse of the Libyan government has been to point the finger at holdover Gadhafi-regime sympathizers. That Libya's new government should blame Gadhafi is understandable given how long they suffered under him and the fact that their authority comes from first defying and then ousting him.

But while these claims are plausible, the evidence for them is thin. They seem aimed more at keeping the spirit of the revolution alive in hope of distracting from the slow progress in other areas and the government's own lack of authority.

More likely, groups in eastern Libya that have had ties to al-Qaida are involved. Concerns about groups such as the Libyan Islamic Fighting Group (LIFG), which played an important role in Libya's liberation, are long-standing. Knowledge of such groups initially made several U.S. officials wary of intervention. Even if the LIFG appears now to support the new Libyan state, such concerns have not gone away. The eastern town of Derna is well known as a hotbed of radicalism and source of recruits for the insurgencies in Iraq and Afghanistan. This summer, the Libyan authorities, reportedly arrested 20 suspected AQIM members on Libyan soil.

Until now, Libya had enjoyed a relatively calm environment for its transition. To avoid a nightmare scenario, the Libyan government and broader public must use these attacks to galvanize momentum for progress on key fronts -- above all militia disarmament -- building necessary security institutions and establishing a just but effective control of its own territory. Most militias are benign. But as long as they persist, the fractured nature of Libya's security will create opportunities for calamities like this one.

Progress on these fronts, difficult already, will be even harder now because the attacks complicate Libya's relations with the United States and other Western powers. Most U.S. diplomats are being evacuated, and the embassy will likely go on lockdown. The security measures, coupled with the reduction in bandwidth, will seriously hamper the ability of U.S. officials to meet with their Libyan counterparts and access Libyan society at large. Many Western NGOs in Libya are grappling with whether to curtail their efforts, which would further slow progress toward transition.

Meanwhile, the deteriorating security could introduce a new dynamic. The less able the Libyan state is to provide security for Libyan citizens, the more those citizens will turn to other forms of protection -- and the more the legitimacy of the new state and its officials will falter. In these conditions, the appeal of extremist elements could easily grow.

No matter what happens in Libya, history will recall that NATO's intervention saved lives in Benghazi and opened new prospects for Libya's future. But the post-conflict order has been in limbo ever since Gadhafi was killed last October.

Libya is neither Iraq nor Afghanistan, let alone Somalia. It has much going for it that these post-conflict cases did not, including relatively unified citizens, wealth, a neighborhood comparatively conducive to stability, and a clear victory over the former regime.

But Libya's future remains unwritten. NATO's intervention handed the country over to the Libyan people. Now they need to govern it, lest that opportunity slip from their hands.

Writer Christopher S. Chivvis is a senior political scientist at the nonprofit, nonpartisan Rand Corp. and teaches at the Johns Hopkins School of Advanced International Studies. He is the author of the forthcoming "Toppling Qadaffi," a book on last year's NATO intervention in Libya.

SUBSCRIBE

Unlimited Digital AccessOnly 25¢for 6 months

ACT NOWSALE ENDS SOON | CANCEL ANYTIME