Carlos Carranza, 24, is accused of stalking 59-year-old Bambi Larson then stabbing and beating her to death inside her home

Newly released documents reportedly prove that a California county's sanctuary policy saved a homeless illegal immigrant from being deported mere months before he allegedly murdered a 59-year-old mother.

The October 9, 2018 detainer notice from the Department of Homeland Security (DHS), obtained by Fox News states that Carlos Eduardo Arevalo Carranza, 24, was to be deported.

But the following day, another document was stamped with a notice that stated that the request was 'NOT HONORED PER COUNTY POLICY.'

That document was sent to Santa Clara County.

Four months later, Carranza, 24, stalked Bambi Larson before beating and stabbing her to death in her home, police say.

The immigrant from El Salvador had been on the radar of Immigration and Customs Enforcement since 2013, when he failed to show up in immigration court.

The county's policy on detainer requests states that it will 'exercise its discretion to honor the request' if it finds that the detainee is convicted of a serious or violent felony offense.

Officials in the Northern California city of San Jose have since criticized such so-called 'sanctuary policies' they say prevented federal authorities from detaining a gang member in the country illegally before he allegedly killed the woman.

Arevalo Carranza, who was homeless and had several convictions for felony offenses, was arrested Monday night in the February 28 killing of Larson, 59, a manager at medical testing company Roche Sequencing Solutions in San Jose.

A self-admitted gang member, he has a long criminal history in the San Francisco Bay Area and Los Angeles spanning five years. He was on probation for the possession of methamphetamine, paraphernalia, false imprisonment and burglary, Garcia said.

Police say Carranza was arrested at least ten times before he killed Ms Larson (pictured), but San Jose county officials ignored requests from ICE to investigate his immigration status

San Jose Mayor Sam Liccardo said Wednesday it's time for Santa Clara County officials to reconsider a policy that ignores federal hold requests for predatory felons.

He said he has been urging county officials to treat violent criminals in the country illegally differently from the rest of those who entered the U.S. without legal permission.

'We're not asking the county to detain anyone a minute longer than the law and the constitution allow,' Liccardo said. 'We simply want them to pick up the phone and tell ICE so that the violent felon is not released back into our streets,' he added.

Garcia revealed that ICE had applied nine times for a detainer on Carranza, a move which allows suspects to be held longer than their prison term so their immigration status can be investigated by federal officials.

All nine requests had been ignored by county officials, ICE field director Erik Bonnar said, allowing Carranza to be freed so he could offend again.

Carranza was asked to be detained by immigration officials, documents provided to Fox News suggest but the request was denied citing county policies

The county's policy on detainer requests states that it will 'exercise its discretion to honor the request' if it finds that the detainee is convicted of a serious or violent felony offense

ICE applied for a tenth detainer on Tuesday, following Carranza's latest arrest.

Bonnar told CBS San Francisco: 'How many more people have to be killed or injured before California lawmakers will open discussions to revise the state policy prohibiting local law enforcement agencies from working with ICE to apprehend dangerous criminal aliens?

'It's unfortunate that our communities face dangerous consequences because of inflexible state laws that protect criminal aliens.

'These sanctuary policies have unintended, but very real, and often tragic consequences to public safety.'

San Jose Police Officers' Association echoed those remarks, saying: 'When it comes to policing, there's a distinct difference between a Dreamer who commits a victimless crime and a violent serial sexual predator with multiple offenses.

'Our society must recognize there's a difference between someone who is trying to make ends meet for their family, and a self-admitted gang member, a monster who brutally murders an innocent woman in her own home.'

Garcia, the police chief, also criticized Santa Clara County's policy during the news conference announcing Arevalo Carranza's arrest.

'We're not here, nor should we be here, to shield admitted gangsters and violent criminals regardless of their immigration status,' Garcia said.

Garcia also revealed Carranza's lengthy criminal history, which began in 2013 when he was arrested crossing the border illegally in Texas and deported back to Mexico.

Larson was found dead on February 28 by her son, who she worked with, after she failed to turn up to her job as a systems manager

That was followed by ten arrests and at least three convictions for offences ranging from drug possession to battery, false imprisonment and burglary.

Santa Clara County Supervisor Dave Cortese said in a statement that the county cannot hold immigration suspects for ICE without a warrant or a judicial order unless the person is currently charged with a crime.

He said the county has for many years provided ICE with real-time local and state-level data on who is in custody and when they will be released.

'Despite having this information, ICE does not show up to take custody in a timely manner to avoid release into the community,' Cortese said.

Cortese didn't address the Arevalo Carranza case in his statement, saying he had little information on him.

Larson was found dead on February 28 by her son, who she worked with, after she failed to turn up to her job as a systems manager.

The son went over to her house around 1.45pm and discovered her body in her bedroom, suffering from multiple lacerations and blunt force trauma.

CCTV led them to a t-shirt outside the home which had both her blood and DNA from her attacker on it.

Carranza was arrested on unrelated drug charges on March 10 and a DNA sample was taken, which matched the DNA on the t-shirt.

He was rearrested the following day when police say they found Larson's cellphone and e-reader in his possession.