Ahmad Al Aliwi Alissa, who killed 10 people in the mass shooting in 2021, had argued that he was not guilty by reason of insanity.
The defendant, Muhammad Syed, pleaded no contest to two murder charges. But his motive remains unknown.
The prosecution of Ryan Londregan, a white Minnesota state trooper who fatally shot a Black motorist last year, sparked rare bipartisan outrage.