California AG: Border Wall Is 'Medieval Technology,' Trump Has No Authority to Build It

Orange County Undersheriff Don Barnes defended his department's decision Tuesday night to make public the release times of inmates, including illegal immigrants. 

The move comes amid the debate regarding California's "sanctuary" state law, which allows for limited cooperation between local law enforcement and ICE officials.

The "Who's In Jail' database allows users to search any inmate by name and see his or her release information, regardless of whether the inmate was in the country illegally or not.

"We're going after very serious offenders who are in custody of our jail and are being convicted of some very serious crimes," Barnes said. "[Senate Bill] 54 allows us to notify ICE on those that were under the Trust Act, which was passed in 2014 [and] a previously passed legislation. ... We're trying to help [communities] be safer by turning these individuals over to ICE."

California Attorney General Xavier Becerra has been adamantly opposed to local officials working to opt out of the sanctuary law.

"State law is state law. It’s my job to enforce state law and I will do so," Becerra said at a news conference Tuesday. "We want to make sure that every jurisdiction, including Orange County, understands what state law requires of the people and the subdivisions of the state of California."

When Becerra was asked if his comments meant a potential arrest or lawsuit against Orange County's sheriff, Becerra responded, "I think I just answered that."

Barnes said on "Hannity" that he took Becerra's words as "threatening" but hopes he understands the law that was passed, which allows the publication of inmate information.

Watch the segment above.

Aunt of Cop Killed by Illegal Immigrant Applauds Death Sentence: 'He's a Monster'

Tomi on Sanctuary Showdown: 'You'd Be Surprised' How Many in CA Support 'America First'

Former Gov. Richardson: 'Wrong' to Add Citizenship Question to Census, CA Should Sue

'It's Unconstitutional': More CA Cities Looking to Opt Out of Sanctuary Law