12-year prison term for armed habitual criminal