Judge sentences child molester to 22 years.