By Kwasi Kpodo
ACCRA (Reuters) - Ghana's Supreme Court on Thursday rejected an opposition challenge to President John Mahama's victory in presidential elections, a ruling that should ease political uncertainty in the booming African oil- and cocoa-exporting country.
Mahama narrowly clinched December's vote with 50.7 percent of the ballot but the opposition New Patriotic Party (NPP) had alleged fraud ranging from inflated tallies to the participation of unregistered voters.
Justice William Atuguba, president of the nine-member panel, told a packed courthouse in downtown Accra that the tribunal had dismissed the opposition appeal - a ruling broadcast live to the transfixed West African nation.
"The overall effect is that the first respondent (Mahama) was validly elected," Atuguba said.
Supporters of the ruling National Democratic Congress (NDC) broke into song when the ruling was announced. Opposition leader Nana Akufo-Addo expressed disappointment but said his party would abide by the court ruling.
"Our reaction to this judgment will be watched keenly in Africa and beyond and will set a precedent for generations to follow," he told reporters. "It is now up to all Ghanaians to put the disputes behind us and come together."
Many in Ghana hope the court's detailed ruling - broadcast live across the nation of 25 million people - will set a precedent on a continent where election challenges are often swept under the carpet.
Legal experts had expected the court to dismiss the opposition case, saying it had failed to conclusively prove a level of fraud that would have changed the election result.
"Let peace rein. This is a victory for Ghana's democracy," Mahama said via his Twitter feed.
Most shops in central Accra were shuttered and the streets quiet as many Ghanaians watched the verdict at home. Police had sealed off main streets leading to the court, where helicopters hovered overhead, part of a deployment of 30,000 officers nationwide in case of any violence.
The ruling should settle the political scene in Ghana - Africa's number two gold miner and the world's second-largest cocoa producer. It has built a reputation for political stability in turbulent West Africa.
Ghana's $39 billion economy has been powering ahead, growing 8 percent last year, after oil production began at Tullow's Jubilee field in 2010.
"We expect this confidence to calm the foreign exchange market," said economist Joe Abbey of Accra-based CEPA. The Ghanaian cedi has slipped more than 10 percent against the dollar so far this year.
However, some analysts said investors' attention would now shift back to the government's efforts to trim a budget deficit which climbed to more than 12 percent of GDP last year.
"Although an important element of uncertainty has been removed with the court verdict, it is unlikely that we will see a significant market impact," said Razia Khan, Africa analyst at Standard Chartered bank. "Investors will pay careful attention to any measures aimed at achieving fiscal consolidation."
(Reporting by Kwasi Kpodo; Writing by Daniel Flynn; Editing by Bate Felix and Mark Heinrich)