Mercy Wambua, center, the CEO of the Law Society of Kenya and other lawyers march to demand that court orders and the law are respected, following the government's deportation last week of an opposition politician in defiance of a court order that he be produced in court, in downtown Nairobi, Kenya Thursday, Feb. 15, 2018. A Kenyan judge Thursday rescinded the government orders used to deport to Canada the opposition politician Miguna Miguna over his alleged role in a mock inauguration by opposition leader Raila Odinga. (AP Photo/Ben Curtis)

Nairobi — A Kenyan judge has rescinded the orders used to deport to Canada an opposition politician over his alleged role in a mock inauguration by opposition leader Raila Odinga.

Judge Luka Kimaru has also ordered Kenya's government to return the passport confiscated from Miguna Miguna when he was deported.

Miguna was at Odinga's side when he took an oath as the "people's president" last month in a protest against President Uhuru Kenyatta's re-election.

The government responded by arresting opposition politicians and shutting down TV stations broadcasting the event.

ALSO READ: Kenya opposition supporters gather for Odinga 'swearing-in'

READ MORE: No-one will stop me from being Kenya's people's president - Odinga

Odinga claims that results in last year's August election were manipulated in Kenyatta's favor, and he boycotted a fresh vote in October after the Supreme Court nullified the first one, saying electoral reforms had not been made.

Associated Press