Somalia’s MPs have elected a Somali-US national as the country’s new president in a vote held in an aircraft hangar.
Ex-Prime Minister Mohamed Abdullahi “Farmajo” Mohamed beat President Hassan Sheikh Mohamud in a surprise result.
The vote was held at the heavily guarded airport complex in the capital, Mogadishu, as the rest of the country is too dangerous.
Traffic was banned and a no-fly zone imposed over the city to prevent attacks by militant Islamists.
Despite this, suspected militants fired mortar rounds close to the venue on Tuesday night.
Somalia has not had a one-person one-vote democratic election since 1969.
That vote was followed by a coup, dictatorship and conflict involving clan militias and Islamist extremists.
Mr Mohamed’s election is part of a lengthy and complex process to help the East African state rebuild its democracy and achieve stability.
More than 20,000 African Union (AU) troops are stationed in Somalia to prevent militant Islamist group al-Shabab from overthrowing the weak government.
The new president is popularly known as “Farmajo”, from the Italian for cheese, because of his love for the dairy product.
Thousands of Somalis quickly took to the streets to celebrate Mr Mohamed victory and cheering soldiers from the Somali army fired into the air, the Associated Press news agency reports.
Mr Mohamed is seen as a Somali nationalist, and his chances of winning increased after Somalia’s arch-rival, Ethiopia, was seen to be backing the defeated president.
Mr Mohamed obtained 184 votes, compared with 97 for the outgoing president, who accepted defeat, avoiding a third and final vote.
“History was made, we have taken this path to democracy, and now I want to congratulate Mohamed Abdullahi Farmajo,” Mr Mohamud said in his concession speech.
Yes. The election hall, a converted aircraft hangar packed with MPs, was at the Mogadishu international airport complex.
It is viewed as the most secure site in Somalia, as the main AU base is there.
The vote was moved to the airport complex from a police academy because of growing fears that al-Shabab could strike.
The 2012 presidential vote was held at the academy, and the 2007 and 2004 vote in neighbouring Kenya and Djibouti respectively.