A Manhattan judge presiding over New York state’s suit against President Donald Trump’s charitable foundation pushed a lawyer for Trump on Thursday to explain how the Trump campaign’s direction of allocation of the charity’s finances doesn’t run afoul of state nonprofit laws.

The New York Attorney General’s Office is pushing for dissolution of the Trump Foundation, alleging that Trump uses it as a “checkbook” to other nonprofits and for personal and political benefit.