Libya's new national assembly has elected former opposition leader Mohammed el-Megarif as its president.
Megarif received 113 votes from the 200-member Congress, defeating independent Ali Zidan, who won 85.
The vote late Thursday came just one day after Libya's transitional council handed power to the assembly, which was elected last month in the nation's first free election in 60 years.
Megarif was the leader of Libya's oldest opposition movement, the National Front for the Salvation of Libya, which tried several times to end the 42-year rule of late leader Moammar Gadhafi.
After living in exile since the 1980s, Megarif returned to Libya following the revolution last year that ousted Gadhafi.
Megarif, now head of the National Front party, will lead the new Congress as it chooses a prime minister and steers the nation to full parliamentary elections after a new constitution is drafted.
Some information for this report was provided by AP, AFP and Reuters.