Libyans are celebrating their first free national election in 60 years after turning out for a poll widely seen as drawing a line under Muammar Gaddafi's dictatorship.
In Tripoli, revellers lit the night sky over the capital with fireworks.
People in the eastern city of Benghazi celebrated by firing rocket-propelled grenades in the direction of the sea.
Officials said 98% of polling centres had opened at some point during the day for the ballot for an interim assembly of 200 members who will pave the way for parliamentary elections in 2013.
Turnout was just under 60%.