The federal government assumed direct control of inspecting, admitting, rejecting, and processing all immigrants seeking admission to the United States with the Immigration Act of 1891.