A 73-year-old man who spent more than three decades in prison for a crime he said he did not commit has been released.