President Trump weighed in on a news report that revealed Hillary Clinton’s 2016 presidential campaign paid a company to dig up dirt on Trump that ended up in a controversial dossier, saying it shows he’s the “victim.”

​”‘​Clinton campaign & DNC paid for research that led to the anti-Trump Fake News Dossier. The victim here is the President.​’ ​@FoxNews​,” he wrote on Twitter​ Wednesday morning.

A lawyer for Clinton’s campaign and the Democratic National Committee paid Fusion GPS to ​develop opposition research against then-candidate Trump during the election, according to several reports.

Fusion, a Washington, DC, firm, then hired a former British spy, Christopher Steele, to put together the dossier, which contained unsubstantiated but salacious allegations about Trump.

The search for dirt on Trump was initially bankrolled by an unknown Republican consulting firm, but once Trump won the nomination, it halted funding.

​The Clinton campaign then picked up paying for the investigation​ that began in April 2016 and ended before the November vote.

Trump has denied the claims in the dossier that he colluded with Russian officials during the election.

A spokesman for the DNC said its current leadership had nothing to do with creation of the dossier.

Special counsel Robert Mueller and a number of congressional panels are investigating Russian meddling in the 2016 election and whether members of the Trump campaign team were involved.