The High Court in Mombasa has set free a man who was sentenced to hang 11 years ago for an offence of attempted robbery with violence.

It found his rights were violated when he was tried, convicted and when the Appeal court sustained his conviction.

Justice Erick Ogola said Tom Ochieng’s rights were violated because he was wrongly sentenced under Section 297 (2) of the Penal Code instead of Section 389 which carries a maximum of seven years.

The judge found that the section of the Penal Code was in conflict with another which requires intervention of Parliament.

Justice Ogola asked Parliament to find out how the conflict in law can be resolved.

The judge said since the petitioner was supposed to serve seven years under the section he was found guilty in, he should be released forthwith because he had served excess years.

He explained the section of the Penal Code he was sentenced with should not have been applied.

Ochieng could not believe it when the court pronounced he was a free man.

He has spent 11 years in prison.

Earlier he attempted to be released by the Court of Appeal and High Court but failed.

In his petition Ochieng said the Section 297(2) he was charged with contradicted Section 389 of the Penal Code.

Ochieng said the sentence violated the law.