Updated 10:01 p.m. | President Donald Trump on Wednesday appeared to back a pathway to citizenship for “Dreamers” enrolled in the Deferred Action for Childhood Arrivals program if lawmakers approve $25 billion for his U.S.-Mexico border wall.

Besides that sum, Trump also wants lawmakers to include another $5 billion for border security in any immigration bill they send him, he told a small group of reporters at the White House. Both allotments would then be placed in a “fund” that would be tapped for the border barrier project and enhancing border security, he added.

The president’s endorsement of eventual citizenship for Dreamers, undocumented immigrants who were brought to the country as children, marks another change in his frequently shifting immigration stance. A day earlier, White House Press Secretary Sarah Huckabee Sanders said Trump would sign a hard-line House immigration bill that would only grant Dreamers renewable legal status designations without a chance for full citizenship.

“We’re going to morph into it,” Trump said, signaling he favors a 10- to 12-year path to citizenship. A senior administration official later indicated that legal status would happen “immediately, if they behave themselves.”

Proponents of citizenship for Dreamers wasted no time in seizing on Trump’s statements.