President Trump also detained families during his first term in an effort to deter migration through the southern border.