Donald Trump made no secret during the 2016 campaign that he appreciated WikiLeaks and founder Julian Assange for publishing thousands of hacked Democratic emails, many of them damaging to Hillary Clinton.

"I love WikiLeaks," he said more than once as the group posted emails stolen by Russian operatives from Clinton campaign chairman John Podesta's Gmail account.

Once Trump won the presidency, though, the praise gave way to condemnation by top administration officials. His CIA director branded WikiLeaks "a nonstate hostile intelligence service," and his attorney general vowed to see Assange arrested.