(CNN) -- Two people were killed and another critically injured Thursday night when a woman, who had been suspended just minutes earlier from her job at a Pennsylvania Kraft Foods plant, barged back in and opened fire, police said.
Police took the shooter into custody after officers with the SWAT team stormed the plant, said Philadelphia Police Commissioner Charles Ramsey.
Police did not release the shooter's name. But the woman had worked at Kraft for 15 years, Ramsey said.
She had been suspended from the plant and escorted out of the premises just nine minutes before the shooting, police said.
The woman returned -- driving her car through a fence barrier -- and entered the building carrying a .357 Magnum revolver, Ramsey said.
She went to the third floor mixing room where she encountered the three employees she shot before proceeding to the second floor, he said.
Philadelphia SWAT found her on the second floor where she surrendered.
Workers trapped in a side room called police and told them her location, Ramsey said.
About 100 people were working at the plant and at least seven employees were hiding in the area where the suspect was when police stormed the plant, he said.
The woman shot at police at least one time, trying to shoot through a wall, Ramsey said. No officers were injured.
Officials withheld the victims' identities until their families were notified.
Kraft officials released a statement about the incident early Friday.
"This is a tragic loss for all of us. To assist our employees, we will be providing counseling services at the facility," part of the statement said.
CNN's Susan Candiotti contributed to this report.