“I am pleased that Democrats in Congress have come to their senses,” Trump said in a statement, which White House press secretary Sarah Huckabee Sanders read to reporters at her daily briefing.

ADVERTISEMENT

Trump said he would make a deal with Democrats on immigration “only if it is good for our country,” adding that his priority is “solving the problem of very unfair illegal immigration.”

Trump appears to be feeling emboldened after Democrats in the Senate agreed to a stopgap spending deal with Republicans, dropping their demand that an immigration measure is brought up right away.

Under a spending deal, lawmakers will have three weeks to broker an agreement on immigration before spending lapses again on Feb. 8 .

Sanders said Democrats decided to drop their demand that an immigration package be tied to a spending bill because it was "indefensible."