Somalia's Parliament has elected former prime minister Mohamed Abdullahi Farmajo, a dual US-Somali citizen, as the country's new president.
According to CNN, Farmajo was declared victorious on Wednesday after incumbent President Hassan Sheikh Mohamud dropped out of the contest following the second round of voting.
Amid rising security concerns, the 328 members of Parliament met at an air force hangar in Mogadishu to cast their votes.
Mohamud, who took office in 2012, withdrew from the final ballot after losing 184 to 97 to Farmajo in the second round.
Farmajo's victory was greeted by celebratory gunfire in government-controlled areas of the country.