New York Attorney General Eric Schneiderman on Sunday said he’s “hopeful” that President Trump will reach a deal with Democrats to protect so-called “Dreamers” from being deported but insisted he ‘ll follow through with a lawsuit against the White House if not.

“We are hopeful. The president had a meeting with Sen . Schumer and Congress member Nancy Pelosi. They discussed making a deal. And we are very hopeful that there is a deal to be made,” Schneiderman told John Catsimatidis during an interview on the “Cats Roundtable” radio show on 970 AM.

“But in the meantime, we are in court because we think the way they shut the program down, the motivation for shutting it down, was improper .”

Trump last month hosted a White House dinner with Senate Minority Leader Chuck Schumer and House Minority Leader Nancy Pelosi and the two Democrats said they were close to a deal with the president.

Schneiderman led a group of 16 attorneys general last month to sue Trump after he ordered the Deferred Action for Childhood Arrivals program to be phased out and gave Congress six months to fix it.

Former President Obama in 2012 implemented DACA to protect immigrants who were brought to the US illegally by their parents as children. It affects about 800,000 people – known as “Dreamers” – nationwide.

In the lawsuit, Schneiderman and the other attorneys general, argue that Trump’s action on DACA is discriminatory and violates the Equal Protection clause of the Constitution.

“I t is really a matter of fundamental fairness ,” Schneiderman said. “In New York, we have about 42,000 DACA grantees [who] contribute $140 million a year and state and local taxes. These are good productive citizens.”

Schneiderman has gone after Trump in court before.

In 2013, the attorney general sued Trump over his real estate school, which he called a “phony university.”

Trump ended the civil fraud suit in November 2016 by agreeing to pay a $25 million settlement.