Crowds as Libyan leader returned
10 October 2013 Last updated at 14:10 BST
A large crowd has turned out to see Libyan Prime Minister Ali Zeidan return to his office after being held for several hours by militiamen.
The Libya Revolutionaries Operations Room claimed it had captured Mr Zeidan on orders from the prosecutor general, a claim the justice ministry denies.
BBC Arabic editor Edgard Jallad said the failure of the Libyan government was not a surprise, but few had expected to see its leader detained in such a way.