New York’s attorney general on Monday ordered Donald Trump’s foundation to stop soliciting donations, effective immediately.

Eric Schneiderman’s office issued a “notice of violation” to the foundation on Friday but it was only released to the public on Monday.

The AG ruled that the Donald J. Trump Foundation had been raising cash in the state this year when it wasn’t registered to do so — a violation of state law.

“The Trump Foundation must immediately cease soliciting contributions or engaging in any other fundraising activities in New York,” the notice read.

The notice also demands that the foundation turn over annual financial reports within 15 days.

Schneiderman is a Democrat who supports Hillary Clinton for president. He has been criticized for going easy on the Clinton Foundation when it comes to reporting foreign donations.

The Trump campaign didn’t immediately return a request for comment.