The acting director of Immigration and Customs Enforcement (ICE), Ron Vitiello, has resigned amid an agencywide restructuring of the Department of Homeland Security (DHS).

Nielsen said in a statement that Vitiello "has left a legacy of excellence as our Department has expanded and refined our efforts to curb illegal immigration and secure our borders."

Vitiello's last day at ICE will be Friday. Nielsen, whose own departure from the helm of DHS was announced over the weekend, is leaving Wednesday.

The moves come amid a White House shake-up affecting virtually all senior leadership at DHS that has seen the exit this week of Nielsen, Vitiello, Secret Service Director Randolph "Tex" Alles and acting Deputy Homeland Security Secretary Claire Grady.