The Senate on Thursday passed the most monumental overhaul of U.S. immigration laws in a generation, which would clear the way for millions of undocumented residents to have a chance at citizenship, attract new workers from all over the world, and devote unprecedented resources for security along the U.S.-Mexico border.

The vote was 68-32.

Thursday’s vote now puts the onus of immigration reform on the Republican-led House, where leaders have been resistant to the Senate legislation.