The union for San Francisco sheriff's deputies reportedly is taking on Sheriff Ross Mirkarimi over the release of an illegal immigrant now charged with the murder of a young woman -- filing a complaint that slams a department policy barring communication with federal agents.

The San Francisco Chronicle reports that the complaint links Kathryn Steinle's murder to a March memo that prohibited deputies from giving information about prisoners to immigration agents. The grievance, according to the newspaper, said the policy "recklessly compromises the safety of sworn personnel, citizens, and those who merely come to visit the San Francisco area."

Steinle's killing, allegedly by illegal immigrant Francisco Sanchez, has prompted a round of finger-pointing in San Francisco, a so-called sanctuary city. Sanchez, who had a lengthy felony record and already had been deported five times, was turned over to San Francisco by the feds in March on an old, outstanding warrant -- but the sheriff's office freed him the next month. Federal immigration officials say they asked to be notified prior to his release, but they were not.

Mirkarimi, in defending the decision, has suggested he was following a 2013 city policy, which only allows certain violent offenders to be held for deportation.

But San Francisco Mayor Ed Lee and others have said Mirkarimi's department still could have contacted immigration officials.

"Do we need to educate somebody on how to pick up the phone?" Lee said, according to the Chronicle.

Immigration and Customs Enforcement said in a statement earlier this month: "We're not asking local law enforcement to do our job ... all we're asking is that they notify us when a serious foreign national criminal offender is being released to the street so we can arrange to take custody."