SAN JOSE, Calif. — San Jose Bishop Oscar Cantú urged prayers for the victims and their families after a gunman opened fired the morning of May 26 at a rail yard operated by the Santa Clara Valley Transportation Authority, or VTA, north of downtown San Jose.

At least nine people were dead and several others injured by the shooter, who was later identified by law enforcement as VTA employee Samuel Cassidy, 57.

"May God comfort their families and loved ones and bring healing," the bishop tweeted. "Pray also for all the first responders and law enforcement officers. May shock & grief give way to healing and grace, as we work together to protect the innocent and prevent such senseless acts in the future, so that peace may prevail in our hearts and communities."

Law enforcement officials said seven victims died at the scene and one at Santa Clara Valley Medical Center in San Jose. The gunman also died at the scene.

"This is a horrific day for our city, and it's a tragic day for the VTA family," San Jose Mayor Sam Liccardo said. "Our heart pains for the families and the co-workers because we know that so many are feeling deeply this loss of their loved ones and their friends."

NBC-TV Bay Area reported that at about 6:35 a.m., San Jose police received multiple 911 calls about gunfire at the VTA yard, and dozens of San Jose police and Santa Clara County sheriff's vehicles responded to the scene.

Sheriff's officials confirmed at about 8:10 a.m. that the shooter was dead, and late in the afternoon confirmed he died from a self-inflicted gunshot wound.

Several law enforcement agencies also went to Cassidy's home in San Jose to conduct a search. A fire had been set at the home early in the morning, but whether it was set before the shooting was being investigated, according to NBC-TV said. Technicians with the San Jose Police Department's bomb squad were searching the suspect's home as well as the VTA building at the rail yard.

There was no information yet on Cassidy's motive, police said.