President Donald Trump Donald John TrumpHR McMaster says president's policy to withdraw troops from Afghanistan is 'unwise' Cast of 'Parks and Rec' reunite for virtual town hall to address Wisconsin voters Biden says Trump should step down over coronavirus response MORE greeted FBI Director James Comey during a reception for law enforcement at the White House on Sunday afternoon.

During the event, the president singled out Comey, who approached the president, shook his hand and gave him a hug.

"He's become more famous than me," the president joked.

Pres. Donald Trump greets FBI Director James Comey at the White House https://t.co/IeAhhAOopy pic.twitter.com/EQKUb2tKul — ABC News Politics (@ABCPolitics) January 22, 2017

ADVERTISEMENT

The president had in the past attacked Comey and the intelligence community, accusing it of leaking an unverified dossier alleging Russia had compromising information on Trump.

The president also thanked the law enforcement officers for doing such a good job during his inauguration.

He said the event had been "such a success, a safety success."

Trump went to the Central Intelligence Agency headquarters on Saturday, where he blasted reporters and affirmed his support for the nation’s intelligence agencies.

On Sunday, he tweeted that he had a "great" meeting at the CIA headquarters with "amazing people," calling it a "win."