Voters in the Maldives have chosen the brother of the archipelago nation's former strongman ruler to be their new president over the country's first democratically elected leader in a closely fought run-off election.

Voters in the Maldives have chosen the brother of the archipelago nation's former strongman ruler to be their new president over the country's first democratically elected leader in a closely fought run-off election.

With just four out of 475 ballot boxes to be counted, Yaamin Abdul Gayoom had 51.39% of the total vote in Saturday's election. Mr Gayoom is the brother of former autocrat Maumoon Abdul Gayoom, who ruled the Indian Ocean nation for 30 years.

Mohamed Nasheed, who was elected president in the first multiparty election in 2008, received 48.61% of the vote. He had 47% in last week's first round to Gayoom's 30%. The runoff was required because no candidate got 50%.

AP

Maldives had failed to elect a president in three attempts since September.

Mr Nasheed led with 47% in last week's first round to Mr Gayoom's 30%.

Mr Gayoom improved on his performance by courting supporters of tourist resort owner Qasim Ibrahim who finished third with 23% of the vote last week.

Mr Ibrahim drew his support from conservative Muslims who accused Mr Nasheed of undermining Islam because of his friendly relations with Israel and Western nations.

Mr Nasheed was the clear pre-election favourite but lost his momentum amid long delays to complete the election.

After his victory became apparent, Mr Gayoom told reporters that Maldivians had decided what was best for them and asked the international community to respect their choice.

"It's now time to bring peace, the people have decided. It's now time for development," Mr Gayoom said.

Mr Nasheed conceded the election and said he would not challenge the results.

"This is a very happy day for all of us, we now have an elected president," he said. "We don't want to go to the courts."

The Maldives had failed to elect a president in three attempts since September, raising concerns in the international community that the fledgling democracy could slip back to authoritarian rule.

Mr Nasheed received 45% in a September 7 election, but the result was annulled by the Supreme Court after Mr Ibrahim complained that the voters' register contained made-up names and those of dead people.

Last month, police stopped a second attempt at holding the election because all the candidates did not accept a new voters' list as the court had mandated.

The court intervened again to change the runoff election date, which had been set for the day after the November 9 vote. It also ordered incumbent president Mohamed Waheed Hassan to continue in office despite the official end of his term on November 11, purportedly to avoid a constitutional void because the country was past the legal deadline to elect and seat a new president.

The European Union, concerned about the return of authoritarian rule, warned that it was considering "appropriate measures" if the Maldives failed to elect a new president this time. It said further delays would be seen as attempts to prevent Maldivians from exercising their democratic rights.

US State Department spokeswoman Jen Psaki said earlier in the week that Mr Hassan's decision to stay beyond his term endangered the people's right to elect a new leader and called for the election to be concluded soon.

The Maldives has seen much upheaval in the five years since its first multi-party election. There has been conflict between the judiciary, parliament and the presidency, which often worked in different directions. The judiciary and bureaucracy were often accused of being loyal to Mr Gayoom, the former autocratic ruler.

Mr Nasheed was elected in 2008, but resigned midway through his term last year after weeks of public protests and declining support from the military and police over his decision to detain a senior judge whom he perceived to be biased. He later said he was ousted in a coup, but an inquiry commission rejected the allegation.

The Maldives is a predominantly Muslim nation of 350,000 people. About 240,000 Maldivians were eligible to vote and turnout was more than 91%.