Virginia Beach Police Chief James Cervera said officers were able to locate the suspect inside the building due to the sound of gunfire.
Four officers arrived to building, which houses public works, public utility and a printing operation, and heard the gunshots, the chief said at the news conference.
“They immediately engaged with the suspect, and I can tell you that it was a long gun battle between those four officers and that suspect,” Cervera said.
He said officers recovered a .45 caliber handgun, with multiple extended magazines that were emptied at the time.
The chief went on to say the suspect was reloading the extended magazines in that handgun, firing at the victims in the building and at officers.
“I want you to know that during this gun battle, basically the officers stopped this individual from committing more carnage in that building,” Cervera said.