The New York attorney general's office has ordered the Donald J. Trump Foundation to stop soliciting any contributions following an investigation into the charity.

The cease-and-desist notice went out on Friday, according to a release on Attorney General Eric Schneiderman’s website released Monday.

The attorney general's investigation found that Trump's charity “is in violation of section 172 of Article 7-A New York's Executive Law, which requires charitable organizations that solicit contributions in New York State to register with the Charities Bureau and to provide annual financial reports and annual audited financial statements.” Schneiderman's office contends the Trump foundation continued to solicit contributions despite having not registered "in violation of New York law."

The order says the the Trump Foundation must “immediately cease soliciting contributions or engaging in other fundraising activities in New York” to furnish the Charities Bureau with additional information within 15 days of receipt of the notice.

In response, Trump campaign spokeswoman Hope Hicks said in a statement: “While we remain very concerned about the political motives behind AG Schneiderman’s investigation, the Trump Foundation nevertheless intends to cooperate fully with the investigation. Because this is an ongoing legal matter, the Trump Foundation will not comment further at this time.”