New York’s new status as a “sanctuary” city means few illegal immigrants who break the law are being handed over to federal authorities for deportation.

Immigration and Customs Enforcement officials asked the city Correction Department to detain 944 inmates in city jails between October 2014 and September 2015. But the department transferred only 219 to federal custody — about 23 percent.

The law prevents the city from transferring an immigrant prisoner to ICE custody unless the feds have a warrant, or the suspect is on a terrorism watch list or has committed a violent crime, such as rape or murder.

‘It’s almost as if the City Council is more interested in protecting illegal immigrants than the safety of the very citizens they represent.’

- Staten Island Assemblywoman Nicole Malliotakis

“We’re acting within guidelines and the scope of the law,” said NYPD Lt. Chris Czark.

Before the sanctuary law, “you could be detained for any felony,” he said. “Now it’s certain felonies.”

ICE says it now focuses only on aliens who are gangsters, drug dealers, child predators or violent felons.

“These are crimes that can injure others and make our communities less safe,” said Staten Island Assemblywoman Nicole Malliotakis, who has joined several Republican legislators in pushing a bill in Albany to compel the city to comply with federal detention requests.

“It’s almost as if the City Council is more interested in protecting illegal immigrants than the safety of the very citizens they represent,” she told The Post.

The city law is making the public less safe, a former senior Homeland Security source said.

“Even though these individuals are in the country illegally, you’re waiting for them to commit a violent crime before putting them into removal proceedings and getting them out of the community,” the source said. “It tells foreign-born criminals, ‘We’re not going to enforce the law until you rape or murder someone.’”

City Council Speaker Melissa Mark-Viverito has not been moved by such arguments.

“Any suggestion that our common-sense law does otherwise is nothing more than cheap political posturing,” said her spokeswoman Amy Varghese.

Melissa Mark-ViveritoAP

Communication between ICE and the city Correction Department has been hampered under the new system.

Correction administrators used to alert ICE agents when an undocumented immigrant had arrived at a city jail. An ICE agent on site would interview the defendant in a trailer shortly after intake to determine his immigration status.

Now ICE must discover an undocumented alien by combing through computer records of newly arrested defendants.