Libyans have celebrated the one-year anniversary of the uprising that led to the capture and death of former leader Muammar Gaddafi.

Most celebrations were held in and around Benghazi, the stronghold of the revolution, and Tripoli, the capital.

The country still faces many challenges. The ruling National Transitional Council is struggling to assert control over the militias that fought against Gaddafi during the conflict.

Rights groups have called for militias to give up their arms and reports of continued abuse of human rights by former rebel fighters continue to emerge.

"The revolution has met one of its important demands - liberating the country and toppling the autocratic regime, but now we are passing through another stage to rebuild the country," said Ali al-Tarhoni, the former minister of oil and finance.

"Are we able to overcome the challenges to build a democratic and Islamic country? I'm optimistic because we have the abilities to do so."