Senator Chuck Schumer warned Donald Trump a week ago that the intelligence community could retaliate against him for rejecting their assessment that Russia engineered election hacks on Democrats.

The top Senate Democrat said Trump was 'dumb' to take on spy agencies that have the ability to access and leak damaging personal information.

'Let me tell you, you take on the intelligence community, they have six ways from Sunday to get back at you,' he told MSNBC's Rachel Maddow. 'So, even for a practical, supposedly hard-nosed businessman, he is being really dumb to do this.'

Schumer said he didn't know what agents would or could do to Trump. 'But from what I am told, they are very upset with how he has treated them and talked about them,' he said.

Senator Chuck Schumer warned Donald Trump a week ago that the intelligence community could retaliate against him for rejecting their assessment that Russia engineered election hacks on Democrats

Trump got burned today by a leak of that caliber. Buzzfeed News and CNN reported on a dossier of dirt, allegedly held by the Russian government, that claimed, among other things, that Trump was secretly taped watching degrading sex acts by prostitutes in Moscow.

Trump issued a categorical denial on Twitter and at a news conference this morning.

He, the Kremlin, and key figures named in an unverified document purporting to reveal salacious details about compromising information the Russians hold are slamming the document's release as a smear and a 'fabrication.'

'Russia has never tried to use leverage over me. I HAVE NOTHING TO DO WITH RUSSIA - NO DEALS, NO LOANS, NO NOTHING!' Trump tweeted Wednesday morning.

'Russia just said the unverified report paid for by political opponents is 'A COMPLETE AND TOTAL FABRICATION, UTTER NONSENSE.' Very unfair!' he tweeted shortly thereafter.

He also attacked intelligence agencies for 'allowing it to "leak"' saying: 'Are we living in Nazi Germany.'

'Does anyone believe that story? I'm also very much of a germophobe by the way,' he said at a press conference later in the day.

Trump said, 'It's all fake news. It's phony stuff. It didn't happen. And it was gotten by opponents of ours.'

Trump got burned today by a leak of that caliber. Buzzfeed News and CNN reported on a dossier of dirt, allegedly held by the Russian government, that claimed, among other things, that Trump was secretly taped watching degrading sex acts by prostitutes in Moscow

The incident sets him up for an ugly confrontation with agencies that were passed the file by Republican Senator John McCain.

It was 'released by maybe the intelligence agencies,' Trump assessed at his New York presser today. 'Who knows, it may be the intelligence agencies – which would be a tremendous blot of their record if they did that.'

'A thing like that should have never been written … and it certainly should never have been released,' Trump continued.

The documents were published by Buzzfeed, which in its own report said they contained errors and could not be verified. The New York Times and Washington Post both said they had been handed the dossier in the past and did not publish it because they were unable to verify its contents.

Trump's incoming White House press secretary, Sean Spicer, slammed Buzzfeed as a 'left-wing blog' before the president-elect's news conference, saying the report was 'totally unsubstantiated.'

Spicer called it a 'political witch hunt by some in the media' and said it is 'frankly shameful and a disgrace.'

The president-elect denied the report at the top of his remarks, telling news outlets he said he hasn't always gotten along with that they went 'up a notch' for refusing to demean him.

Russia has already condemned the report. Dmitri S. Peskov, the spokesman for Russian President Vladimir Putin, expressly denied Russia having compromising dirt on Trump, or on rival Hillary Clinton.

Chain of information: The dossier was allegedly drawn up by an unnamed British ex-spy, obtained by a British diplomat and passed personally to John McCain - who then gave it to James Comey, the FBI Director

News of the explosive information broke when CNN reported Monday that top intelligence officials had presented a summary of claims that the Russians might have compromising information on Trump.

The dossier was allegedly drawn up by an unnamed British ex-spy, obtained by a British diplomat and passed personally to McCain - who then gave it to James Comey, the FBI Director.

U.S. officials allegedly included a two-page synopsis of 'kompromat' – Russian for compromising material – as part of their security briefing of Trump on Friday.

It is unclear how detailed that summary was.

The document claims Russian sources told the operative that they had extensive material on the now president-elect - including a secret film of him in the suite where President Obama stayed in Moscow, watching prostitutes committing degrading sex acts on the bed where the president slept.

Degrading acts in bed used by president: The extraordinary - and entirely unverified - allegations that Donald Trump ordered prostitutes to commit degrading sex acts in the Ritz-Carlton in Moscow are contained in a dossier drawn up by a former British spy

Part of the document is seen above. Click here to see the full document first published by Buzzfeed

Trump has been feuding with the intelligence community over their assessment that Russia hacked Democrats' email accounts and released their private communications to help him win the presidency.

He admitted today, for the first time, that Russia did do the hacking, while noting that other countries hack the United States, too.

Intel chiefs reportedly included the dirt on Trump in a briefing last week to make him aware that it was circulating within the U.S. intelligence community.

It was included to bolster the agencies' conclusion that Russia had dirt on both Republicans and Democrats, but released only what it had on Democrats to bolster Trump.

The document also charged there was an information exchange between Trump surrogates and representatives of the Russian government, which the president-elect said today is also untrue.

The document claimed that Trump had declined 'sweetener' real estate deals in Russia that the Kremlin lined up in order to cultivate him. The business proposals were said to be 'in relation to the ongoing 2018 World Cup soccer tournament'.

Dealings: The dossier apparently includes claims about Trump's financial dealings with Moscow. In 2013 he held his Miss Universe contest in the Russian capital

Russian authorities allegedly tried to 'exploit Trump's personal obsessions and sexual perversion' in order to compromise him.

The document also referenced Trump's '(perverted) conduct' at the presidential suite of the Ritz-Carlton hotel in Moscow, where the President and First Lady Michelle Obama 'whom he hated' had stayed.

It cited 'Source D' as saying Trump's conduct included hiring prostitutes 'to perform a 'golden showers' (urination) show in front of him.' It says the hotel was known to be under the control of Russia's FSB, with hidden cameras and microphones.

Trump said Wednesday that all of it was wrong.