Three people were killed and two more were injured after a shooting at a UPS facility in San Francisco Wednesday morning, according to police.
The alleged shooter, later identified as 38-year-old Jimmy Lam of San Francisco, died on the scene from a self-inflicted gunshot wound, police said.
In total, the gunman shot six people, including himself. Five people were injured while trying to escape, according to police.
Police responded to the shooting around 8:55 a.m., San Francisco Police Assistant Chief Toney Chaplin said in a news conference Wednesday.
The UPS facility is located near 17th Street and San Bruno Avenue, ABC San Francisco affiliate KGO reported.
When police arrived, they determined that the suspect was inside the building and began evacuations, Chaplin said.
An officer then located the suspect, who put the gun to his head and shot himself, according to Chaplin.
Police note that no officers fired a weapon in responding to the call.
Two firearms were recovered at the scene, Chaplin said. It is unclear if any of the victims were targeted, but Chaplin said he does not believe the case to be linked to terrorism. A motive has not yet been determined.
Police have not released the identities of the victims. The suspect was dressed in a UPS uniform, but police have not confirmed that he is a UPS employee, Chaplin said.
Investigators are interviewing "dozens and dozens" of witnesses who were inside of the building, Chaplin said. Several people who were on site at the time of the shooting are not UPS employees, he added.
UPS confirmed in a statement that there was an incident involving employees Wednesday morning. The company said it was cooperating with law enforcement. The facility is an area package sorting hub and package delivery center, UPS said.
Our thoughts are with those affected by today's tragic incident at a UPS facility in San Francisco. https://t.co/4XC32AoLFn
— UPS (@UPS) June 14, 2017
Police asked people in the area to shelter in place.
— San Francisco Police (@SFPD) June 14, 2017
Agents from the Bureau of Alcohol, Tobacco, Firearms and Explosives also responded to the scene.
ABC News' Michael Kreisel and Alex Stone contributed to this report.