Two days later, the Labor Appropriation Act of 1924 established the Border Patrol as an agency of the U.S. Department of Labor assigned to prevent illegal entries—primarily along the Mexico–United States border, as well as the Canada–U.S.