The Latest on Nigeria’s election results (all times local):

2:50 p.m.

Nigeria’s president says it is “obvious that elections were free and fair” as his top opposition challenger vows to contest the results in court.

Supporters of Nigeria's President Muhammadu Buhari celebrate his electoral win in the streets of Yola, northern Nigeria, Wednesday, Feb. (AP Photo/Sunday Alamba)
Supporters of Nigeria’s President Muhammadu Buhari celebrate his electoral win in the streets of Yola, northern Nigeria, Wednesday, Feb. (AP Photo/Sunday Alamba)

President Muhammadu Buhari spoke during an electoral commission ceremony confirming his victory, which he secured with 55 percent of the vote.

He congratulated all candidates and urged them to accept the democratic approach in Africa’s most populous country, “however contentious.”

“Election is not war and should never be seen as a do-or-die affair,” the president added, to applause.

In this photo released by the Nigeria State House, Nigeria's incumbent President Muhammadu Buhari, of the All Progressives Congress party, speaks as he was declared the winner of the just concluded Presidential election in Abuja Wednesday, Feb. (Bayo Omoboriowo/Nigeria State House via AP)
In this photo released by the Nigeria State House, Nigeria’s incumbent President Muhammadu Buhari, of the All Progressives Congress party, speaks as he was declared the winner of the just concluded Presidential election in Abuja Wednesday, Feb. (Bayo Omoboriowo/Nigeria State House via AP)

Challenger Atiku Abubakar is expected to speak to the media later Wednesday in the capital, Abuja. He asserts that results of Saturday’s vote were manipulated.

___

10:35 a.m.

Supporters of Incumbent President Muhammadu Buhari pour champagne anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)
Supporters of Incumbent President Muhammadu Buhari pour champagne anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)

Nigeria’s top opposition candidate is rejecting the results of what he calls a “sham election” and says he will be challenging it in court.

The statement by Atiku Abubakar was shared by aides on Wednesday morning, a few hours after the electoral commission declared President Muhammadu Buhari the winner of Saturday’s election by nearly 4 million votes.

Abubakar’s statement says he could have conceded “within seconds” if the vote had been free and fair, but it alleges “manifest and premeditated malpractices” in many of Nigeria’s 36 states.

Supporters of Incumbent President Muhammadu Buhari dance to Lady Gaga songs anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)
Supporters of Incumbent President Muhammadu Buhari dance to Lady Gaga songs anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)

The statement asserts that voting was suppressed in Abubakar’s strongholds in the south and that states where an extremist insurgency continues generated “much higher voter turnouts” than in peaceful states. It also objects to the deployment of the military in some areas.

Abubakar’s statement adds that “I have never seen our democracy so debased.”

It does not say when a court challenge will be lodged.

Supporters of Incumbent President Muhammadu Buhari take selfies at Buhari's campaign headquarters as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)
Supporters of Incumbent President Muhammadu Buhari take selfies at Buhari’s campaign headquarters as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)

___

Nigeria’s president was declared the clear winner of a second term in Africa’s largest democracy early Wednesday, after a campaign in which he urged voters to give him another chance to tackle gaping corruption, widespread insecurity and an economy limping back from a rare recession.

While many frustrated Nigerians had said they wanted to give someone new a try, President Muhammadu Buhari , a former military dictator, profited from his upright reputation in an oil-rich nation weary of politicians enriching themselves instead of the people.

Supporters of Incumbent President Muhammadu Buhari party anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)
Supporters of Incumbent President Muhammadu Buhari party anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)

Speaking shortly after the announcement of the official results and as many Nigerians awakened to the morning prayer, Buhari told colleagues that he was “deeply humbled” by the win. He also said he regretted the loss of dozens of lives in election-related violence.

“I will like to make a special appeal to my supporters not to gloat or humiliate the opposition. Victory is enough reward for your efforts,” said Buhari.

He pledged that in his second term, his new administration “will intensify its efforts in security, restructuring the economy and fighting corruption. … We will strive to strengthen our unity and inclusiveness so that no section or group will feel left behind or left out.”

Ruling party workers count results at Incumbent President Muhammadu Buhari's campaign headquarters monitor official results being released in Abuja, Nigeria, Tuesday Feb. (AP Photo/Jerome Delay)
Ruling party workers count results at Incumbent President Muhammadu Buhari’s campaign headquarters monitor official results being released in Abuja, Nigeria, Tuesday Feb. (AP Photo/Jerome Delay)

Supporters began dancing in the streets of the capital, Abuja, on Tuesday night as vote counting stretched his lead from the weekend election to nearly 4 million votes over top opposition challenger Atiku Abubakar, a billionaire former vice president who made sweeping campaign promises to “make Nigeria work again.”

Buhari received 15.1 million votes, or 55 percent, the electoral commission said in making its official declaration. Abubakar received 11.2 million, or 41 percent. The average national turnout was 35.6 percent, continuing a downward trend.

In a failed last-ditch effort to stop the official declaration, Abubakar’s party claimed that election data had been manipulated and demanded fresh elections in four of Nigeria’s 36 states.

Supporters of Incumbent President Muhammadu Buhari party anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)
Supporters of Incumbent President Muhammadu Buhari party anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)

Buhari’s party rejected the accusations. It also called on Abubakar, who hasn’t made a public appearance since Saturday’s election, to accept his loss gracefully and concede. “Let this nation move forward,” campaign spokesman Babatunde Fashola said.

“There’s no opposition that will roll over and play dead. Anybody that lost an election will always complain,” Hameed Ali, the ruling party agent attending the vote declaration, told reporters.

The election, once described as too close to call, suffered from a surprise weeklong postponement and significant delays in the opening of polling stations. While election observers called the process generally peaceful, at least 53 people were killed in an attack claimed by the Islamic State West Africa Province extremist group and other violence, analysis unit SBM Intelligence said.

A man takes a call on his cellphone as he stands between two billboards showing Nigeria's President Muhammadu Buhari and other party officials, in Kano, northern Nigeria Tuesday, Feb. (AP Photo/Ben Curtis)
A man takes a call on his cellphone as he stands between two billboards showing Nigeria’s President Muhammadu Buhari and other party officials, in Kano, northern Nigeria Tuesday, Feb. (AP Photo/Ben Curtis)

It remained to be seen whether Abubakar will follow through on pledges to accept a loss, or challenge the results. A former U.S. ambassador to Nigeria, John Campbell, said the troubled election had given the candidates grounds to go to the courts. That route could take months.

Many Nigerians have prayed for peace. They were surprised in 2015 when President Goodluck Jonathan took the unprecedented step of conceding to Buhari before official results were announced. It was the first defeat of an incumbent president by the opposition in the country’s history.

“Jonathan set the benchmark on how electoral outcomes should be handled,” Chris Kwaja, a senior adviser to the United States Institute of Peace, a U.S. government-backed institution promoting conflict resolution worldwide, told The Associated Press. “Accept defeat in the spirit of sportsmanship. This is a critical vehicle for democratic consolidation.”

FILE - In this Saturday, Feb. 23, 2019 file photo, Nigeria's President Muhammadu Buhari speaks to the media after casting his vote in his hometown of Daura, in northern Nigeria. (AP Photo/Ben Curtis, File)
FILE – In this Saturday, Feb. 23, 2019 file photo, Nigeria’s President Muhammadu Buhari speaks to the media after casting his vote in his hometown of Daura, in northern Nigeria. (AP Photo/Ben Curtis, File)

Nigerians were praised for their patience and resilience in this bumpy vote.

___

Anna reported from Kano, Nigeria. Associated Press writer Sam Olukoya in Lagos, Nigeria, contributed to this report.

Supporters of Incumbent President Muhammadu Buhari dance to Lady Gaga songs anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)
Supporters of Incumbent President Muhammadu Buhari dance to Lady Gaga songs anticipating a win as they wait for the results to be officially announced in Abuja, Nigeria, Tuesday, Feb. (AP Photo/Jerome Delay)

___

Ruling party workers count results at Incumbent President Muhammadu Buhari's campaign headquarters monitor official results being released in Abuja, Nigeria, Tuesday Feb. (AP Photo/Jerome Delay)
Ruling party workers count results at Incumbent President Muhammadu Buhari’s campaign headquarters monitor official results being released in Abuja, Nigeria, Tuesday Feb. (AP Photo/Jerome Delay)
Ruling party workers count results at Incumbent President Muhammadu Buhari's campaign headquarters in Abuja, Nigeria, Tuesday Feb. (AP Photo/Jerome Delay)
Ruling party workers count results at Incumbent President Muhammadu Buhari’s campaign headquarters in Abuja, Nigeria, Tuesday Feb. (AP Photo/Jerome Delay)