SAN JOSE, Calif. — Police are investigating a shooting at a San Jose State University parking garage on Tuesday night that left three people dead, including the suspected gunman, as a murder-suicide, authorities said.

The victims and suspect in the shooting knew each other, and the shooting was not random, university police Sgt. Manuel Aguayo said Wednesday.

Investigators have not released a possible motive or said whether the victims and suspect were students at the school. It was not gang-related, Aguayo said.

Students on the rest of the Northern California campus were never in danger, according to school officials.

Campus and city police were alerted to the shooting on the fifth floor of the campus’s main garage just after 8:30 p.m., Aguayo said. The six-story structure also houses the school’s student services center.

Two people were pronounced dead at the scene. The third died at Santa Clara County Valley Medical Center.

The victims’ identities have not been released pending notification of next of family. The weapon used was recovered at the scene, Aguayo said.

“I’m just surprised it happened here,” Josh Tullo, 30, a senior, told the San Jose Mercury News. “I never thought it would happen at this school.”