— -- Three people were killed, and two others were injured after a shooting at a UPS facility in San Francisco on 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.
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 at a news conference Wednesday.
The UPS facility is near 17th Street and San Bruno Avenue, ABC's San Francisco station KGO reported.
When police arrived, they determined that the suspect was inside the building and began evacuations, Chaplin said.
An officer located the suspect, who put a gun to his head and shot himself, according to Chaplin.
Police noted 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. The shooter's motives have 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 in 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 episode 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.
Police asked people in the area to shelter in place.
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.