US Republican lawmakers on Thursday unveiled an immigration package that would tighten border security, end chain migration, and fund President Donald Trump's border wall, while shielding nearly a million so-called "Dreamers" from deportation.
The legislation was introduced just minutes after Trump said that any legislation that protects such undocumented immigrants would need to fund a wall along the US-Mexico border -- one of the primary pledges of his 2016 presidential campaign.
"Any solution has to include the wall because without the wall, it all doesn't work," Trump told reporters at the White House.
"We need the wall for security. We need the wall for safety."
Congress is grappling with how to break an impasse over the "Dreamers" -- immigrants who were brought to the United States illegally as children but were permitted to stay under Barack Obama's Deferred Action for Childhood Arrivals (DACA) programme.
He met with two dozen Republican and Democratic lawmakers on Wednesday at the White House, urging them to craft a compromise that would accommodate the Dreamers but also achieve some immigration reforms.
"The President indicated that our Bill, the Securing America's Future Act, is the starting point to correct the flaws in our immigration system," House Judiciary Committee chairman Bob Goodlatte told reporters.
"This Bill funds the border wall and secures ports of entry along the southern border. It also increases boots on the ground, limits immigrants from bringing family members into the country in the future, and ends the green card lottery system," he added.
But it also includes conservative priorities like cracking down on sanctuary cities and provides no special pathway to citizenship for Dreamers.
As lawmakers race against time to find a fix, a US judge late on Wednesday blocked Trump from scrapping DACA and ordered it maintained "on a nationwide basis", as legal challenges against it proceed.
But the White House and Democrats agreed that the ruling does not diminish the urgent need to resolve the issue.