Some polling units still open in Nigeria, a day after voting Some polling units still open in Nigeria, a day after voting marked in areas by violence

KANO, Nigeria -- Some polling stations remained open in several states across Nigeria on Sunday while votes were counted in Saturday's presidential election, widely seen as a tight race between the president and a former vice president.

The death toll in election-related violence continued to climb, although the electoral commission said it was happy that voting was generally peaceful in Africa's largest democracy. Outbreaks of violence killed 39 people, according to analysis unit SBM Intelligence, citing its own informants and media reports.

One election worker was hit by a bullet after completing work in Rivers state in the restive south, electoral chairman Mahmood Yakubu told reporters: "May her soul rest in peace." He did not give an overall death toll, saying he was focused on election workers, who faced "intimidation, abduction, hostage-taking and violence."

In one case, he had to make an urgent phone call to secure the release of workers and even police taken hostage in Rivers state, he said. All were unharmed.

Voting continued in parts of Abia, Bayelsa, Benue, Plateau, Zamfara and Sokoto states after the process was extended because of various issues. "Nigerians have demonstrated extraordinary resilience and abiding faith in the electoral process," Yakubu said.

The national vote compilation center was opening in the capital, Abuja, on Sunday evening, with at least one state among Nigeria's 36 already on the way after completing its vote count.

A formal declaration of the presidential winner would come "in the not-too-distant future," the chairman said.

More than 72 million people were eligible to vote in Africa's most populous country and largest economy. The election was held a week late after the electoral commission cited several logistical challenges, including bad weather.

President Muhammadu Buhari, a former military ruler who unseated the incumbent in the 2015 election, seeks a second term against more than 70 candidates. His main rival is Atiku Abubakar, a former vice president and billionaire businessman who has made sweeping claims of reviving an economy still limping back from a rare, months-long recession.

Many Nigerians, appalled that their country recently became the world leader in the number of people living in extreme poverty, said the election will be decided by economic issues. Nigeria slipped into recession under Buhari when global oil prices crashed, with unemployment growing significantly to 23 percent and inflation now above 11 percent.

One of the largest domestic observer groups, Watching the Vote, told reporters that Nigeria had missed its chance to improve on the 2015 election, seen as one of the most transparent in the country's history.

Logistical problems caused 59 percent of the polling stations monitored to open late, and misconduct at some stations hurt people's ability to vote. Those issues, however, didn't necessarily undermine the election's credibility, spokesman Hussaini Abdu said.

In the northern city of Kano, tempers flared at one vote compilation center where Abubakar supporters alleged that ballots from a couple of polling units hadn't been counted. Amid shouting, security personnel pushed them out of the courtyard's metal door.

A ruling party supervisor, Joy Bako, watched in exasperation after she spent a sleepless night standing guard over results, like many party agents across the country.

"It was free and fair," she said. "Nobody was arguing. I'm surprised at all this noise."

Observers and others who visited multiple compilation centers reported a peaceful process in a region where voters were expected to largely support Buhari.

Even one Abubakar supporter, Abubakar Ali, paused from the ruckus to acknowledge that "everything was going clear." But many people did not come out to vote as compared to 2015, he said.

Godwin Ugbala, who spent the election as an agent for one of Nigeria's dozens of small political parties, also reported a smooth voting day. He added his voice to many Nigerians' frustration with Buhari, though some voters said they had no other option but him.

"This one failed us in so many ways," Ugbala said. "No business. Everything is tired." He voted for Buhari in 2015 but said the president had "betrayed" the people by not following up on his promises to tackle insecurity and corruption.

———

Muhumuza reported from Yola, Nigeria.

———

Follow AP's full coverage of the Nigeria elections here: https://www.apnews.com/Nigeria

———

Follow Africa news at https://twitter.com/AP—Africa