ACCRA (Reuters) - Opposition leader Nana Akufo-Addo won Ghana's national election, becoming president elect at the third attempt and cementing the country's reputation as a standard bearer of democracy in a region that has been blighted by civil wars and coups.
Akufo-Addo defeated President John Mahama by 53.8 percent to 44.4 percent, electoral commissioner Charlotte Osei said late on Friday, sparking scenes of celebration in the capital Accra.
Supporters of his New Patriotic Party (NPP) cheered, danced and set off fireworks following an anxious day in which his victory had been broadly accepted but there were no official results.
"I make this solemn pledge to you tonight: I will not let you down. I will do all in my power to live up to your hopes and expectations," Akufo-Addo told a jubilant crowd in the garden of his residence.
Akufo-Addo, 72, served as foreign minister and attorney general in the NPP government that ruled between 2001 and 2009 and twice previously lost close battles for the presidency.
Mahama called him to offer congratulations just before Osei's statement and later he addressed his supporters.
"As president I have done my bit. I have made a contribution to the political, social and economic development of our country. I would have cherished an opportunity to do even more but I respect the will of the Ghanaian people," he said.
The outcome maintains Ghana's record of fiercely-contested but peaceful elections. It is the third time since 2000 that the government of the day has been voted out of office.
The opposition challenged the 2012 election results, which led to an eight-month battle in the Supreme Court. It lost, but many observers said the process strengthened the country's democracy and confirmed judicial independence.
The scale of the NPP's victory on Friday made another legal challenge unlikely. The party also picked up enough seats to win a parliamentary majority, independent estimates showed.
The NPP will inherit an economy from Mahama's National Democratic Congress that for years was rated one of Africa's most dynamic but has slowed sharply since 2014, in part because of prices have fallen for its gold, oil and cocoa exports.
That made the government vulnerable to opposition accusations it had mismanaged the nation's finances and squandered wealth from oil, which started to flow in 2010 from an offshore field operated by British company Tullow (TLW.L).
In a bid to kickstart growth, the NPP says it will create jobs, build a dam in every village and a factory in every district and give each constituency the equivalent of $1 million per year to pursue development projects.
At the same time, it also aims to maintain a tight fiscal stance in a country that is mid-way through an International Monetary Fund programme aimed at restoring balance to an economy facing elevated inflation and other problems.
Editing by John Stonestreet