Vladimir Putin on Thursday denied that Russia interfered in the US election — and called charges of meddling by the US intelligence community part of a plot hatched by President Trump’s enemies.

“This is all invented by people who oppose Trump to give his work an illegitimate character. The people who do this are dealing a blow to the state of [US] domestic politics,” the Russian strongman said in Moscow.

“Why does it all have to take on some tint of spymania?”

Putin’s statements echoed Trump’s take on special counsel Robert Mueller’s investigation into Russian interference, which he has repeatedly called a “witch hunt” and “hoax” cooked up by Democrats as an excuse for losing the election.

Putin also praised the president for what he said were his many achievements. “Look at how the markets have grown,” the Russian autocrat said.

Meanwhile, a new report said some of Trump’s closest advisers and family members urged him before he was sworn in to acknowledge and condemn Russia’s interference. But Trump balked because he feared acknowledging what the intelligence community had confirmed would undermine the legitimacy of his victory, The Washington Post reported.

With Reuters