A police chief whose decade-long imprisonment was taken up by Venezuela's opposition has been freed from jail.

Ivan Simonovis was sentenced to jail for 30 years for aggravated murder for his role in the death of a pro-government protester who rushed to the defense of then-President Hugo Chavez, when the opposition attempted a coup in 2002.

Bony Simonovis said before dawn Saturday on Twitter that her husband was at home where he'll serve out the rest of his sentence.

In May Simonovis underwent a hunger strike to protest Venezuelan courts' refusal to grant him release on humanitarian ground because he was ill.

At the opposition's urging President Nicolas Maduro formed a medical commission to study the case but repeatedly rejected an amnesty, instead accusing Simonovis of crimes against humanity.