House and Senate Republicans said Friday they do not want President Trump to repeal a program legalizing young people who arrived in the United States illegally as children.

Both House Speaker Paul Ryan, R-Wis., and Senate Finance Committee Chairman Orrin Hatch, R-Utah, said Trump should keep in place the Obama-era program, Deferred Action for Childhood Arrivals, or DACA, which Trump is reportedly considering ending.

"I actually don't think he should do that," Ryan told Wisconsin's WCLO radio.

Hatch, in a statement, said he has "urged the president not to rescind DACA," because it would "further complicate a system in serious need of a permanent legislative solution."

Ryan, in the WCLO radio interview, said he believes "Congress should fix" the DACA program, which is facing court challenges by several states.

There are bipartisan efforts in both the House and Senate to pass legislation that would codify a DACA program into law, shielding it from legal challenges.

Hatch, in the statement, said he will work in the coming months on "meaningful immigration reform," legislation, which lawmakers have tried but failed to pass after more than a decade of efforts.

President Obama authorized the DACA program in 2012. It allows those who qualify to obtain work permits and avoid deportation for two years.