Chief Justice John G. Roberts Jr. on Tuesday forcefully rejected criticism that the Supreme Court’s work had been warped by partisanship.

“We don’t go about our work in a political manner,” he told an audience of some 2,000 people at the Temple Emanu-El’s Streicker Center in Manhattan.

Asked about President Trump’s attack on a decision he said had been rendered by an “Obama judge” and a recent brief from Democratic senators that questioned the Supreme Court’s legitimacy, Chief Justice Roberts said he had no objection to criticism of the court.

“We probably do a better job criticizing ourselves in our dissents than anybody else could,” he said.