Insecurity threatens Nigeria's democracy as voters elect a new president

*

Nigeria plagued by Islamists, kidnappers, separatists

*

Better electoral procedures should enable fairer vote

*

But violence may prevent many thousands from voting

*

President Buhari leaves legacy of spreading insecurity

By Ahmed Kingimi and Tim Cocks

GUSAU, Nigeria, Feb 17 (Reuters) - Bandits spraying villages with bullets, killing residents and setting buildings ablaze. Rampant cattle rustling and clashes between farmers and herders. Mass kidnappings for ransom.

These are among the litany of challenges confronting Sa'idu Ahmad, an electoral officer tasked with organising voting for Nigeria's next president and members of parliament on Feb. 25 in the northwestern state of Zamfara.

The violence is so bad in some areas that 606 polling centres serving 287,373 voters - nearly a fifth of the state's total - have been identified as "not reachable" and arrangements are being made for people to vote in larger towns, Ahmad said.

"We can't build a separate polling unit for each person," he said, adding that he hoped local leaders or business people would hire trucks to help votes reach safer polling stations.

Nigeria's election next week marks nearly a quarter century of democracy in Africa's most populous nation, which in previous decades had become a byword for coups and military misrule.

In some ways, it stands to be one of its most credible polls yet, thanks to an increasingly professional electoral commission and measures to curb fraudulent practices rife in many previous elections, such as serial voting and ballot-box stuffing.

A law enacted last year provides for electronic voting machines and smart card readers to confirm voters are registered in a central database. Results from any polling centre where the ballots cast exceed the registered voters will not be counted.

But in places where armed groups have killed, robbed and displaced thousands, the violence risks casting doubt on the credibility of the vote and, in the areas hit worst by insecurity, on whether it can take place at all.

Analysts warn that the rampant violence will need to be dealt with quickly by whoever replaces President Muhammadu Buhari to pull Nigeria back from the brink of becoming a failed state that could destabilise the wider West African region.

SPREADING VIOLENCE

When Buhari came to power in 2015 in what was judged to be Nigeria's fairest election to date, many hoped the retired major general would crack down on armed groups, just as he had in the early 1980s as the country's military head of state. Instead, violence that had mostly been confined to the northeast has spread, leaving swathes of Nigeria outside the control of its stretched security forces and forcing thousands of farmers to abandon their crops in the midst of a food crisis.