Charlotte Mayor Vi Lyles secured the Democratic nomination Tuesday for another term, prevailing in a primary that was dominated in recent days by the deadly stabbing of a Ukrainian refugee aboard a city light-rail train and the national attention the case prompted.

The election outcome was announced as federal prosecutors filed a charge against the suspect, and as rivals and national figures criticized local leaders’ responses to the killing. Decarlos Brown Jr., who was arrested soon after the attack, has been charged by the U.S. Department of Justice with committing an act causing death on a mass transportation system, while local police continue to pursue state charges including first-degree murder.

The victim, identified as Iryna Zarutska, was a Ukrainian immigrant who had fled the war in her homeland. Video of the August attack aboard a Charlotte light rail car quickly circulated online and drew national attention. Police records show Brown was arrested 14 times over the past 12 years, and prosecutors have cited his history of mental illness in charging documents.

Lyles, Charlotte’s first Black woman mayor, defeated four lesser-known Democratic challengers to win her party’s nomination and will face Republican nominee Terrie Donovan in the November general election in a city that generally favors Democrats. Donovan, a real-estate agent, had already made public safety a central theme of her campaign before the killing drew national scrutiny.

The stabbing reignited a broader political debate over crime in Democratic-run cities. President Donald Trump, speaking about the case on Monday, faulted Democrats broadly for what he described as an unwillingness to keep "bad people" off the streets, and he singled out former North Carolina Gov. Roy Cooper — now a Senate candidate — in criticizing local and state leaders. Local critics and some rival candidates said Lyles’ initial public response to the slaying was insufficient.

One opponent in the Democratic primary, Tigress Sydney Acute McDaniel, said Lyles’ response was a "day late and a dollar short." Lyles and her campaign emphasized her record on public safety initiatives and noted the city’s recent investments in policing and social services aimed at addressing crime and mental-health issues.

Federal and state authorities have both pursued legal action in the case. The Department of Justice’s charge under federal transportation statutes was announced after Brown’s state arrest, reflecting the incident’s occurrence on a mass-transit system and the federal government’s growing involvement in high-profile urban crimes. Prosecutors have said investigators are continuing to gather evidence and have not released full details of the motive.

Charlotte officials have said the case has prompted a review of transit security and mental-health resources tied to the criminal-justice system. City leaders and law-enforcement officials have described steps to increase patrols and to assess safety measures on light-rail vehicles and at stations.

Charlotte light rail scene

The primary result cements Lyles’ place on the ballot in a city where Democrats hold a substantial registration advantage. The general election will test whether local concerns about violent crime — amplified by a graphic, widely shared video and national commentary — alter voter behavior in a jurisdiction that has favored Democratic mayors and council members for years.

Campaigns for both parties said they will continue to press their case to voters in the weeks ahead, focusing on public safety, mental-health services and urban policy. The case remains under active investigation by local police and federal authorities, and court proceedings are expected to follow on the charges announced this week.