CNN  — 

Ten people, including a Boulder police officer, were killed in mass shooting at a supermarket in Boulder, Colorado, authorities said Monday.

A suspect is in custody, Boulder Police Chief Maris Herold said.

The chief said Officer Eric Talley, who was 51 and had been with the department since 2010, was killed. He was one of the first officers at the scene, she said.

Herold said that about 2:30 p.m. MT (4:30 ET) police received calls about shots fired and a person with a “patrol rifle.” One senior law enforcement source told CNN the weapon used in the shooting was an AR-15-style rifle.

LIVE UPDATES

The Boulder police had tweeted about 2:49 p.m. (4:49 p.m. ET) that there was an “Active Shooter at the King Soopers on Table Mesa. AVOID THE AREA.”

As events unfolded, CNN affiliate KMGH’s helicopter recorded a shirtless man being taken from the supermarket. The man had what appeared to be blood on his arm and right leg and his hands appeared to be cuffed behind him as two officers escorted him away. The man was taken away in an ambulance.

It was unclear whether the man was involved in the reported active shooting inside the store.

The shopping center was still an active crime scene hours after the shooting with a massive police presence.

At one point, police officials tweeted they wanted people at another location, about three miles away, to shelter in place because of a “report of armed, dangerous individual.” But it turned out the second site was not connected to the supermarket shooting, officials said.

Some of the shooting was livestreamed by witness

Video taken by an eyewitness to the supermarket shooting appeared to show motionless individuals on the ground inside and outside the store, and purported gunshots are heard.

The video, taken by Dean Schiller, is part of a longer livestream that he showed as the shooting progressed, and police arrived.

Law enforcement officers escort people out of King Soopers grocery store in southern Boulder.

In the excerpt, Schiller is heard calling out saying that people need to call 911.

“We don’t know if there’s a shooter, active shooter somewhere,” Schiller says in the video.

Asking what appears to be a store employee whether a shooter went into the store, the man responds, “Yeah, he went in there.”

“He went in the store?” Schiller questioned the man.

“He went right down there,” the man responds.

“Oh, my God,” Schiller reacts. “Guys, we got people down inside Kings Soopers.”

Schiller then says, “Look there’s – ” but doesn’t finish his sentence as two gunshots stop his speaking.

Authorities have not said how many victims were at the scene.

Couple hears shots and flees through emergency door

A young man and woman described being in the store when they heard the first shots. The man told KMGH he heard one gunshot and then a few seconds later several more bangs.

“I immediately sprinted over to her and we got out of here and pushed open the emergency door,” said the man.

He said he went back to stand by an emergency exit door and help people get out. He said he never saw the shooter.

There was a large police presence outside the store.

Ryan Borowski told CNN he was shopping at the store when he heard the first shots, and by the third one, everyone was running. He said he couldn’t believe it happened in his town.

“Boulder feels like a bubble, and the bubble burst,” Borowski said. “This feels like the safest spot in America, and I just nearly got killed for getting a soda and a bag of chips.”

Large law enforcement presence at the store

Ambulances and multiple law enforcement agencies responded to the store, which is part of a large shopping center with a two-story strip mall next door.

KMGH’s helicopter recorded police leading several people away from the store.

At one point, police were also seen moving on the roof of the store. The reason for the roof movements was unclear, but one witness who spoke to CNN affiiate KCNC said his relatives in the store were evacuated through the roof.

“They hid, ran upstairs, were hiding in a coat closet for the last hour,” the man said. “Half a dozen cops came in through the roof and got them and then told them, you know, ‘Stay quiet.’”

Police were also seen looking in cars in the parking lot.

Gov. Jared Polis tweeted that he was aware of the situation.

“Like my fellow Coloradans, I am closely watching unfolding events at King Soopers in Boulder,” Polis wrote. “My prayers are with our fellow Coloradans in this time of sadness and grief as we learn more about the extent of the tragedy.”

King Soopers is a supermarket brand of Kroger in the Rocky Mountain area of the United States.

Kroger said in a statement that it is “horrified and deeply saddened by the senseless violence” that occurred at their store.

“The entire Kroger family offers our thoughts, prayers and support to our associates, customers, and the first responders who so bravely responded to this tragic situation,” the company said via its verified Twitter account.

The store will remain closed during the police investigation, Kroger said while referring further questions to the Boulder Police Department.

Local 7, the King Soopers employee union, said on Twitter that they are “closely monitoring the unfolding events” from Monday afternoon, and praying for the workers and shoppers, including 32 of their members who work at the Boulder store.

CNN’s Deanna Hackney, Keith Allen, Jamiel Lynch and Jeremy Harlan contributed to this report.