The New York attorney general called presumptive GOP nominee Donald Trump’s failed education venture “a fraud from beginning to end” Thursday morning.

Attorney General Eric Schneiderman told ABC’s George Stephanopoulos that Trump University, the candidate’s defunct for-profit school that charged some students tens of thousands of dollars, broke state law in part by operating as an “illegal, unlicensed university.”

“This never was a university. The fraud started with the name of the organization. You can’t just go around saying this is the George Stephanopoulos Law Firm/Hospital/ University without actually qualifying and registering, so it was really a fraud from beginning to end,” Schneiderman told the “Good Morning America” host.

Lawsuits against Trump over the venture, which accuse employees of using aggressive sales techniques to lure prospective students, are pending in New York and California.

Schneiderman noted Trump could be called to testify in the case after the general election, even as President or president-elect.

“He doesn’t have immunity from civil fraud trials,” he said.

Asked about Trump’s framing of the school as a “philanthropic venture,” the attorney general replied, “if it was a philanthropic venture, he certainly made out well,” alleging Trump “personally pocketed” $5 million.

Watch the interview via ABC News:

h/t Politico