NEW YORK (AP) — An Islamic extremist who will spend the rest of his life in prison for mowing down and killing eight people with a truck on a bike path in Manhattan spoke at his sentencing Wednesday, giving his version of a religious lesson to a courtroom packed with his victims and their families.

Speaking through a translator, Sayfullo Saipov paused frequently as he spoke at length about Allah and the devil and how the Islamic faith developed.

His sentencing in Manhattan federal court comes after a jury in March rejected the death penalty for the Uzbekistan citizen and onetime New Jersey resident, leaving him with a mandatory life prison sentence for his Oct. 31, 2017 slaughter of tourists and New Yorkers.

Relatives of eight people killed in the Halloween terror attack spoke sometimes through tears during the sentencing, describing their lingering pain and sometimes directly addressing the man convicted in the deaths.

Frank Decadt, father of victim Ann-Laure Decadt, told Sayfullo Saipov that he hoped that “one day you will understand the extent of horror you have inflicted on so many people.”

Marion Van Reeth, who lost her legs in the attack, sat before Saipov in her wheelchair, telling him: “I will never be able to walk like you can.”

As Saipov kept his head drooped and eyes lowered, listening to a translation of the proceedings through earphones, she said: “I have a question for you. After all this time in prison, are you still convinced that your criminal acts against innocent people was the right thing?”

Like others, she expressed hope that someday Saipov would see that his terrorist act was wrong.

Prosecutors urged Judge Vernon S. Broderick to impose a sentence of eight consecutive life sentences — one for each death — and an additional 260 years in prison, according to a presentence submission.

“Saipov is an unabashed terrorist — a proud murderer who deserves no leniency and should be punished to the fullest extent of the law,” prosecutors wrote.

“After months of planning a vicious terrorist attack, Saipov got what he wanted: brutal carnage of innocent people, lives and families destroyed, and terror in New York City,” they added.

Gabriela Pabla Pereya, the wife of Ariel Erlij, who was among five men from Argentina killed during a bike ride as they celebrated the 30th anniversary of their high school graduation, delivered the shortest statement during the sentencing hearing. She called Saipov a coward and said if he truly wanted God “to accept and love you, go kill yourself.”

Monica Missio, whose son, Nicholas Cleves was killed, told Saipov his death “has completely destroyed my life.”

Saipov, 35, left a path of destruction behind him with his terrorist attack.

Five tourists from Argentina, two Americans and a Belgian woman were killed, and 18 others were seriously injured.

Saipov was shot by a police officer and immediately taken into custody after emerging from his truck shouting “God is great” in Arabic and waving paintball and pellet guns in the air.

Prosecutors said he smiled as he asked FBI agents who questioned him in a hospital room after the attack if they could hang an Islamic State group flag on the walls.

At his trial, his family members urged a life sentence, saying they hoped he would realize what he had done and express remorse. They said they wanted him to return to the passive person they remembered him as before he grew obsessed with online propaganda posted by the Islamic State militant group.

A former long-haul truck driver, Saipov moved legally to the U.S. from Uzbekistan in 2010 and lived in Ohio and Florida before joining his family in Paterson, New Jersey.

His lawyer, David Patton, told jurors that his actions were “senseless, horrific, and there’s no justification for them.”