The High Court Thursday barred the police and any other state agencies from arresting or harassing former interior Cabinet Secretary Fred Matiangi.
Justice Kanyi Kimondo granted Matiangi an Sh200,000 personal bond.
He set the case for mentioning on February 23.
Matiangi had earlier filed a case seeking anticipatory bail.
He argued he is under imminent threat of arrest by the police and is justifiably apprehensive that his constitutional rights are being violated.
His layers Danstan Omari and Sam Nyaberi made the application in court.
This follows a failed attempt to raid a search his Karen home on Wednesday night.
The lawyers termed it harassment and a witch hunt.
Police and anti-graft agencies have denied they were involved in the said attempted search.
Officials said it could be part of a scheme to harass former government officials.
This has prompted condemnation from various quarters.
Omari said unless the orders are granted he together with his family members and people close to him will continue living in a sad state of fear and anxiety as they are not aware of when and how the police would pounce on them
He asked the court to issue conservatory order restraining the state of their servants, agents, junior officers, and/ or anybody from effecting and/or anybody from arresting, charging, harassing, or otherwise however interfering with him.
He asked the court to stop the police and government from harassing him without conducting investigations and according to him an opportunity to be heard to wit issuing him with a summons for him to appear at any offices to record statement(s) if need be.
The lawyer said on February 9 at night his home was raided, surrounded, and cordoned off by police officers who were seeking to arrest him.
He said police officers only retreated after the media and his lawyers arrived.
He said the reason for his arrest is to stop him from attending the burial of his late colleague George Magoha slated for Saturday, February 11.
Further, he claimed his harassment comes barely days after his remarks at Magoha’s home.