Immigration and Customs Enforcement (ICE) recently carried out 680 arrests of undocumented immigrants, 75 percent of whom have been accused of committing violent crimes, according to the Department of Homeland Security.

The arrests have sparked outrage, but Homeland Security said these were routine searches.

Fox News senior judicial analyst Judge Andrew Napolitano was a guest on "Fox & Friends" Tuesday to discuss the recent arrests.

"This is what Donald Trump said he was going to do," the judge said.

Judge Nap to Trump: Tear Up Immigration Order and Write a New One

O'Reilly Rips 'Blatantly Dishonest' Media Coverage of Immigration Raids

Tucker Battles Lawyer Who Called Trump's Immigration Policies an 'Overt Attempt to Create Chaos'

Napolitano said the undocumented immigrants fall into two classes: those here illegally who pose no threat -- whom he called "harmless" -- and those here illegally who have committed crimes -- whom he called "harmful."

"Trump is going after the 75 percent that are harmful," he said.

Napolitano continued that if an undocumented immigrant has not yet been ordered deported, that person is entitled to a trial and an appeal. He said legal costs per deportation could total upwards of $250,000, a bill funded by taxpayers.

Watch the full interview above, and share your thoughts on these ICE raids in the comments section.

Hannity to Jorge Ramos: 'You Are Willing to Gamble With the Lives of Americans'

National Security Adviser Michael Flynn Resigns

Dinesh D'Souza: 'Primary Duty' of Government Is to Protect Its Own Citizens