This is an archived article and the information in the article may be outdated. Please look at the time stamp on the story to see when it was last updated.

Rick Gates, the key prosecution witness in the tax and fraud trial of former Trump campaign chairman Paul Manafort, testified Monday he had committed crimes alongside and at the direction of his former partner — and had also stolen from Manafort himself.

In stunning testimony, Gates stated he and Manafort had 15 foreign accounts they did not report to the federal government, and knew it was illegal. Gates said he did not submit the required forms “at Mr. Manafort’s direction.”

Gates then admitted that he also turned the tables on Manafort — cheating him out of “several hundred thousand” dollars by submitting false expense reports that were paid out of some of the undisclosed foreign bank accounts in Cyprus.

The testimony from Gates, a former adviser to Donald Trump, comes after reaching a plea deal with special counsel Robert Mueller earlier this year to testify against his former partner in a lucrative international political consulting firm.

Manafort stared directly at Gates as he read aloud the details of his plea agreement, which could see him receive a reduced sentence, at the direction of a prosecution lawyer.

Gates did not make eye contact with Manafort as he took the stand wearing a yellow tie and navy blue suit.

Offering evidence against his former partner, Gates described how the two men worked in Ukraine for former pro-Russian President Viktor Yanukovych, and how Yanukovych’s backers moved money from their accounts in Cyprus to Manafort.

He called the veteran Republican operative “one of the most politically brilliant strategists I’ve ever worked with.”

Prosecutors allege that Manafort financed a lavish lifestyle featuring sumptuous residences and extravagant wardrobes by using millions of dollars in profits that he hid from tax authorities then turned to bank fraud when his income started to dry up. Manafort has pleaded not guilty to all charges.

Gates outlines false expense reports, financial crimes

The defense in the case is likely to subject Gates to an intensive cross-examination after arguing during opening statements that he embezzled millions of dollars from Manafort and then turned against him under pressure from Mueller.

Gates told the jury that as part of his plea with prosecutors, he revealed several other crimes that were not previously known and that were not included in the federal indictments against him and Manafort.

Aside from admitting to the false expense reports, Gates said he also created a fake letter to an investment company for a different colleague, Steve Brown. He also over-reported his income on mortgage and credit card applications and lied to his own personal tax accountant.

Gates also said he lied in a lawsuit deposition years ago, after Manafort “asked me not to include” certain things in the deposition.

As prosecutors sought to frame their narrative about Manafort’s alleged fraud, Gates described how their firm did campaign work for Cypriot politician Kypros Chrysostomides, who was referred to as “Dr K” in court.

Bank accounts they set up on the Mediterranean island came in useful when Manafort worked for Ukrainian politicians as they allowed their billionaire oligarchs backing their campaigns in Ukraine to pay millions of dollars for his services, Gates said.

“I was the one who helped organize the paperwork and initiate the wire transfers,” Gates testified.

As well as serving as Manafort’s right-hand man in their multimillion-dollar business, Gates was also Manafort’s deputy on the Trump campaign.

His appearance represents the biggest test yet for Mueller’s investigation even though this case does not directly play into the issue of alleged cooperation by the Trump campaign in Russian election interference.

The President is watching proceedings carefully as Mueller appears to be moving closer to his inner circle on multiple fronts and has complained that Manafort has been treated like a mobster — even as the White House has tried to open up some distance between Trump and his former campaign chairman.

RELATED: Swamp on trial: Why people are hooked on the Manafort case

Monday’s court proceedings began with Manafort’s accountant Cindy Laporta completing her testimony. Last week, she said that Manafort asked her to falsify numbers related to his company’s profits. Other bookkeepers who worked with Manafort testified that he was intimately involved in all his financial dealings.

There was also testimony Monday from Paula Liss, a senior special agent with the Treasury Department’s Financial Crimes Enforcement Network, who said neither Manafort nor his wife filed paperwork declaring a financial interest or control over a foreign bank account between 2011 and 2014.

The trial resumes at 9.30 a.m. ET on Tuesday with Gates back on the stand.