President Donald Trump is declaring that he “won’t settle” a lawsuit from the New York attorney general alleging that the Trump Foundation engaged in pattern of illegal self-dealing.

The president is calling it on Twitter a “ridiculous case” that former state Attorney General Eric Schneiderman “never had the guts to bring” forward before he “resigned his office in disgrace.”

The lawsuit, brought by current state Attorney General Barbara Underwood, alleges that the president’s charitable foundation served as a personal piggy bank for his businesses, legal bills and presidential campaign. The lawsuit targets the foundation, Trump and three of his children.

Trump made a similar claim that he wouldn’t settle a lawsuit charging that his Trump University misled customers but ultimately paid a $25 million settlement last year.