Paul Manafort, the former campaign chairman of President Trump, and his business associate Rick Gates both pleaded not guilty on Monday before Magistrate Judge Deborah A. Robinson of the U.S. District Court for the District of Columbia to all charges brought against them by special counsel Robert Mueller.

Manafort was released on a $10 million bond, and Gates was released on a $5 million bond.

Manafort faces 151 to 181 months in prison if convicted, and Gates faces 121 to 151 months, prosecutors said Monday.

As a condition of their release, both men are only to be allowed out of their homes to meet with their counsel or go to court, or to leave for religious or medical purposes. Both considered flight risks, Manafort and Gates had to surrender their passports and will have to check in daily with law enforcement by phone.

The two were hit with 12 counts Monday by Mueller, including evading taxes on profits made by representing Ukrainian clients, and failing to register as foreign agents. Mueller is currently investigating Russian meddling in the 2016 presidential election and possible collusion with the Trump campaign.

Following arraignment, Manafort and Gates reported for booking on the first floor of the U.S. District Court for the District of Columbia. The defendants are are due back in U.S. District Court for the District of Columbia, Thursday at 2 p.m. before Judge Amy Jackson.

Manafort, who was stoic in the courtroom, seemed jovial as he left the courthouse. He answered no questions from reporters.

Manafort's lawyer is Kevin Downing, an attorney for Miller & Chevalier specializing in tax law and white collar crime. Gates was represented by a public defender on Monday, who said his client will attempt to hire a lawyer by Thursday. Gates will also reimburse the public defender's office for any costs for the representation Monday.

Also on Monday, court documents unsealed showed George Papadopoulos pleaded guilty for making false statements to the FBI about his contacts with Russian officials while serving as a foreign policy advisor to the Trump campaign last year.