Bracero program was a long ago program to bring Mexican workers into the US.
Obviously, farm labor.
Government required some controls on both sides - reasonable housing etc. and return after the growing season.
Lots of people gamed the program but at least is set some ground rules.
Program was killed way back when (meaining I don't remember when) largely because liberals thought it was not nice,
demeaning,
all that stuff.
No one at the time recognized that it was just a step toward this open border drek that even our not-really-a-liberal (but honest) president just might favor today.