While top Democrats are attacking James Comey, President Obama’s spokesman on Monday described the FBI director as a man of “integrity” and “good character” and said he is not trying to tilt the election.

“I’ll neither defend nor criticize Director Comey,” said White House press secretary Josh Earnest.

“The president doesn’t believe that Director Comey is intentionally trying to influence the outcome of an election. He doesn’t believe he’s secretly strategizing to benefit one candidate or one political party. He is in a tough spot.”

Earnest rebuked those who were assailing Comey for saying last Friday the FBI was reopening the Hillary Clinton email probe just days before the Nov. 8 election.

“There are other people that have the luxury of being able to opine, writing op-eds or serving as anonymous sources for reporters to weigh in with their own view, but when I stand here representing the institution of the presidency, I don’t have that luxury,” he said.

Earnest’s comments were in stark contrast to Senate Democratic leader Harry Reid, who said Sunday Comey “might have broken” the law by using his official position to get involved in an election.

Hillary Clinton called Comey’s actions “unprecedented” and “deeply troubling.”