CNN  — 

A 19-year-old man was in custody after a shooting at a California synagogue on the last day of Passover left at least one person dead and several others wounded, the city’s mayor said Saturday.

The shooting occurred at Congregation Chabad in Poway, north of San Diego, Poway Mayor Steve Vaus said. He described it as a possible hate crime.

President Donald Trump, speaking outside the White House Saturday, told reporters, “At this moment it looks like a hate crime, but my deepest sympathies to all of those affected and we’ll get to the bottom of it.”

The Palomar Medical Center Poway received four patients from the shooting, according to a trauma surgeon.

One patient, a 60-year-old woman, died at the hospital, Dr. Michael Katz said. An employee of the synagogue identified the dead woman as Lori Kaye.

“The other three victims are doing well with their injuries,” he told reporters.

A 57-year-old rabbi who was shot suffered what looked like defensive wounds to both of his index fingers. He will likely lose his right index finger, the doctor said.

A 34-year-old man and a girl had shrapnel injuries. The girl, whose age was not given, was wounded in one leg and in the face. She was transferred to a children’s hospital and will be monitored overnight.

Vaus said he considered it a hate crime “because of statements that were made when the shooter entered.”

San Diego County Sheriff Bill Gore later identified the suspect as John Earnest, of San Diego. Authorities are investigating to see whether Earnest is connected to arson at a mosque in nearby Escondido from last month, he said.

The mayor said the congregation was targeted by “someone with hate in their heart … towards our Jewish community and that just will not stand.” The congregation “took security very seriously,” he said.

Gore told reporters that the gunman was armed with an “AR-type assault weapon.”

Authorities said an off-duty Border Patrol agent fired at the shooter as he was fleeing the scene, but didn’t hit the suspect. Gore said it appears the agent, who the sheriff thinks is a security guard, hit the suspect’s car. It is unclear why the suspect fled but it is possible his gun might have malfunctioned, the sheriff added.

The suspect fled the scene and called 911 to say he was involved and give his location, San Diego Police Chief David Nisleit said. A San Diego K-9 officer arrived and the shooter surrendered without incident, he said.

Gore said the suspect was being interviewed by detectives and the FBI.

The sheriff refused comment on a motive.

“I want you to know this is not Poway,” Vaus told reporters.

The sheriff’s department announced later that authorities believe the shooter acted alone.

Rabbi, while wounded, calls for unity

Congregation member Minoo Anvari, who said her husband witnessed the shooting, said the rabbi called for unity and prayed for peace even after getting shot.