Donald Trump has been caught on camera raging about the whistleblower in a closed-door meeting where he compared the CIA agent and his source to spies and even suggest their actions could amount to treason.

'We're at war,' the president announced in the meeting with US diplomats at the Intercontinental Hotel in New York on Thursday, in the clip first obtained by Bloomberg News.

A furious Trump, branded the whistle-blower 'highly partisan' and 'sick' before demanding to know how he got his hands on the report.

'I want to know who's the person, who's the person who gave the whistle-blower the information?' he spat, with visceral fury.

Because that's close to a spy,' he added, before going on to attack the whistle-blower's credibility. 'Basically, that person never saw the report, never saw the call, he never saw the call, heard something and decided that he or she, or whoever the hell they saw - they're almost a spy.'

Donald Trump has been caught on camera raging about the whistleblower in a closed-door meeting where he compared the CIA agent and his source to spies and even suggest their actions could amount to treason

And he hinted what he thought the punishment for the whistle-blower and his sources should be.

'You know what we used to do in the old days when we were smart? Right? The spies and treason, we used to handle it a little differently than we do now,' he added, alluding to the use of the death penalty.

Trump also joked about staying in power beyond 2024 despite the two-term limit in the Constitution.

'I say we're looking good for another four years, and then if we want to, another four, and maybe another after that,' he said.

Bringing up a tweet he sent on the same subject in June, he said: 'We do that to drive them [his opponents] fricking crazy.'

Footage of the meeting has been leaked amid claims that the White House has known about complaint from CIA officer for weeks.

The White House learned about the CIA whistle-blower's complaint shortly after Donald Trump's call with Ukraine President Volodymy Zelensky, the New York Times reports.

The surprising revelation reveals a weakness in the law meant to protect whistle-blowers from retaliation or reprisals. He had reported the call over concerns that the president was abusing his power by asking the Ukraninan leader to dig up dirt on Joe Biden, to the CIA's s top lawyer through an anonymous process.

She had immediately shared the concerns with White House and Justice Department officials, as per policy. A short time later, the agent separately filed the whistle-blower complaint.

'I always advise whistle-blowers against going to general counsels because the general counsels have to report the matter,' said Dan Meyer, the former executive director of the intelligence community whistle-blowing program and managing partner of Tully Rinckey's Washington office, told the Times. 'They are like tuna in a shark tank.'

Trump joked about staying in power beyond 2024 despite the two-term limit, referencing this tweet from June and saying: 'We do that to drive them fricking crazy'

Trump also went after another familiar target; Joe Biden who he called 'Sleepy Joe Biden who's dumb as a rock.' He repeated his claims that Biden helped his son, Hunter Biden, falsely win millions in dollars in business from Ukraine and China

The whistle-blower's report also reveals how he worked behind the scenes to investigate the abuse of power.

After learning about the phone call on July 25, the agent contacted around six high ranking US officials who were also concerned by the president's attempt to ask a foreign leader to get dirt on a political opponent.

He included their accounts and details including the intervention of Trump's personal lawyer Rudy Giuliani and efforts by American diplomats in Kiev and attorneys in the Office of the White House Counsel to try and suppress the damage.

On August 12, he filed his whistle-blower document to the CIA's inspector general.

The move came as a surprise to the CIA's general counsel, Courtney Simmons Elwood, who had been dealing with the agent's initial anonymous complaint after he first raised it with her. She had also contacted John A. Eisenberg, a deputy White House counsel and general counsel at the National Security Council, as per policy, the San Francisco Chronicle reports.

The whistle-blower had only mentioned the troubling phone call when he first contacted Elwood. Elwood began investigating whether a 'reasonable basis' was present for the accusation.

During her probe she found several people had raised concerns about the call. Eisenberg had also heard rumblings about the Ukraine call. During the process of a week, Elwood and Eisenberg found the allegation did have a reasonable basis and on August 14 they reportedly spoke to John Demers, head of the Justice Department's national security division. He read a transcript of the call at the White House, and contacted the deputy attorney general the head of the department's criminal division, sources told SFGate,

But while the wheels of the investigate process turned, the CIA agent became increasingly concerned about Elwood's contact with the White House, sources claim. He feared the intelligence agency may not be taking his allegations seriously.

So on August 12, two weeks after he contacted Elwood, he filed a whistle-blower complaint to CIA inspector general Michael Atkinson, a step which provides less legal protection.

Fears that the whistle-blower could come under attack were not unfounded. Trump has rallied against the agent, comparing him to a spy and his act to treason, and reminding his supporters of the traditional punishment for those found guilty - the death penalty.

The president's attacks on the whistle-blower have been condemned by House Intelligence Committee Chairman Adam Schiff (D-Calif.) as 'witness intimidation.'

He tweeted on Thursday: 'The President's suggestion that those involved in the whisteblower complaint should be dealt with as 'we used to do' for 'spies and treason' is a reprehensible invitation to violence against witnesses in our investigation.

'All Americans must denounce such witness intimidation.'

Meanwhile, a source told NBC news that the White House is in 'shell shock' and a state of 'total panic' during the past week.

Officials are filled with 'anxiety, unease, and concern' over how the president will react to the ongoing inquiry, the source said, adding they fear the pressure could make him become more 'impulsive' and 'unmanageable.'

Sources say that while Trump has survived controversies and scandals in the past, officials say this feels different.

White House aides don't think that previous tactics going on the offensive against political rivals or waiting for it to be overtaken by the next news cycle is going to work this time.

The stress may be getting to Trump who seemed angry when he met with diplomats at the closed-door gathering.

The president's attacks on the whistle-blower have been condemned by House Intelligence Committee Chairman Adam Schiff (D-Calif.) as 'witness intimidation'

The White House learned about the CIA whistle-blower's complaint shortly after Donald Trump's call with Ukraine President Volodymy Zelensky (pictured with him)

The whistle-blower whose allegations about abuse of power brought new force behind the impeachment effort has been revealed to be a CIA officer who had been detailed to the White House. President Trump raged in a speech at the person's sources of information

Not only did he attack the whistle-blower and his sources, but he also went after the press, calling them 'animals.'

'They're animals. Some of the worst human being you'll ever meet,' Trump said. 'They're scum. Many of them are scum,' he said.

Trump also went after another familiar target; Joe Biden who he called 'Sleepy Joe Biden who's dumb as a rock.'

He repeated his claims that Biden helped his son, Hunter Biden, falsely win millions in dollars in business from Ukraine and China.

It was those claims Trump had asked Zelenskiy to investigate during his now infamous call.

Trump also tweeted Thursday, sharing a story that appears to contradict Biden's version of events regarding Ukraine.

'So many lies by Sleepy Joe and the Do Nothing Democrats!' he tweeted.

While the president rages about the leak, the whistle-blower, identified as a man, has returned to working at the CIA, the New York Times reported.

The paper included an explanation from its executive editor about why it published the information about the whistle-blower. The whistle-blower's lawyer, Andrew Bakaj, called it 'deeply concerning and reckless, as it can place the individual in harm's way' and declared his client's right to remain anonymous.

Director of National Intelligence Joseph Maguire said during House testimony Thursday that he would protect the whistle-blower from any reprisals, and said his decision to come forward through channels was the 'right thing to do.'

Numerous officials from the Pentagon and other agencies cycle through the White House on 'detail,' lending their expertise to political appointees. The whistle-blower's complaint, which was declassified Thursday, reveals detailed understanding of the competing and rotating factions within in Ukrainian politics.

In addition to pointing to his expertise, the whistle-blower complaint reveals his access to information.

Although he wasn't on the infamous Ukraine call itself, he was able to obtain information about it, about Trump lawyer Rudy Giuliani's outreach to top Ukrainian officials, to information about a cancelled trip by Vice President Mike Pence to Ukraine, and about the president's alleged conditions for meeting with and speaking to the Ukrainian president.

'I want to know who's the person who gave the whistle-blower the information because that's close to a spy,' President Trump said Thursday, attacking sources of information for the whistle-blower

The whistle-blower's complaint has now been declassified, sending political tremors through the Capitol.

Maguire has told the House Intelligence Committee the whistle-blower acted in good faith.

Trump and his White House are accused in the whistle-blower complaint of abusing his power to force Ukraine's president to investigate Joe Biden - then running a cover-up using a highly-classified computer system to 'lock down' the call.

The House Intelligence Committee Thursday published the bombshell complaint at the center of the growing scandal facing Trump over his dealings with Ukraine.

The seven-page document was declassified overnight after lawmakers had viewed it, hours after the transcript of the call between Donald Trump and Volodymyr Zelensky was published was published by the Department of Justice.

It levels a series of charges at Donald Trump and the White House including that:

Trump 'is using the power of his office to solicit interference from a foreign country in the 2020 U.S. election';

His personal attorney Rudolph Giuliani is accused of being 'a central figure,' and the attorney general Bill Barr 'appears to be involved as well';

The call between Trump and Zelensky saw the president try to 'advance his personal interests';

White House lawyers feared the officials who listened to the call 'witnessed the President abuse his office for personal gain';

White House lawyers tried to 'lock down' the call by restricting the official transcript's distribution and placing it in a classified computer system usually used for 'covert action' without justification;

One White House official 'described the act as abuse,' the whistle-blower said;

Other 'politically sensitive - rather than national security sensitive' calls between Trump and foreign leaders have been dealt with in the same way;

There are more notes of the call - not just the transcript which was published Wednesday;

That 'multiple U.S. officials' expressed concern about Rudy Giuliani being involved in Ukraine;

That attorney-general William Barr 'appears to be involved as well.'

The disclosure of the complaint, just a day after the release of a transcript of Trump's phone call with Zelensky, set off immediate reverberations.

House Speaker Nancy Pelosi said the effort to 'lock down' the Ukraine call shows 'this is a cover-up.'

After coming out this week to say the House was undertaking an impeachment investigation, Pelosi said the president 'betrayed his oath of office, our national security and the integrity' of U.S. elections.

Giuliani told CNN from his room at the Trump International Hotel he had 'no knowledge of any of that crap.'

The former New York mayor denied the whistle-blower's claim that two State Department officials spoke to him to 'contain the damage' of his Ukraine dealings, and indicated his text messages with special U.S. envoy to Ukraine Kurt Volker would establish he wasn't freelancing.

I spoke to the State Department during the course of this situation, I told you, at least 10 times, and I met with them,' he said, adding he had a 'nice little trail' of texts to back up his claims.

The letter does not disclose the whistle-blower's identity but makes clear that they are a senior figure - they disclose that they were provided a 'readout' of the call.

They say that they were not one of the officials who listened in to Trump's call but says: 'Multiple White House officials with direct knowledge of the call informed me that, after an initial exchange of pleasantries, the President used the remainder of the call to advance his personal interests.'

But the explosive core of the charge against Trump is less likely to be about Ukraine but about a wide-ranging cover-up. Before the publication of the report, Trump had unleashed a fusillade of angry tweets - including one saying that if he was impeached, the markets would crash.

Call: The conversation on July 25 between Volodymyr Zelensky and Donald Trump is now at the center of a metastasizing Washington D.C. scandal with fuel poured on it by the publication of the whistle-blower's complaint

In the spotlight: The complaint alleges both Rudy Giuliani - the president's private attorney - and Bill Barr, the attorney-general are both named as being part of the alleged abuse of power

'This is a cover-up,' Speaker of the House Nancy Pelosi said at a press conference Thursday

The whistle-blower says after the call, they learned from 'multiple U.S. officials that senior White House officials had intervened to 'lock down' all records of the phone call, especially the official word-for-word transcript.'

To the whistle-blower, this underscored 'White House officials understood the gravity of what had transpired in the call.'

White House officials said they were 'directed' by lawyers to remove the transcript from the typical White House computer system for storage.

It was loaded on to a 'separate electronic system' - one the whistle-blower notes normally associated with 'covert activity.'

The whistle-blower describes readouts of Special Ukraine Representative Kurt Volker's trips to the country.

According to those readouts, Volker and the U.S. ambassador to the European Union counseled the Ukrainians how to 'navigate' the president's directives.

The whistle-blower also describes hearing form U.S. officials what has been publicly reported, that Giuliani traveled to Madrid to meet with one of Zelensky's advisors, Andrey Yermak.

Using what could be code for the Biden investigation Trump sought, officials said the meeting was 'direct follow-up' to the Trump Zelensky phone call and the 'cases' they discussed. The call contains only mention of one case, the company tied to Hunter Biden, as well as Trump's reference to the hacked Democratic server from the 2016 election.

The whistle-blower names Zelensky advisors who Giuliani approached. Officials told the whistle-blower two of them were planning a trip to Washington in August.

The official also talks about the extraordinary decision to call back the U.S. ambassador to Ukraine, Marie Yovanovitch, for 'consultations'

Trump's July 25 call features the president calling the U.S. diplomat a 'bad news,' and Zelensky agreeing that he was the 'first one who told me that she was a bad ambassador because I agree with you 100 per cent.'

The whistle-blower learned from U.S. officials that Yovanovitch was likely to be removed on April 29. The person learned that she was recalled due to 'pressure stemming from Mr. Lutsenko's allegations' – a reference to claims by the Ukrainian prosecutor.

Ukraine links: Joe Biden made multiple trips there and demanded action on corruption; Hunter was on the board of a natural gas firm which faced money-laundering accusations

Prosecutor Yuriy Lutsenko, who Trump praised on the July call, had made a series of allegations about the 2016 election which were at odds with the intelligence community's conclusion that Russia hacked Democratic servers.

Lutsenko also said Biden's pressure on prior Ukrainian President Petro Poroshenko to fire an earlier prosecutor, Viktor Shokin, was done to stop an investigation of Burisma Holdings, a Ukrainian energy firm where Hunter Biden served on the board.

Giuliani has pushed those twin claims – dealing with the 2016 elections and Biden's actions – in his public efforts on behalf of Trump.

The whistle-blower also cited public comments by Lutsenko to communicate with Attorney General William Barr, who Trump mentioned repeatedly on his call with Zelensky.

Days after the State Department announced Ambassador Yovanovich's removal, the New York Times reported that Giuliani had planned to travel to Ukraine in an effort he said could help his client and help the United States.

The whistle-blower reports hearing from 'multiple' U.S. officials 'that they were deeply concerned by what they viewed as Mr. Giuliani's circumvention of national security decision-making process to engage with Ukrainian officials and relay messages back and forth between Kyiv and the President.'

The whistle-blower said Volker and U.S. ambassador to the E.U. Gordon Sondland tried to help Ukrainians 'understand and respond to the differing messages they were receiving from official U.S. channels on the one hand, and from Mr. Giuliani on the other,' the person said.

Trump's infamous July phone call with Zelensky was only set up after bargaining. The call would 'depend' on whether Zelnsky showed a willingness to 'play ball' on the issues raised by Giuliani and Lutsenko, according to the complaint.

The whistle-blower weaves together multiple public comments and accounts with inside information. The person cites Trump's statement to ABC's George Stephanopoulos that he would accept information on his political rivals.

Trump claimed in tweets that the stock market would crash if Democrats were to impeach him over the action at the center of the complaint - a favor he asked of Ukraine 's president during a conversation about military aid and government corruption

Trump hit back at Democrats in the wave of tweets on Thursday morning from his New York City penthouse, where he's been staying this week amid the United Nations General Assembly

It was in mid-July that the whistle-blower learned of a 'sudden change in policy' to withhold hundreds of millions of U.S. security aid to Ukraine.

An appendix provided by the whistle-blower provides more detail about the secret server where the transcript of Trump's explosive Ukraine call was placed.

During the call, right after Zelensky thanks him for U.S. defense support and says his country is 'almost ready' to purchase U.S. anti-tank missiles, Trump responds: 'I would like you to do us a favor though because our country has been through a lot and Ukraine knows a lot about it,' according to a transcript the White House released Wednesday.

Trump then brings up an investigation he wants regarding 2016 election hacking, then adds: 'There is a lot of talk about Biden's son, that Biden stopped the prosecution and a lot of people want to find out about that, so whatever you can do with the Attorney General would be great.'

According to the whistle-blower, who Director of National of Inteligence Joseph Maguire says 'did the right thing' by coming forward, the contents of the call were put on a computer system managed directly by the National Security Council (NSC) Directorate for Intelligence Programs.'

It is a 'standalone' computer system 'reserved for codeword-level intelligence information, such as cover action,' according to the whistle-blower. Codeword intelligence is the highest classification level.

The whistle-blower claim officials 'voiced concerns internally that this would be an abuse of the system, and was not consistent with the responsibilities of the Directorate for Intelligence Programs.'

The whistle-blower also reports learning around May 14 that President Trump 'instructed' Vice President Mike Pence to cancel a planned trip to Ukraine. Pence was to have attended Zelensky's May 20 inauguration.

Energy Secretary Rick Perry went instead. U.S. officials 'made it clear' to the whistle-blower that Trump didn't want to meet Zelenksy 'until he saw how Zelensky 'chose to act' in office.'

READ THE FULL COMPLAINT