He was also a sex offender who failed to register after getting out of jail.