Former Guinea-Bissau Prime Minister Umaro Cissoko Embalo has been elected president after winning a run-off vote against another ex-prime minister.
The 47-year-old beat rival Domingos Simoes Pereira by about 54% to 46%, the electoral commission announced.
Mr Pereira vowed to contest the result, alleging "electoral fraud".
Mr Embalo has said he wants to resolve political tensions in the West African country, which has seen nine coups or attempted coups since 1974.
Incumbent President Jose Mario Vaz crashed out of the election in the first round in November.
He was the first head of state to carry out his term without being either deposed or assassinated, but his tenure was marred by issues including political infighting and widespread allegations of corruption.
- Guinea-Bissau: What you need to know
- Are military takeovers on the rise in Africa?
- How democracy is changing in Africa
His campaign team accused rivals of electoral fraud, but West African regional bloc Ecowas rejected the claims and warned that a military force was on standby to "re-establish order" in the event of a coup.
Election observers have also said they found no evidence of vote tampering in Sunday's run-off, but Mr Pereira - leader of the country's historic ruling party PAIGC - said the results were "full of irregularities, annulment and manipulation" as he vowed to mount a challenge in the Supreme Court.
Supporters of Mr Embalo celebrated the result.
Opposition candidate and former army chief Mr Embalo, nicknamed "The General", served as prime minister between 2016 and 2018.
He sought to overcome his rival's lead in the first round by pledging to unify the country and gaining the backing of eliminated candidates, including Mr Vaz.
Mr Embalo has also vowed to modernise Guinea-Bissau - one of the world's poorest nations, which is home to some 1.6 million people.
His supporters celebrated his victory in the capital Bissau on Wednesday, dancing and beating pots and pans, AFP news agency reports.
As president, he will face major challenges including poverty and drug trafficking, as well as the unstable political system that led to an impasse under Mr Vaz's presidency in which parliament can appoint the prime minister, but this appointee can be fired by the president.
Latest Stories
-
Mahama vows to create an agro-processing zone in Afram Plains
29 seconds -
Political parties should plan for losses, not just wins – IGP advises
2 mins -
524 Diasporan Africans granted Ghanaian citizenship in ceremony
4 mins -
Mahama urges Afram Plains North residents to avoid ‘skirt and blouse’ voting
6 mins -
Asantehene receives more 19th century gold ornament and regalia
13 mins -
Hohoe Ghana Blind Union organises training for members ahead of Election 2024
19 mins -
Alan Kyerematen reveals his future plans for Ghanaian Health professionals
20 mins -
AAIN empowers women and small enterprises in Upper East Region through SHINE project
21 mins -
Akufo-Addo leads nationwide commissioning of 80 educational projects
27 mins -
Ghana and Seychelles strengthen bilateral ties with focus on key sectors
58 mins -
National Elections Security Taskforce meets political party heads ahead of December elections
1 hour -
Samsung’s AI-powered innovations honored by Consumer Technology Association
1 hour -
Fugitive Zambian MP arrested in Zimbabwe – minister
2 hours -
Town council in Canada at standstill over refusal to take King’s oath
2 hours -
Trump picks Pam Bondi as attorney general after Matt Gaetz withdraws
2 hours