ABUJA, Nigeria (AP) — Nigerians awoke to a new president Wednesday, with ruling party candidate Bola Tinubu declared the winner of the country's election. As he thanked his supporters he appealed for reconciliation with his rivals, who are already demanding a revote in Africa's most populous nation.

The announcement by election officials overnight was likely to lead to a court challenge by the second- and third-highest finishers in the weekend vote, Atiku Abubakar and Peter Obi. Abubakar also finished second in the previous vote in 2019, and appealed those results although his lawsuit ultimately was dismissed.

Tinubu's ruling All Progressives Congress party urged the opposition Tuesday to accept defeat and not cause trouble after they had demanded a revote, saying that delays in uploading election results had made room for irregularities.

Tinubu received 37% of the votes, or nearly 8.8 million, while main opposition candidate Abubakar won 29% with almost 7 million. Third-place finisher Obi took 25% with about 6.1 million, according to the results announced on live television by the Independent ɫtv Electoral Commission.

The president-elect thanked his supporters in the capital, Abuja, after his victory was announced and struck a reconciliatory tone in a message directed at his political adversaries.

“I take this opportunity to appeal to my fellow contestants to let us team up together," Tinubu said. “It is the only nation we have. It is one country and we must build together.”

The announcement of his victory came after 4 a.m., but celebrations already had started late Tuesday at the ruling party’s national secretariat where Tinubu’s supporters had gathered in anticipation of his victory.

“None of the others matches his record!” said Babafemi Akin as he chatted excitedly about the prospects of a Tinubu administration. “I am sure he will do well.”

Tinubu, 70, is the former governor of Lagos state, home to Nigeria's megacity of the same name. However, he lost the state in Saturday's election to Obi, who drew a strong following among younger voters eager for change.

The tightly contested election has redrawn Nigeria’s electoral geography and produced results that are significantly different from those of past polls, with this being the first time that a president takes office with less than 50% of the vote and where four candidates won over a million votes, say analysts.

Tinubu "will have to strive to win the support of the larger majority who preferred one of the other candidates, particularly the youth, the Christian groups that were opposed to his Muslim-Muslim ticket and Igbos in the South East who again feel denied the presidency,” said Nnamdi Obasi, senior adviser on Nigeria for the International Crisis Group.

From the onset, Tinubu will have to contend with challenges to his legitimacy, so he’ll need to ensure an inclusive government and focus firmly on rebuilding national cohesion, he added.

Tinubu clinched victory in part because the opposition vote was split and because his party had the strongest push to get people out to vote, said Amaka Anku, Africa director at the Eurasia Group consultancy.

Nigeria's current president, Muhammadu Buhari, congratulated his successor in a statement Wednesday, but said the election was not perfect. “Of course, there will be areas that need work to bring further transparency and credibility to the voting procedure. However, none of the issues registered represents a challenge to the freeness and fairness of the elections,” he said.

The parties now have three weeks to appeal results, but an election can be invalidated only if it's proven the national electoral body largely didn’t follow the law and acted in ways that could have changed the result.

The Supreme Court of Nigeria has never overturned a presidential election, though court challenges are common, including by Buhari, who doggedly fought his past election losses for months in vain.

The West African regional bloc, known as ECOWAS, called on political parties to appeal to their supporters to exercise maximum restraint and refrain from using provocative language, which would only “exacerbate political tensions, divisiveness, and violence at this critical stage”, said the group in a statement.

Nigeria’s presidential election has been closely watched as the country is not only the continent’s largest economy but it is also one of the continent’s top oil producers.

Observers have said Saturday’s election was mostly peaceful, though delays caused some voters to wait until the following day to cast their ballots. Many Nigerians had difficulties getting to their polling stations because of a currency redesign that resulted in a shortage of bank notes.

___

Associated Press journalists Taiwo Ajayi in Abuja, Nigeria; Krista Larson in Dakar, Senegal; and Sam Mednick in Ouagadougou, Burkina Faso contributed.

The ɫtv Press. All rights reserved.