Convicted felon sentenced to 22 years in prison