New York Attorney General Letitia James and New York State Bar Association President Michael Miller railed against President Donald Trump’s attacks on the news media and judges at this year’s Law Day event held at the state Court of Appeals in Albany on Wednesday.

The theme of this year’s event, which is held annually, centered on the importance of a free press and independent judiciary, which translated through James and Miller as an opportunity to criticize Trump for his frequent remarks attempting to diminish both.