Attorney and author Alan Dershowitz responded to praise from President Donald Trump Friday by saying he is an advocate for the law, not the president.

Dershowitz appeared on Fox News and was asked about Trump's mention of him during a New York Times interview this week.

"It's always mixed," Dershowitz said regarding the reactions he receives when Trump mentions him. "My liberal friends have stopped inviting me to dinner, they think I'm a Trump supporter. I'm a liberal Democrat, I voted for Hillary Clinton.

"I just call it the way I see it when it comes to the law. If the president likes what I'm saying, fine, but tomorrow he may not like what I'm saying. I am not his advocate, I'm an advocate for the rule of law, I'm an advocate for the Constitution."

Trump told the Times that he saw Dershowitz talking about how no evidence has been made public that shows the Trump campaign colluded with Russia.

"I watched Alan Dershowitz the other day," he said, "No. 1, there is no collusion, No. 2, collusion is not a crime, but even if it was a crime, there was no collusion," Trump said. "And he said that very strongly. He said there was no collusion. And he has studied this thing very closely."