(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.