San Bruno police say the woman who shot three people at YouTube’s headquarters before turning the gun on herself legally purchased a pistol from a dealer in San Diego in January.

Commander Geoff Caldwell said he didn’t know the total number of shots fired but said that Nasim Aghdam had swapped out a magazine and shot from the second magazine when she killed herself.

He said police found two magazines at the scene and found no other weapons.

He said the 9mm Smith & Wesson handgun was legally purchased Jan. 16 and registered in her name.

Police declined to name the firearm retailer or the local gun range where Aghdam practiced shooting before driving to YouTube Tuesday, citing the ongoing investigation.

WHAT OTHERS ARE CLICKING ON:

>>MORE STORIES