Former ICE Director Thomas Homan blasted New York State's Democratic politicians for a barrage of insults and criticisms against the agency.

Trish Regan asked Homan about Attorney General Zephyr Teachout, who said that if elected this fall, she will "prosecute" ICE for crimes against New Yorkers. Teachout also said the agency was "born out of xenophobia after 9/11."

"[@ZephyrTeachout] needs to educate herself. ICE is enforcing the laws in the books. They're not making this up." — Thomas Homan on NY AG candidate who wants to 'prosecute' ICE @TeamCavuto https://t.co/OH9bgbUu5m pic.twitter.com/CjZXjf6uwc — Fox News (@FoxNews) August 3, 2018

"It's a disgusting statement," Homan said. "She wants to be the top cop [in New York State] but the first thing she does is call out a law enforcement agency."

Homan, who is from the Fort Drum area of New York, said Teachout "needs to educate herself, but guess who her senator is -- [Kirsten] Gillibrand."

'Start With Me': NY Gov. Cuomo Dares Trump to Deport Him

New York Gov. Cuomo Pardons 18 Immigrants Facing Deportation

ICE Director Rips 'Sad' New York AG Candidate Who Threatened to 'Prosecute' Agency

I'm that "NY AG candidate" and I will absolutely prosecute anyone who breaks the law under my jurisdiction. Including ICE agents. We have reports of rape, and people have died in ICE detention because they didn't get adequate medical care. https://t.co/Rq7Elr5Q0Z — Zephyr Teachout (@ZephyrTeachout) August 2, 2018

He said that Gillibrand, Gov. Andrew Cuomo (D) and Teachout should "send a thank you letter for ICE" after noting the agency deported as many as 5,000 criminal illegal aliens from the Empire State in the last year.

Last year, Cuomo took issue with President Trump's enforcement of federal immigration law, daring his fellow Queens native to "deport" him.

Homan said Teachout, who is in a three-way primary bid to face Republican nominee Keith Wofford in November, is trying to go "farther left" than democratic socialist U.S. House candidate Alexandria Ocasio-Cortez.

Watch more above from "Your World."

'Sleepin' Bob': Trump Rips 'Worse Than Obstructionist' Sen. Casey at PA Rally

WATCH: San Francisco Residents Say Illegal Immigrants Should Be Allowed to Vote