President Donald Trump's administration announced the wind down of DACA, the Deferred Action for Childhood Arrivals policy, that President Obama enacted several years ago. This is what you should know. Sean Logan/The Republic

Berania Yanez, 16, shouts from a megaphone to other students from North High School who are protesting the Trump administration's decision to phase out the Deferred Action for Childhood Arrivals program outside the Phoenix ICE offices on Sept. 5, 2017.(Photo: Tom Tingle/The Republic)

President Trump and Congressional Democratic leaders on Wednesday agreed to address their differences over legislation protecting young immigrants and over the border wall between the United States and Mexico, according to a statement released by House Democratic Leader Nancy Pelosi and Senate Democratic Leader Chuck Schumer.

The statement was released after the two lawmakers had dinner with the president.

"We had a very productive meeting at the White House with the president," the statement read.

The deal announced by Schumer and Pelosi following a White House dinner would enshrine protections for the nearly 800,000 immigrants brought illegally to this country as kids who had benefited from former President Barack Obama's Deferred Action for Childhood Arrivals, or DACA, program. The program provided temporary work permits and protection from deportation.

Trump ended the program earlier this month and had given Congress six months to come up with a legislative fix before the statuses of the so-called "dreamers" begin to expire.

"We agreed to enshrine the protections of DACA into law quickly, and to work out a package of border security, excluding the wall, that's acceptable to both sides," Pelosi and Schumer said in a joint statement.

White House Press Secretary Sarah Huckabee Sanders partially disputed their characterization, saying over Twitter that "excluding the wall was certainly not agreed to."

It was the second time in two weeks that Trump cut out Republicans to reach a deal with Pelosi and Schumer. A person briefed on the meeting, who demanded anonymity to discuss it, said the deal specifies bipartisan legislation called the DREAM Act that provides eventual citizenship for the young immigrants.

The House's foremost immigration hardliner, GOP Rep. Steve King of Iowa, made clear that he, for one, was not happy.

Addressing Trump over Twitter, King wrote that if the reports were true, "Trump base is blown up, destroyed, irreparable, and disillusioned beyond repair. No promise is credible."

The White House did not immediately respond to a request for comment, but said in its own statement that the president had had "a constructive working dinner" with Schumer, Pelosi and administration officials "to discuss policy and legislative priorities," including DACA.

"This is a positive step toward the President's strong commitment to bipartisan solutions for the issues most important to all Americans," the White House said.

During a White House meeting with moderate House members from both parties earlier Wednesday, Trump had urged lawmakers to come up with a bipartisan solution.

"We don't want to forget DACA," Trump told the members at the meeting. "We want to see if we can do something in a bipartisan fashion so that we can solve the DACA problem and other immigration problems."

Ellie Perez, seen here in 2014, is an aide to Phoenix Councilwoman Kate Gallego. With DACA status, she was able to attend full-time, get an associate’s degreeand become the first person in her family to attenda four-year university.
The Republic

Reyna Montoya, 26, came to the U.S. at age 13. She founded Aliento, which advocates for young migrant children, in 2016. DACA gave Montoya the chance to earn an education, she said.
Dianna M. Náñez/The Republic

Thomas Kim, 25, came to the U.S. with his family legally 12 years ago from South Korea. An unscrupulous immigration attorney botched their case, he said. Kim is finishing his last year of law school and works at a public defender's office in Phoenix.
Nick Oza/The Republic

Francisco Luna, an advocate with the organization Trans Queer Pueblo, came to the U.S. when he was 11. DACA allowed him to work, buy a car and help take care of his relatives. He said he has filed and paid taxes for several years now.
Dianna M. Náñez/The Republic

Julio Zuñiga, 27, was 5 when he came from Mexico to Arizona with his parents in 1996. DACA allowed Zuñigato begin working as a mortgage loan officer, and he has paid more than $10,000 in taxes over the course of his career, he said.
Laura Gómez/The Republic

Immigration attorney Daniel Rodriguez, 31, had DACA status until he became a legal resident in 2015. He said he had started law school in 2008 but had to take a break from 2009-2012 because he couldn’t afford out-of-state tuition.
Maria Polletta/The Republic

Carla Chavarria, 24, has DACA status until November and is waiting to see if her application for renewal has been approved. DACA allowed Chavarria to start her own digital-marketing business. She also launched activewear line Ganaz with fellow dreamer Máxima Guerrero last year.
Cheryl Evans/The Republic

Maria Cruz Ramirez, who does not have legal status, is the mother of three DACA recipients. She said her son recently bought a home. Without DACA, it's uncertain whether he'll be able to keep it, she said.
Laura Gómez/The Republic

Like this topic? You may also like these photo galleries:

The apparent deal is the latest example of Trump's sudden pivot to bipartisanship after months of railing against Democrats as "obstructionist." He has urged them to join him in overhauling the nation's tax code, among other priorities.

Trump, who was deeply disappointed by Republicans' failure to pass a health care overhaul, infuriated many in his party when he reached a three-month deal with Schumer and Pelosi to raise the debt ceiling, keep the government running and speed relief to states affected by recent hurricanes.

"More and more we're trying to work things out together," Trump explained Wednesday, calling the development a "positive thing" for both parties.

"If you look at some of the greatest legislation ever passed, it was done on a bipartisan manner. And so that's what we're going to give a shot," he said.

The "Kumbaya" moment now appears to extend to the thorny issue of immigration, which has been vexing lawmakers for years. Funding for Trump's promised wall had been thought to be a major point of contention between Republicans and Democrats as they attempted to forge a deal.

White House Press Secretary Sarah Huckabee Sanders said earlier Wednesday that Trump was "committed to the wall. It doesn't have to be tied to DACA but its important and he will get it done."

House Speaker Paul Ryan, who also sat down with Pelosi to talk immigration Wednesday, said during an AP Newsmaker interview that deporting the so-called

"Dreamers" was "not in our nation's interest," and said the president had "made the right call."

"I wanted him to give us time. I didn't want this to be rescinded on Day One and create chaos," Ryan said, arguing the time would allow Congress to "come up with the right kind of consensus and compromise to fix this problem."