Niger voted Sunday in a presidential run-off between two political heavyweights that is set to bring about the first democratic transition of power in the coup-prone country's history.

But the balloting was marred by the death of seven local election workers whose vehicle struck a mine in the troubled Tillaberi region near Mali.

Niger
Niger's President Mahamadou Issoufou (center) attends a rally in support of the army's war against Boko Haram in Niamey, Feb. 17, 2015. REUTERS/Tagaza Djibo

The world's poorest nation according to the UN's development rankings for 189 countries, Niger is also struggling with jihadist insurgencies that have spilled over from Mali and Nigeria.

Only 7.4 million of the country's 22 million people were eligible to vote on Sunday -- a reflection of the population's youthfulness.

Thousands of soldiers were deployed nationwide for the vote, set to usher in a peaceful handover between elected presidents, a first since Niger's independence from France in 1960.

A giant poster for Mahamane Ousmane, who is contesting former interior minister Mohamed Bazoum in Sunday's runoff
A giant poster for Mahamane Ousmane, who is contesting former interior minister Mohamed Bazoum in Sunday's runoff AFP / Issouf SANOGO

Several foreign observer missions were also on hand including from the Economic Community of West African States (ECOWAS) and the Francophonie organisation of French-speaking countries.

Ballot counting began in the evening, after polling stations closed, but the election result is not expected to be known for several days.

Outgoing President Mahamadou Issoufou's decision to voluntarily step down after two five-year terms was welcomed in a region where many leaders have tried to cling to power.

Supporters stand on their motorcycles to get a better view at a Bazoum campaign rally
Supporters stand on their motorcycles to get a better view at a Bazoum campaign rally AFP / Issouf SANOGO

"I'm proud to be the first democratically elected president in our history to be able to pass the baton to another democratically elected president," Issoufou said as he voted in the capital Niamey accompanied by his two wives.

His successor will be either his right-hand man Mohamed Bazoum, 60, or Mahamane Ousmane, who became the country's first democratically elected president in 1993, only to be toppled in a coup three years later.

Ousmane, 71, is running for president for the fifth time since his ouster in one of the four military coups the country has seen along with six elections.

Six French aid workers, their local guide and the driver were killed by jihadists in the Koure nature reserve near Niamey last August
Six French aid workers, their local guide and the driver were killed by jihadists in the Koure nature reserve near Niamey last August AFP / Boureima HAMA

Both candidates are stalwarts of Niger's political scene.

One voter, 29-year-old student Idrissa Gado, said the election is a "source of pride" for Nigeriens.

"The next president must act against the rebels, it's the great concern in Niger," Gado said as he voted in Niamey.

Voting opens in Niger run-off election
Voting opens in Niger run-off election AFPTV / Ali Moctar TONDI

The CENI independent electoral commission said in a statement Sunday that "fake voting cards" had been in circulation in several regions of the country.

Voting opens in Niger run-off election
Voting opens in Niger run-off election AFPTV / Ali Moctar TONDI

Voting in his native village of Zinder, Ousmane said: "If the citizens see that these elections were once again... rigged, I fear the situation will be hard to manage."

Political alliances loomed large, with Bazoum the strong favourite after winning 39.3 percent of the first round vote on December 27.

"I hope that luck will be with the winner... I have many reasons to believe it's indeed on my side," Bazoum said as he cast his ballot.

The former interior minister has already sealed the support of the candidates who came third and fourth in the first round.

Ousmane, who took nearly 17 percent in the first round, can count on the support of a coalition of 18 opposition parties as well as Hama Amadou, previously thought to be the most formidable candidate against Bazoum.

Amadou was banned from running because of a conviction for baby trafficking which he has slammed as politically motivated.

Bazoum campaigned on continuity with the previous government, which promised development while facing the world's highest birthrate -- an average of seven children per woman.

"To absorb this population growth would take incredible economic growth," a Western diplomat said.

An immense security challenge also awaits the victor.

A brutal jihadist insurgency is intensifying in the country's west, while Islamist militants from the Nigerian movement Boko Haram wage incessant attacks in the southeast.

Sunday's mine blast that killed seven election workers and injured three occurred some 100 kilometres (60 miles) west of Niamey in the so-called tri-border region where Niger, Mali and Burkina Faso converge.

"This is a painful moment. It is a great shock for us, for us all," said Interior Minister Alkache Alhada, speaking "of (a) despicable" and "barbarian" act.

One man has been arrested and polling stations in the area closed, he added.

The vast and unstable tri-border region, which has been under a state of emergency since 2017, was the scene of one of the worst civilian massacres in Niger's history in early January, when around 100 people were killed during an attack on two villages.

The twin attack occurred on the day election officials announced results from the December 27 first round.