Nielsen created the practice of separating parents and children accused of crossing over the U.S.–Mexico border illegally. Nielsen resigned on April 7, 2019, and Kevin McAleenan, the then U.S. Customs and Border Protection Commissioner, became Acting Secretary.