Ten people have been killed in a shooting at a supermarket in Boulder, Colorado, including a police officer who was first on the scene.
Eric Talley, 51, was named as the officer killed at the King Soopers store on Monday afternoon.
He went to the supermarket following a call about shots fired by someone with a rifle, said Boulder police chief Maris Herold.
A suspect was arrested but no word has been given on a possible motive.
Boulder Police Department tweeted their respects to the killed police officer, who had been with the force since 2010.
The tweet said: “Rest In peace Officer Eric Talley. Your service will never be forgotten.”
Boulder County district attorney Michael Dougherty said Mr Talley “was by all accounts one of the outstanding officers” of the police department.
He described the incident as a “nightmare”, adding: “These were people going about their day, doing their shopping. I promise the victims and the people of the state of Colorado that we will secure justice.”
On witness inside the store who live streamed video on YouTube, Dean Schiller, said he had seen three victims but was unsure on their condition.
Another witness, Sarah Moonshadow, 42, said she had heard shots as she and her son Nicholas reached the checkout.
She recounted seeing “someone laying in the road” as she and her son escaped the store.
Ms Moonshadow added: “And I tried to run towards him, and Nicholas pulled me away and he said, ‘We have to go.’ And we just ran and hid behind the building.”
Video from the scene showed a shirtless, bearded man in boxer shorts being led away from the store in handcuffs.
SWAT teams and at least three helicopters were sent to Boulder – about 28 miles north of central Denver – after the shooting started at around 3pm.
Identities of the other nine victims have not yet been disclosed as police were still notifying their families.
Colorado governor Jared Polis tweeted to say he was devastated by the incident.
He said: “My heart is breaking as we watch this unspeakable event unfold in our Boulder community.”
Mr Polis said the state was “making every public safety resource available” to help the city’s police.
White House press secretary Jen Psaki tweeted that President Joe Biden had been briefed on the incident.
The attack was the seventh mass killing this year in the US. It comes less than a week after eight people were murdered, including six Asian women, in shootings at massage parlours in and around Atlanta, Georgia.