A Cambodian refugee who drew support from immigrant groups was released Monday from a California prison after being granted parole in a murder case, then immediately turned over to federal agents for possible deportation, his attorney said.

Gov. Gavin Newsom allowed the parole of Tith Ton, now 40, who spent 22 years in prison for killing a rival gang member.

“It’s deeply disappointing that the governor is choosing to work with ICE,” said Anoop Prasad, an attorney with the Asian Law Caucus. “It’s an unjust and illogical practice that is tearing apart communities in California.”

Immigrant rights groups want Newsom to end policies allowing the transfer of prison inmates to federal authorities despite California’s efforts to provide a sanctuary for immigrants.