Nairobi Governor Mike Sonko was on Wednesday barred from accessing his as the court granted him a Sh15 million cash bail or Sh30 million bond.
While delivering the ruling, the Anti-Corruption Court Chief Magistrate Douglas Ogoti, said that he had considered all the charges levelled against the governor.
The judge barred Sonko from accessing his office and comment about the case he is facing on social media as well as other platforms.
Ogoti indicated that the detention of the governor was likely to cause unnecessary tension and unrest in Nairobi.
"On Sonko influencing supporters, Ogoti says pre-trial detention might be necessary for purposes of public order if demonstrated that accused is likely to cause unrest," he said.
Sonko was arrested on Friday while on his way to Voi.
He was first presented to the court on Monday where the judge asked for his re-appearance to be done today.
The governor pledged not guilty for the accusation embezzling Sh357 million.
After Monday’s presentation to the court, Sonko was transferred to Kamiti prison where he spent the night.
The county boss was later taken to Kenyatta hospital after falling ill overnight.
The first-time governor has alleged that his woes are politically instigated. He also denied claims that he assaulted police officers during his arrest.
The Director of Public Prosecutions (DPP) Noordin Haji had said that he has enough evidence against Sonko.
Haji was opposed to the bail term for the governor, saying he was likely to interfere with evidence.