Facebook/Liz Sullivan
Now playing
02:40
Steinle family: Kate's law is part of her legacy
undocumented immigrant pleads not guilty san francisco murder sidner dnt erin _00000123.jpg
undocumented immigrant pleads not guilty san francisco murder sidner dnt erin _00000123.jpg
Now playing
03:17
Murder suspect had been deported five times
On July, 1, 2015 at approximately 6:30 PM, San Francisco Police Officers responded to a call of a shooting that occurred on Pier 14 (located on Embarcadero and Mission). Upon arrival Officers discovered a 31 year old Kate Steinle suffering from a gunshot wound to her upper torso. With the help of a Good Samaritan, Officers quickly rendered aid to the victim until paramedics arrived on scene. The victim was immediately transported to San Francisco General Hospital where she tragically succumbed to her injuries.
Facebook/SFPD
On July, 1, 2015 at approximately 6:30 PM, San Francisco Police Officers responded to a call of a shooting that occurred on Pier 14 (located on Embarcadero and Mission). Upon arrival Officers discovered a 31 year old Kate Steinle suffering from a gunshot wound to her upper torso. With the help of a Good Samaritan, Officers quickly rendered aid to the victim until paramedics arrived on scene. The victim was immediately transported to San Francisco General Hospital where she tragically succumbed to her injuries.
Now playing
01:43
Source: Gun used in pier shooting belonged to federal agent
undocumented immigrant pleads not guilty san francisco murder sidner dnt erin _00000123.jpg
undocumented immigrant pleads not guilty san francisco murder sidner dnt erin _00000123.jpg
Now playing
02:45
San Francisco shooting suspect pleads not guilty
marilyn pharis immigrant ganim dnt_00000313.jpg
Family Photo
marilyn pharis immigrant ganim dnt_00000313.jpg
Now playing
02:19
Police chief blames immigration policy for murder
san francisco kathryn steinle brother bpr ac _00002919.jpg
Steinle family photo
san francisco kathryn steinle brother bpr ac _00002919.jpg
Now playing
04:23
Brother of victim: 'I was lucky to have her as a sister'
On July, 1, 2015 at approximately 6:30 PM, San Francisco Police Officers responded to a call of a shooting that occurred on Pier 14 (located on Embarcadero and Mission). Upon arrival Officers discovered a 31 year old Kate Steinle suffering from a gunshot wound to her upper torso. With the help of a Good Samaritan, Officers quickly rendered aid to the victim until paramedics arrived on scene. The victim was immediately transported to San Francisco General Hospital where she tragically succumbed to her injuries.
Facebook/SFPD
On July, 1, 2015 at approximately 6:30 PM, San Francisco Police Officers responded to a call of a shooting that occurred on Pier 14 (located on Embarcadero and Mission). Upon arrival Officers discovered a 31 year old Kate Steinle suffering from a gunshot wound to her upper torso. With the help of a Good Samaritan, Officers quickly rendered aid to the victim until paramedics arrived on scene. The victim was immediately transported to San Francisco General Hospital where she tragically succumbed to her injuries.
Now playing
02:30
Did 'sanctuary city' policy play role in killing?
kosik san francisco shooting intvw nr_00004226.jpg
kosik san francisco shooting intvw nr_00004226.jpg
Now playing
02:28
Officials: Suspected killer had been deported 5 times
Francisco Sanchez
San Francisco Police Department
Francisco Sanchez
Now playing
01:09
Suspect in San Francisco killing has been deported before
SF murder sanctuary policy ICE customs immigration Lead interview_00002517.jpg
SF murder sanctuary policy ICE customs immigration Lead interview_00002517.jpg
Now playing
03:01
Why didn't SF tell ICE about murder suspect?
san francisco killing gun lah dnt erin_00000206.jpg
KRON
san francisco killing gun lah dnt erin_00000206.jpg
Now playing
01:58
How did the shooter get the gun?

Story highlights

A magistrate dismisses claims against San Francisco, former sheriff

A lawsuit against the Bureau of Land Management can continue, he says

(CNN) —  

The family of a woman allegedly killed by an undocumented immigrant who’d recently been released from jail can’t sue San Francisco over its sanctuary policy, according to a recent court ruling.

Kate Steinle’s shooting death in 2015 sparked national debate over so-called sanctuary cities and became a rallying cry for Donald Trump on the campaign trail.

Juan Francisco Lopez-Sanchez, an undocumented immigrant and repeat felon from Mexico who’d been deported five times, is accused of shooting Steinle, a 32-year-old medical device sales rep, as she walked on a San Francisco pier.

In a federal wrongful death lawsuit, Steinle’s parents had argued that San Francisco and its former sheriff were partly to blame, because officials never notified Immigration and Customs Enforcement when Lopez-Sanchez was released from a local jail in April 2015.

“Kate’s death was both foreseeable and preventable had the law enforcement agencies, officials and/or officers involved simply followed the laws, regulations and/or procedures which they swore to uphold,” the lawsuit said.

Trump’s plan to deport criminals won’t be easy; just ask Obama

Judge: Law didn’t require notifying ICE

In a ruling issued Friday, Magistrate Judge Joseph C. Spero dismissed the family’s claims against San Francisco and former Sheriff Ross Mirkarimi.

“No law required the Sheriff’s Department to share Lopez-Sanchez’s release date with ICE, nor did any law forbid Mirkarimi establishing a policy against such cooperation,” Spero wrote.

The magistrate also dismissed the family’s claim against ICE.

But he ruled that the family’s lawsuit accusing the Bureau of Land Management of negligence can proceed.

Authorities said the gun the shooter used had been stolen from a Bureau of Land Management agent’s unattended vehicle.

A spokesman for the US attorney’s office declined to comment on pending litigation. Federal attorneys have argued the Bureau of Land Management shouldn’t be held liable for crimes committed with the gun after it was stolen.

City: We’re not liable for former inmate’s actions

In a statement released by its attorney, the city said it is grieving for the Steinle family.

“But the issue that was before the court was whether the city and its taxpayers could be held liable for the actions of a former inmate. Under well-established case law, they can’t. The court’s ruling reflected that,” the statement said. “Kathryn Steinle’s death was senseless, and our thoughts are with her family.”

Attorneys for Steinle’s family did not immediately respond to a request for comment.

What the immigration battle could look like under Trump

Criminal trial set for next month

Lopez-Sanchez faces murder and weapons charges. He’s pleaded not guilty.

His trial is scheduled to begin next month.

Sanctuary cities – a controversial term that supporters don’t like – generally have policies or laws that limit how much local law enforcement and government agencies can work with federal authorities on immigration matters. Some counties and states have similar policies. There’s no legal or unified definition for these places.

What’s a ‘sanctuary city,’ and why should you care?

More than 200 state and local jurisdictions have policies against honoring ICE detention requests, according to the agency’s director.

CNNMoney’s Tami Luhby contributed to this report.