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
-
We’ll embrace cutting-edge technologies to address emerging healthcare needs – Prof. Antwi-Kusi
33 minutes -
Nana Aba Anamoah, Cwesi Oteng to attend Philip Nai and Friends’ charity event
38 minutes -
Environmental protection officers receive training on how to tackle climate change
41 minutes -
CLOGSAG vows to resist partisan appointments in Civil, Local Government Service
2 hours -
Peasant Farmers Association welcomes Mahama’s move to rename Agric Ministry
2 hours -
NDC grateful to chiefs, people of Bono Region -Asiedu Nketia
2 hours -
Ban on smoking in public: FDA engages food service establishments on compliance
2 hours -
Mahama’s administration to consider opening Ghana’s Mission in Budapest
2 hours -
GEPA commits to building robust systems that empower MSMEs
2 hours -
Twifo Atti-Morkwa poultry farmers in distress due to high cost of feed
2 hours -
Central Region PURC assures residents of constant water, power supply during yuletide
2 hours -
Election victory not licence to misbehave – Police to youth
2 hours -
GPL 2024/2025: Nations thrash struggling Legon Cities
2 hours -
Electoral offences have no expiry date, accountability is inevitable – Fifi Kwetey
2 hours -
Ghanaians to enjoy reliable electricity this Christmas – ECG promises
2 hours