BOULDER, Colo. >> A mentally ill man who killed 10 people at a Colorado supermarket in 2021 was sentenced Monday to life in prison for murder after a jury rejected his attempt to avoid prison time by pleading not guilty by reason of insanity.

Victims’ relatives recounted in pained testimony the lives gunman Ahmad Alissa destroyed in the 2021 attack in the college town of Boulder.

“To the person that’s done this, we hope that you suffer for the rest of your life. You are a coward,” said Nikolena Stanisic, whose only sibling, Neven, was killed. “I hope this haunts the defendant until the end of time. The defendant deserves the absolute worst.”

She recalled going out to ice cream with her brother the night before he was shot and how he would sometimes help her with bills. Their household — once filled with talk and laughter — is now mostly silent, she told the court.

Defense attorneys did not dispute that Alissa, who has schizophrenia, fatally shot 10 people, including a police officer. But the defense argued he was insane at the time of the attack and couldn’t tell right from wrong.

In addition to 10 counts of first-degree murder, the jury found Alissa guilty on 38 charges of attempted murder, one count of assault,and six counts of possessing illegal, large-capacity magazines.

Judge Ingrid Bakke sentenced him to 10 consecutive life sentences without the possibility for murder and an additional 1,334 years in prison for the additional charges.

“This was not about mental illness. This was about brutal, intentional violence,” District Attorney Michael Dougherty said.

Alissa and his attorneys declined an opportunity to speak during his sentencing.

The courtroom was packed largely with victims’ families and police officers, including those Alissa shot at. Several members of Alissa’s family sat just behind him.

Alissa started shooting immediately after getting out of his car in a King Soopers store parking lot in March 2021. He killed most victims in just over a minute and surrendered after an officer shot him in the leg.

The daughter of slain Officer Eric Talley lamented the life milestones they would not be able to share. Madeline Talley and her mother said they would not hold onto bitterness, extending their forgiveness to Alissa.

“He taught me to believe that God brings good out of evil,” Madeline Talley said of her father.

Others weren’t ready to forgive. Robert Olds — whose niece, Rikki, was killed — said Alissa’s family should have been held criminally responsible because their “ignorance, inattentiveness and inaction” led directly to the attack.

Alissa did not visibly react as the guilty verdicts were read. During the sentencing part of the hearing, he looked at times toward the victims’ relatives as they spoke, but for much of the time sat hunched over, talking to his attorney or writing.

Defense attorneys declined to comment after the sentencing.

Prosecutors had to prove Alissa was sane. They argued he didn’t fire randomly and showed an ability to make decisions by pursuing people who were running and trying to hide from him. He twice passed by a 91-year-old man who continued to shop, unaware of the shooting.

He came armed with steel-piercing bullets and illegal magazines that can hold 30 rounds of ammunition, which prosecutors said showed he took deliberate steps to make the attack as deadly as possible.

Several members of Alissa’s family, who immigrated to the United States from Syria, testified that he had become withdrawn and spoke less a few years before the shooting. He later began acting paranoid and showed signs of hearing voices, they said, and his condition worsened after he got COVID-19 in late 2020.