UPDATE: Twelve people were killed and five injured Friday afternoon after a shooter opened fire at the Virginia Beach Municipal Center in Virginia, officials said.

Responding officers shot the suspect, a longtime city engineer named DeWayne Craddock, who also later died, Virginia Beach police Chief James A. Cervera said. The suspect entered the building Friday afternoon with his security pass, like any other employee.

All of those killed were city employees except for one person, a contractor, who was at the municipal center to get a permit, Cervara said.

The victims were found on three different office floors, the chief said. "It's a horrific crime scene," he said Saturday morning at a press conference

Among the injured was an officer who was shot by the man and was expected to recover, authorities said.

"He was saved by his vest," the police chief said, later adding: "He was attended to at the scene" before being transported to a hospital.

Four of those injured remained hospitalized in serious condition on Saturday morning, Cervera said.

The suspect, who had worked for the city for about 15 years as an engineer recently purchased multiple firearms legally, a federal official told NBC News. Cervera said the shooter used a semiautomatic handgun and had multiple extended magazines. He also had a suppressor that muffles the sound of gunfire.

Investigators recovered additional weapons at the scene and at the suspect's home, Cervera said.

The chief at a press conference Saturday morning declined to discuss a possible motive yet.

Mayor Bobby Dyer said, "This is the most devastating day in the history of Virginia Beach."

Officials initially said 11 victims were killed by the shooter but a 12th victim died later either en route or at a hospital, Cervera said.

He said four officers initially responded, and "I can tell you it was a long gun battle between those four officers and that suspect."

Authorities identified the deceased victims Saturday as City of Virginia Beach employees: Katherine A. Nixon, Richard H. Nettleton, Laquita C. Brown, Tara Welch Gallagher, Alexander Mikhail Gusev, Christopher Kelly Rapp, Ryan Keith Cox, Joshua A. Hardy, Michelle "Missy" Langer and Robert "Bobby" Williams.

Herbert "Bert" Snelling, a contractor, was also killed in the shooting, authorities said.

Meghan Banton, a city utility worker, told NBC News affiliate WAVY, "We just heard people yelling and screaming to get down. I was on the phone with 911."

The shooting occurred in a building that houses public works, public utilities, communications and other departments.

President Trump and House Speaker Nancy Pelosi each commented on the massacre Saturday morning.

The president tweeted that he had called the Virginia governor and the mayor and vice mayor of Virginia Beach to offer condolences. "The Federal Government is there, and will be, for whatever they may need," Trump wrote.

Pelosi, a California Democrat, said in a statement, “The American people share the grief of the entire Virginia Beach community." She called on the U.S. Senate to bring to a vote "commonsense, bipartisan gun violence prevention legislation" that has been passed by the House.

Virginia Gov. Ralph Northam told reporters Friday evening, "Our thoughts are for these victims and their families. And we're one with our law enforcement, our first responders, the hospital, and making sure that we're taking care of everybody right now."

Native son Pharrell Williams tweeted, "We are praying for our city, the lives that were lost, their families and everyone affected. We are resilient.We will not only get through this but we’ll come out of this stronger than before we always do."

PREVIOUS UPDATE: Virginia Beach police say they believe there’s only one shooter, and that person has been taken into custody. They say multiple people have been injured. There’s no word on the extent of the victims’ injuries at this time.

Nearby Sentara Princess Anne Hospital has been placed on lockdown in the meantime. Police are asking the public to avoid the area. Stay with WAVY for updates.

City Manager Dave Hansen confirmed there is an active shooter situation at the Virginia Beach Municipal Center. He says the suspect hasn’t been apprehended, and he’s seen people coming out of the city’s public utilities department in need of medical treatment.

As WAVY’s Tamara Scott was reporting live, an injured person was being carried in the back of a car surrounding by police, heading toward an ambulance. Moments later, two other victims were being carried in the back of a pickup truck.

PREVIOUS STORY: VIRGINIA BEACH, Va. (WAVY) — Authorities are responding to a possible active shooter situation at the Virginia Beach Municipal Center on Friday afternoon.

Tonya Pierce with Virginia Beach police says there’s is an active scene at building 2 at the center off of Nimmo Parkway.

An employee who works in the building told WAVY’s Tamara Scott that he and several other people were able to safely leave the building after reports of an active shooter. He says he found a woman inside a stairwell covered in blood.

Multiple police units have responded. The center is next to both the Virginia Police Department headquarters and the Virginia Beach Sheriff’s Office, as well as several other government buildings.

There no other details at the moment, but WAVY’s Tamara Scott is at the scene. Stay with WAVY.com for updates on this breaking news.

PREVIOUS STORY: VIRGINIA BEACH, Va. (AP) - Police in Virginia Beach say a shooting at a municipal center has left multiple people wounded. They say a suspect has been taken into custody after Friday afternoon's shooting and they believe there was only one shooter.

There was no immediate word on the extent of injuries.

Copyright 2019 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.