President Trump’s former campaign manager will remain in custody while he stands trial on tax and bank fraud charges, an appeals court ruled Tuesday as jury selection got under way.

Paul Manafort, 69, had his $10 million bond revoked last month by a federal judge who cited prosecution allegations that he tried to influence the testimony of two witnesses against him while under house arrest.

In a unanimous decision, the US District of Columbia Circuit Court of Appeals upheld that move, saying Judge Amy Berman Jackson “found that if [Manafort] had committed a new crime even while ordered not to commit a new crime, it was likely to happen again.”

The three-judge appeals panel also noted that Manafort “had been warned about ‘skating close to the line’” of a court-imposed gag order, but “failed to heed those warnings and went right past the line with the alleged witness tampering.”

Manafort is being tried in Alexandria, Virginia, on allegations he failed to report overseas bank accounts in which he stashed millions of dollars of income for advising pro-Russian former Ukrainian President Victor Yanukovych.

He’s also accused of lying to scam millions of dollars in loans.

The charges were filed by Justice Department special counsel Robert Mueller as part of his probe into Russian interference in the 2016 presidential election and suspected collusion with Trump’s campaign.

The witnesses against Manafort include his former right-hand man, Rick Gates, a former Trump campaign aide who pleaded guilty to conspiracy and lying to the FBI as part of a deal to cooperate with Mueller’s office.

Manafort also faces a second trial in Washington, DC, where Mueller plans to prosecute him on charges of conspiracy, money laundering and failing to register as an agent of a foreign government.