President Donald Trump said in a New York Times interview that a top House Democrat heaped high praise on him during a private meeting, yet continued to criticize him in public. 

Claiming that Democrats admit in private that they're not strongly opposed to Neil Gorsuch as a Supreme Court nominee, Trump dropped the following bombshell: 

"Elijah Cummings [a Democratic representative from Maryland] was in my office and he said, 'You will go down as one of the great presidents in the history of our country,'" Trump told reporter Maggie Haberman. 

Trump said he later saw Cummings bashing him on TV and thought, "Is that the same man that said that to me?"

But Cummings, the ranking member on the House Oversight Committee, has since disputed Trump's version of events.

He told the Washington Post:

During my meeting with the president and on several occasions since then, I have said repeatedly that he could be a great president if … if … he takes steps to truly represent all Americans rather than continuing on the divisive and harmful path he is currently on.

WATCH: Harvard Students Insist Pres. Trump Is More Dangerous Than ISIS

'Like Kicking POTUS in Groin': CA Lawmaker Warns of Consequences for Sanctuary State Bill

Lemon Refuses to Report on Susan Rice: We Won't 'Aid & Abet' a Diversion