Kisumu, Kenya: A man, who was sentenced to seven years for keeping a toy gun, was Thursday set free by a high court in Kisumu.

Judge Esther Maina set Stephen Ochieng free citing weak and contradictory evidence against the accused, which led to his conviction two years ago.

Ochieng had been charged with possession of an imitation of a firearm, which he was accused of using to harass and threaten residents of Fanana, while in the company of a colleague.

Even though he denied the charges, the Magistrate Court found him guilty after the court heard and considered the evidence of three prosecution witnesses.

The accused filed an appeal on the grounds that the case was poorly investigated and that the burden of proof shifted to him after his key witnesses were not summoned.

He also faulted the trial magistrate court for rejecting his evidence of an alibi without giving reasons and that the omission to summon his witnesses weakened the case.

The court heard that on July 22, 2013 at Nyalenda slums in Kisumu East district, within Kisumu County, Ochieng' was found in possession of an imitation of a firearm without a firearm's certificate.