In exchange, the bill would give a path to citizenship for 1.8 million Deferred Action for Childhood Arrivals recipients, something that was already proposed by the White House.

However, the bill differed slightly from Trump’s plans. It would reallocate family-based immigration visas to first tackle the family-sponsored immigrants backlog, something Republicans would likely oppose.

After the family-sponsored backlog is eliminated, an initial 10,000 of the visas will be given to people with doctorates in science and math, another 10,000 will go to immigrants with startup investments and 5,000 will go to employment visas.

Flake’s bill would eliminate the diversity visa lottery, another program that has been maligned by Trump.