He said that the attempts to discredit him reflect poorly on the president.