District Judge Steven Keown imposed five months custody and put him on the sex offenders register for seven years