LAGOS, Nigeria (AP) — The desire for revenge against Nigeria’s heavy-handed military is a leading reason that people join the Boko Haram Islamic extremist group, according to a new study published Monday.

Nearly 60 percent of 119 former Boko Haram fighters interviewed in rehabilitation camps in the country’s northeast cited revenge against the military as having a strong, or being the only, influence in their recruitment.

FILE - In this Wednesday April 8, 2015 file photo, Nigerian soldiers man a checkpoint in Gwoza, Nigeria . Nigeria's military says some officers are selling arms and ammunition to Boko Haram, indicating the corruption bedeviling the country's fight against the Islamic extremists continues despite government efforts to halt graft. (AP Photo/Lekan Oyekanmi, File)

FILE – In this Wednesday April 8, 2015 file photo, Nigerian soldiers man a checkpoint in Gwoza, Nigeria . Nigeria’s military says some officers are selling arms and ammunition to Boko Haram, indicating the corruption bedeviling the country’s fight against the Islamic extremists continues despite government efforts to halt graft. (AP Photo/Lekan Oyekanmi, File)

“They kill innocent people that are not (Boko Haram) members … I think they deliberately do so. So they (victims) join the group to fight the military,” the study quoted one former extremist as saying.

The study also found that many interviewed said they were pressured into joining the extremists.

“Radicalization has less to do with military action per se and more to do with abuses contributing to a need to take revenge,” said the study, conducted by Helsinki-based Finn Church Aid group and The Network for Religious Peacemakers and South Africa’s Vibrand Research in collaboration with Vienna’s KAICIID dialogue center.

It warned that Nigeria’s counter-terrorism strategy “should not be counterproductive in preventing and countering future radicalization and recruitment.”

Nigeria’s military has been accused of gross human rights abuses. Amnesty International has reported that some 7,000, including babies, have died in military detention linked to the uprising. Some have been killed there, while others have starved to death, asphyxiated in overcrowded cells or died of untreated wounds from torture.

President Muhammadu Buhari has promised to halt military abuses, but they continue.

Overall, an estimated 20,000 people have died in the seven-year Boko Haram insurgency.

Last week, Nigeria’s military freed 348 detainees, including 115 children, saying they had been cleared of suspicion after months of screening.