Somalia's new parliament is preparing to hold a vote to name a president for the country. The vote will mark the end of a period of eight years of rule by the UN-backed Transitional Federal Government, whose mandate expires.
Security is reported to be heavy across the capital, Mogadishu, with troops and police officers patrolling the streets.
Outgoing President Sheikh Sharif Sheikh Ahmed, in power since 2009, is seen as a favourite for the role. Other candidates include Prime Minister Abdiweli Mohamed Ali and parliamentary speaker Sharif Hassan Sheikh Aden.
Ahmed is a controversial figure for Western observers: a recent UN report suggested that under his presidency there had been widespread corruption.
"Systematic embezzlement, pure and simple misappropriation of funds and theft of public money have become government systems," the July report said.
In August, the UN special representative for Somalia, Augustine Mahiga, said "favours, bribes and intimidation" had been involved during the appointment of the country's MPs.
The new parliament, to be made up of a lower house with 275 members and an upper house with a maximum of 54 members, will hold its first session on Monday for the vote. It currently has 215 members, enough to vote for a president by secret ballot. The new MPs were chosen by a technical selection committee.
On Sunday, representatives from the international community flew into Mogadishu for final talks with Ahmed and to resolve a problem over the issuing of identity cards for MPs, as the president had halted the identity cards after the selection committee rejected some proposed members of his clan.
"The conclusion of the transition should mark the beginning of more representative government in Somalia," said a statement released by the UN. "Whilst parliament remains a selected rather than elected body, it is essential that it cuts its ties with the past of self-interest and warlordism, and is populated by a new generation of Somali politicians, including the proper representation of Somali women."