President Donald Trump suggested former FBI Director James Comey should consider prosecuting reporters for reporting on leaks of classified information, The New York Times reported Tuesday.

The Times reported that in a meeting with Comey in February, Trump condemned leaks of classified information to the media, saying that Comey “should consider putting reporters in prison for publishing classified information.”

The Supreme Court ruled in 1971 that the press had the right to publish classified information provided by sources, as long as they do not attempt to persuade potential sources to break the law.

In the latest example, the White House condemned leaks that resulted in The Washington Post reporting that Trump himself shared classified information with Russian officials during a meeting last week.

Trump’s reported suggestion to Comey came as part a long New York Times report that said Trump asked Comey to drop the investigation of former national security adviser Michael Flynn.