Nato's triumphant, seven-month air campaign against Libya has ended, setting the country on the path to a democratic transition less than two weeks after the capture and killing of ousted dictator Muammar Gaddafi.

The alliance turned down a Libyan request to extend the protective umbrella for a few more weeks, apparently eager to exit on a high note and wrap up a costly mission at a time of financial austerity.

The relatively quick victory in Libya represented a major boost for a Cold War alliance bogged down in a 10-year war in Afghanistan, a 12-year mission in Kosovo and the seemingly never-ending anti-piracy operation off the Somali coastline.

The operation's critics - including Russia, China and the African Union - have argued that Nato misused the limited UN resolution imposing a no-fly zone and authorising the protection of civilians as a pretext to promote regime change.

But with alliance airstrikes helping open the way on the battlefield following a lengthy stalemate, revolutionary forces eventually captured Tripoli in late August and brought an end to the war with the death of Gaddafi on October 20.

"Together, we succeeded. Libya is finally free," Nato chief Anders Fogh Rasmussen told a joint news conference in Tripoli with Mustafa Abdul-Jalil, Libya's interim leader.

Addressing the Libyans, he said: "You acted to change your history and your destiny. We acted to protect you."

In the past seven months, Nato warplanes flew 26,000 sorties, including more than 9,600 strike missions, destroying more than 1,000 tanks, vehicles, and guns.

US planes flew a quarter of those missions, mostly in support roles such as air refuelling and surveillance of the battlefields, while the European allies and four partner nations conducted the vast majority of ground attacks.

As Nato pulled out, Libya's leadership, the 51-member National Transitional Council, was taking another step toward a democratic system, to be operational within two years.

The council chose a new prime minister, US-educated electrical engineer Abdurrahim el-Keib, who is to appoint a new government that will pave the way for general elections.

Mr El-Keib, an NTC member from Tripoli with a doctorate from North Carolina State University, said he would appoint the government within two weeks.

The new government will oversee the drafting of a constitution. The NTC started out as an impromptu group of anti-Gaddafi activists, but evolved into a more carefully chosen interim government after the fall of the Gaddafi regime, said Jalal el-Gallal, an NTC spokesman.

Sign up to our free newsletters

Get the best updates straight to your inbox:
Please select at least one mailing list.

You can unsubscribe at any time by clicking the link in the footer of our emails. We use Mailchimp as our marketing platform. By subscribing, you acknowledge that your information will be transferred to Mailchimp for processing.