Nigeria has begun the prosecution of more than 500 people accused of involvement in militant attacks in one of the country's largest ever terrorism trials. The suspects face charges linked to aiding and abetting terrorism, particularly in the north-east where an insurgency by the Boko Haram Islamist group began 17 years ago. Since then, insecurity has spread to many other areas of the West African nation, leaving communities at the mercy of militant groups and gangs that kidnap for ransom. The mass trial opened on Tuesday at a high court in the capital, Abuja, where 227 suspects were arraigned before 10 judges, according to Attorney General Lateef Fagbemi. Hundreds of people have lost their lives in bombings and various attacks across Nigeria this year alone.

Very few people are ever prosecuted over terror attacks, and suspects are often detained for years without facing trial. According to the AFP news agency, gunmen killed at least 20 people on Wednesday in the western state of Niger, where attackers raided villages in an area known for kidnapping gangs and Islamist militants. Security was tight during the court session on Tuesday, with suspects transported in heavily guarded convoys under military, police, and intelligence supervision.

International observers, including human rights groups and the Nigerian Bar Association, were present in court. The defendants are alleged to have taken part in attacks primarily in northern Nigeria, while others face charges of supporting militants through funding, supplying arms and logistics.

Five of the accused have already received sentences ranging from seven to 20 years after pleading guilty to charges that included selling livestock and supplying food and information to militant groups. Fagbemi emphasized that the scale of this operation illustrates the government's commitment to addressing terrorism and ensuring that due process is followed.

Security expert Bashir Galma remarked that the trial represents a significant milestone in Nigeria's battle against terrorism and could provide some measure of peace for families of victims. However, he cautioned that some suspects might be released soon, as their long detention periods could be considered by judges in the proceedings.