President Donald Trump appeared to throw a lifeline Tuesday night to nearly 1 million undocumented immigrants, just hours after signaling his administration planned to deport them.

Trump took to Twitter Tuesday night and appeared to contradict himself and Attorney General Jeff Sessions by signaling he might sign an order providing protection to those 800,000 people if Congress fails to pass a bill addressing their presence in the U.S.

Trump and Sessions earlier in the day argued they were terminating former President Barack Obama’s DACA immigration program mostly because he created it via executive order.

“The policy was implemented unilaterally, to great controversy and legal concern, after Congress rejected legislative proposals to extend similar benefits … on numerous occasions to this same group of illegal aliens,” Sessions said at a morning press conference. “Such an open-ended circumvention of immigration laws was an unconstitutional exercise of authority by the executive branch.”

[Analysis: Trump Hits Congress With Immigration Quandary]