Mohammed Magarief, a main figure in the opposition against former Libyan leader Muammar Gaddafi, is the new president of the the country’s national assembly.
Magarief, who is now effectively head of state, comes from the eastern city of Benghazi, where the uprising against Gaddafi first began.
Choosing a prime minister and organising full parliamentary elections are two of the tasks ahead for Magarief and the new ruling body.
“The next phase is very sensitive and full of obstacles and challenges. Mohamed Magarief is efficient enough to lead this phase and we hope that all the state mechanisms will support him and continue electing leaders in the same way,” said independent member of the Libyan Congress Mohamed Ali Abdullah.
The new ruling body voted for moderate Islamist Magarief just one day after it took over from the National Transitional Council, which has now been dissolved.
Of paramount importance will be the rebuilding of a functioning state and restoring security.
In the first attack of its kind since Gaddafi was overthrown, a bomb exploded near a police station in Tripoli last Saturday, injuring a passerby.