Judge sentences Karl Thompson to more than 4 years in prison