House Speaker Paul Ryan called on Congress to find "a permanent legislative solution" for people who arrived in the United States illegally as children, now that President Trump has announced plans to rescind the Obama-era program known as DACA.

Ryan, R-Wis., said Obama's 2012 move to allow young people living here illegally to obtain work permits and avoid deportation, "was a clear abuse of executive authority" and was "never a viable, long-term solution."

On Tuesday, Attorney General Jeff Sessions announced the Deferred Action for Childhood Arrivals program would end in six months.

Ryan said he is hoping Congress and Trump will "find consensus" on legislation that would allow the program to continue, "ensuring those who have done nothing wrong can still contribute as a valued part of this great country."

Here is Ryan's full statement:

"However well-intentioned, President Obama's DACA program was a clear abuse of executive authority, an attempt to create law out of thin air. Just as the courts have already struck down similar Obama policy, this was never a viable long-term solution to this challenge. Congress writes laws, not the president, and ending this program fulfills a promise that President Trump made to restore the proper role of the executive and legislative branches. But now there is more to do, and the president has called on Congress to act. The president's announcement does not revoke permits immediately, and it is important that those affected have clarity on how this interim period will be carried out. At the heart of this issue are young people who came to this country through no fault of their own, and for many of them it's the only country they know. Their status is one of many immigration issues, such as border security and interior enforcement, which Congress has failed to adequately address over the years. It is my hope that the House and Senate, with the president's leadership, will be able to find consensus on a permanent legislative solution that includes ensuring that those who have done nothing wrong can still contribute as a valued part of this great country."