Ex-convict just released from prison gets two years' jail fo