Hillary Clinton criticized Donald Trump for his treatment of reporters covering his campaign and called on the media to challenge and question his policies.

“Now I think journalists have a special responsibility to our democracy in a time like this,” the Democratic presidential nominee said today during remarks at the National Association for Black and Hispanic Journalists convention in Washington, D.C. “It’s a badge of honor when Jorge Ramos gets thrown out of press conference for challenging Donald Trump. Or when another news organization gets banned for reporting what he says.”

Clinton was referring to an incident last year when Trump kicked Ramos, a Univision anchor, out of a press conference for asking about Trump’s plan to deport all undocumented immigrants.

The Trump campaign has also banned journalists from The Washington Post from attending the Republican nominee's rallies.

Clinton went on to quote Ramos, who said after the incident with Trump: "The best journalism happens when you take a stand. When you denounce injustice. So I hope you'll keep calling it like you see it, keep holding all of us accountable."

Clinton thanked journalists for the “important work you do every day."

The former secretary of state's own relationship with the press can be tenuous at times. Clinton has not held a formal conference in 245 days – something that her opponent takes pleasure in noting.

Following her brief remarks today, Clinton participated in a panel and took questions from reporters.

Trump declined an invitation to speak at the conference.