According to near-final results, Abdulla Yameen has won the presidential election run-off vote in the Maldives.
Abdulla Yameen had 51.3% of the vote compared with 48.6% for ex-President Mohamed Nasheed, with 98% of ballots counted, the Election Commission said.
Mohamed Nasheed had won 47% in the first round this month, just short of the 50% needed for outright victory, in an election process mired in controversy.
Abdulla Yameen is half-brother to Maumoon Abdul Gayoom, who ruled for 30 years.
Imad Masood, a spokesman for outgoing President Mohamed Waheed, told Reuters there were “four more boxes yet to be counted, but they won’t make any difference to the final results”.
There have been months of legal and political wrangling over the election, causing concern among foreign diplomats.
One result was annulled and two votes cancelled by the courts.
Mohamed Nasheed had been seeking to regain power after he was forced to resign in 2012.